forked from CamiloCJ09/alienfrontend
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
35 lines (35 loc) · 940 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"allowImportExportEverywhere": true,
"sourceType": "module"
},
"rules": {
"no-multiple-empty-lines": [2, { "max": 2, "maxEOF": 1 }],
"no-mixed-operators": 0,
"no-debugger": 0,
"no-const-assign": "warn",
"no-this-before-super": "warn",
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": "warn",
"constructor-super": "warn",
"valid-typeof": "warn"
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
"extends": "standard",
// required to lint *.vue files
"plugins": [
"html"
]
}
// http://eslint.org/docs/user-guide/configuring