npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

grunt-geojsonhint

0.0.4 • Public • Published

grunt-geojsonhint

Grunt task to run geojsonhint.

Usage

Install the plugin: npm install grunt-geojsonhint --save-dev, add it to your Gruntfile.js: grunt.loadNpmTasks('grunt-geojsonhint');, add a target for the files you want to lint:

geojsonhint: {
    files: [
        'node_modules/geojsonhint/test/data/good/*.geojson'
    ]
}

Example Gruntfile.js:

module.exports = function (grunt) {
    grunt.initConfig({
        geojsonhint: {
            good: [
                'node_modules/geojsonhint/test/data/good/*.geojson'
            ],
            bad: [
                'node_modules/geojsonhint/test/data/bad/*.geojson'
            ]
        }
    });
 
    grunt.loadNpmTasks('grunt-geojsonhint');
 
    grunt.registerTask('default', ['geojsonhint']);
}

install

npm i grunt-geojsonhint

Downloadsweekly downloads

7

version

0.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability