-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
35 lines (35 loc) · 1.06 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
35
{
"extends": ["webpack", "eslint:recommended"],
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"array-bracket-spacing": "warn",
"comma-dangle": "off",
"eol-last": "off",
"func-names": "off",
"import/extensions": "off",
"import/first": "off",
"import/no-mutable-exports": "off",
"import/order": "off",
"import/prefer-default-export": "off",
"indent": "off",
"key-spacing": ["warn", { "beforeColon": false }],
"linebreak-style": "off",
"no-nested-ternary": "off",
"no-shadow": "off",
"no-trailing-spaces": "off",
"no-undef": "off",
"no-underscore-dangle": "off",
"no-unused-vars": "off",
"no-var": "off",
"object-curly-spacing": "off",
"object-shorthand": "off",
"padded-blocks": "off",
"prefer-arrow-callback": "off",
"space-before-function-paren": "warn",
"quote-props": "off",
"quotes": ["warn", "single"],
"vars-on-top": ["warn"]
}
}