Add jshintrc.

This commit is contained in:
Alexis Lahouze 2016-02-08 00:27:43 +01:00
parent 9a4b4a61ee
commit 137a78457c
2 changed files with 23 additions and 0 deletions

22
.jshintrc Normal file
View File

@ -0,0 +1,22 @@
{
"bitwise": true,
"browser": true,
"curly": true,
"eqeqeq": true,
"esnext": true,
"latedef": true,
"noarg": true,
"node": true,
"strict": true,
"undef": true,
"unused": true,
"quotmark": "single",
"indent": 2,
"jquery": true,
"globals": {
"angular": false,
"moment": false,
"bootbox": false,
"Highcharts": false
}
}

View File

@ -1,5 +1,6 @@
module.exports = { module.exports = {
options: { options: {
jshintrc: '.jshintrc',
reporter: require('jshint-stylish') reporter: require('jshint-stylish')
}, },
frontend_js: [ frontend_js: [