Add jshintrc.
This commit is contained in:
parent
9a4b4a61ee
commit
137a78457c
22
.jshintrc
Normal file
22
.jshintrc
Normal 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
|
||||
}
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
module.exports = {
|
||||
options: {
|
||||
jshintrc: '.jshintrc',
|
||||
reporter: require('jshint-stylish')
|
||||
},
|
||||
frontend_js: [
|
||||
|
Loading…
Reference in New Issue
Block a user