0.0.4 • Published 9 years ago

grunt-geojsonhint v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

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']);
}
0.0.4

9 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago