【文件属性】:
文件名称:jest-runner-remark:Jest runner 运行 remark-lint
文件大小:119KB
文件格式:ZIP
更新时间:2021-07-24 05:47:47
lint markdown remark jest linter
开玩笑的评论
Remark 的 Jest runner。
用法
配置 remark-lint
jest-runner-remark最好与remark-lint配置一起使用。 在继续之前,请参阅有关的文档。
安装 jest-runner-remark
安装jest和jest-runner-remark
npm install --save-dev jest jest-runner-remark
# or with yarn
yarn add --dev jest jest-runner-remark
将它添加到你的 Jest 配置中
使用内置预设
这个包包含一个,它配置 Jest 以在 Remark 支持的所有文件上运行 Remark。 要使用它,请在 package.json 中设置以下内容:
{
" jest " : {
" preset " : " jest-ru
【文件预览】:
jest-runner-remark-master
----.gitignore(1KB)
----package.json(1KB)
----commitlint.config.js(67B)
----package-lock.json(568KB)
----src()
--------run.js(2KB)
--------index.js(121B)
----jest.config.js(239B)
----.github()
--------workflows()
----README.md(2KB)
----jest-preset.js(302B)
----.dependabot()
--------config.yml(309B)