forked from qunitjs/qunit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
34 lines (34 loc) · 1.07 KB
/
.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
{
"env": {
"es6": true
},
"extends": ["eslint:recommended", "jquery"],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"arrow-spacing": ["error", { "before": true, "after": true }],
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"constructor-super": "error",
"indent": ["error", "tab", {
"CallExpression": {
"arguments": 1
},
"MemberExpression": 1,
"SwitchCase": 0,
"outerIIFEBody": 1
}],
"no-console": "off",
"no-const-assign": "error",
"no-constant-condition": ["error", { "checkLoops": false }],
"no-dupe-class-members": "error",
"no-duplicate-imports": "error",
"no-multi-spaces": ["error", { "ignoreEOLComments": true }],
"no-this-before-super": "error",
"no-useless-constructor": "error",
"no-useless-rename": "error",
"prefer-const": "error",
"rest-spread-spacing": ["error", "never"],
"wrap-iife": ["error", "any"]
}
}