文件名称:lint-readme-code:自述文件中的皮棉代码
文件大小:4KB
文件格式:ZIP
更新时间:2024-05-23 04:54:11
JavaScript
皮棉自述代码 自述文件中的皮棉代码 这个想法是从您的readme.md文件中提取代码块并运行所需的lint并报告错误! 安装 $ npm install --save lint-readme-code 用法 const lintReadmeCode = require ( 'lint-readme-code' ) ; lintReadmeCode ( ) . then ( report => console . log ( 'lint report' ) ) . catch ( err => console . error ( err ) ) 原料药 lintReadmeCode([readmePath]) readmePath 类型: string默认值: ./readme.md 您的readme.md路径 命令行界面 $ npm install --global lint-rea
【文件预览】:
lint-readme-code-master
----.gitignore(13B)
----package.json(748B)
----cli.js(428B)
----.travis.yml(40B)
----index.js(477B)
----test.js(173B)
----license(1KB)
----readme.md(1KB)
----.gitattributes(12B)
----.editorconfig(231B)