vfile to eslint:实用程序可转换为与ESLint格式化程序兼容的输出 源码
vfile-to-eslint 将转换为格式化程序兼容的输出。 例如, 返回一个VFile ,您可以通过该模块使用ESLint格式化程序显示它。 安装 : npm install vfile-to-eslint 利用 const remark = require ( 'remark' ) const recommended = require ( 'remark-preset-lint-recommended' ) const eslintFormatterPretty = require ( 'eslint-formatter-pretty' ) const vfileToEslin
下载地址
用户评论