A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jieter/grunt-geojsonhint below:

jieter/grunt-geojsonhint: Grunt task to run geojsonhint

Grunt task to run geojsonhint.

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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4