Use eslint and be compliant. (mostly)
This commit is contained in:
parent
3bc428b2a7
commit
0c54e12445
20
.eslintrc.json
Normal file
20
.eslintrc.json
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"extends": "google",
|
||||||
|
"installedESLint": true,
|
||||||
|
"rules": {
|
||||||
|
"indent": ["error", 4]
|
||||||
|
},
|
||||||
|
"plugins": [
|
||||||
|
"angular",
|
||||||
|
"html",
|
||||||
|
"jquery",
|
||||||
|
"security",
|
||||||
|
"this"
|
||||||
|
],
|
||||||
|
"globals": {
|
||||||
|
"angular": false,
|
||||||
|
"moment": false,
|
||||||
|
"Highcharts": false,
|
||||||
|
"$": false
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user