Revision e543253c
Von Sven Schöling vor mehr als 3 Jahren hinzugefügt
.eslintrc.js | ||
---|---|---|
1 |
module.exports = { |
|
2 |
"env": { |
|
3 |
"browser": true, |
|
4 |
"es6": true, |
|
5 |
"jquery": true |
|
6 |
}, |
|
7 |
"extends": "eslint:recommended", |
|
8 |
"parserOptions": { |
|
9 |
"ecmaVersion": 2015 |
|
10 |
}, |
|
11 |
"rules": { |
|
12 |
"indent": [ |
|
13 |
"error", |
|
14 |
2 |
|
15 |
], |
|
16 |
"linebreak-style": [ |
|
17 |
"error", |
|
18 |
"unix" |
|
19 |
], |
|
20 |
"semi": [ |
|
21 |
"error", |
|
22 |
"always" |
|
23 |
], |
|
24 |
"no-console": [ |
|
25 |
"error", |
|
26 |
{ |
|
27 |
"allow": [ |
|
28 |
"warn", |
|
29 |
"error" |
|
30 |
], |
|
31 |
} |
|
32 |
] |
|
33 |
}, |
|
34 |
"globals": { |
|
35 |
"namespace": true, |
|
36 |
"kivi": true |
|
37 |
}, |
|
38 |
}; |
|
39 |
|
Auch abrufbar als: Unified diff
.eslint.rc