grunt-geojsonhint:运行 geojsonhint 的 Grunt 任务

时间:2021-06-28 14:49:11
【文件属性】:
文件名称:grunt-geojsonhint:运行 geojsonhint 的 Grunt 任务
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-28 14:49:11
JavaScript grunt-geojsonhint 运行Grunt 任务。 用法 安装插件: npm install grunt-geojsonhint --save-dev ,将它添加到你的Gruntfile.js : grunt.loadNpmTasks('grunt-geojsonhint'); , 为要 lint 的文件添加目标: geojsonhint: { files: [ 'node_modules/geojsonhint/test/data/good/*.geojson' ] } 示例Gruntfile.js : module . exports = function ( grunt ) { grunt . initConfig ( { geojsonhint : { good : [ 'node_modules/geojsonhint/test/da
【文件预览】:
grunt-geojsonhint-master
----package.json(652B)
----tasks()
--------geojsonhint.js(820B)
----Gruntfile.js(477B)
----README.md(762B)
----.jshintrc(402B)

网友评论