forked from qunitjs/qunit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
32 lines (32 loc) · 971 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
{
"env": {
"es6": true
},
"extends": "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-const-assign": "error",
"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"]
}
}