forked from jlmakes/karma-rollup-preprocessor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
32 lines (32 loc) · 970 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,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"arrow-spacing": 2,
"array-bracket-spacing": [2, "never", { "arraysInArrays": true }],
"block-spacing": 2,
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"comma-dangle": [2, "always-multiline"],
"comma-spacing": [2, { "before": false, "after": true }],
"eol-last": [2, "always"],
"indent": [2, "tab", { "SwitchCase": 1 }],
"key-spacing": 2,
"keyword-spacing": 2,
"no-cond-assign": 2,
"no-const-assign": 2,
"no-trailing-spaces": 2,
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"no-var": 2,
"object-curly-spacing": [2, "always"],
"object-shorthand": [2, "always"],
"semi": [2, "never"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "always"],
"space-in-parens": [2, "never"],
"quote-props": [2, "as-needed"],
"quotes": [2, "single"]
}
}