Add jsonlint dependency.

This commit is contained in:
Alexis Lahouze 2016-10-14 18:18:48 +02:00
parent 727b2fc313
commit dbef4039bd
3 changed files with 13 additions and 20 deletions

View File

@ -1,20 +0,0 @@
{
"extends": "google",
"installedESLint": true,
"rules": {
"indent": ["error", 4]
},
"plugins": [
"angular",
"html",
"jquery",
"security",
"this"
],
"globals": {
"angular": false,
"moment": false,
"Highcharts": false,
"$": false
}
}

12
grunt-config/jsonlint.js Normal file
View File

@ -0,0 +1,12 @@
'use strict';
module.exports = {
toolchain: {
src: ['.eslintrc.json', 'package.json', 'bower.json'],
options: {
formatter: 'prose',
reporter: 'jslint',
indent: 2
}
}
};

View File

@ -31,6 +31,7 @@
"grunt-include-source": "^0.7.1",
"grunt-jscs": "^2.7.0",
"grunt-newer": "^1.1.1",
"grunt-jsonlint": "^1.1.0",
"grunt-ng-annotate": "~2.0",
"grunt-shell": "^1.1.2",
"grunt-usemin": "^3.1.1",