brandonramirez/grunt-jsonlint

Option to validate all files in directory

Closed this issue · 2 comments

It would be good if there was an option to validate all files in a directory

Did you tried this one? We do this in our projects.

jsonlint: {
	sample: {
		src: [
			'./**/*.json'
		]
	}
},

@HolgerJeromin is right - selecting which files to work on is handled by grunt. A wildcard like @HolgerJeromin showed will work.