grunt-eslint:使用ESLint验证文件

时间:2021-02-05 07:04:51
【文件属性】:
文件名称:grunt-eslint:使用ESLint验证文件
文件大小:51KB
文件格式:ZIP
更新时间:2021-02-05 07:04:51
nodejs eslint linter npm-package grunt-plugin 咕es声 使用验证文件 安装 $ npm install --save-dev grunt-eslint 用法 require ( 'load-grunt-tasks' ) ( grunt ) ; grunt . initConfig ( { eslint : { target : [ 'file.js' ] } } ) ; grunt . registerTask ( 'default' , [ 'eslint' ] ) ; 例子 自定义配置和规则 grunt . initConfig ( { eslint : { options : { configFile : 'co
【文件预览】:
grunt-eslint-main
----gruntfile.js(697B)
----conf()
--------eslint.json(53B)
--------rules()
----package.json(719B)
----tasks()
--------eslint.js(1KB)
----readme.md(1KB)
----.github()
--------funding.yml(113B)
--------workflows()
----test()
--------fixture()
----license(1KB)
----screenshot.png(45KB)
----.gitignore(23B)
----.npmrc(19B)
----.editorconfig(175B)
----.gitattributes(19B)

网友评论