Socket
Book a DemoInstallSign in
Socket

grunt-geojsonhint

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-geojsonhint

Grunt task to run geojsonhint

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

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

Keywords

geojson

FAQs

Package last updated on 27 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts