-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
53 lines (52 loc) · 1.05 KB
/
.eslintrc
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"extends": [
"eslint:recommended",
"google"
],
"plugins": [
"jest"
],
"settings": {},
"rules": {
"arrow-parens": "warn",
"comma-dangle": "warn",
"curly": "off",
"guard-for-in": "off",
"indent": "off",
"linebreak-style": "off",
"max-len": "off",
"no-console": "off",
"no-duplicate-imports": [
"error",
{
"includeExports": false
}
],
"no-negated-condition" : "off",
"no-nested-ternary": "off",
"no-throw-literal": "off",
"no-undef": "warn",
"no-unused-vars": "warn",
"no-warning-comments": "warn",
"padded-blocks": "warn",
"prefer-const": "warn",
"quotes": "warn",
"quote-props": "warn",
"radix": "off",
"semi": ["error", "always", {"omitLastInOneLineBlock": true}],
"space-before-function-paren": "off"
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"modules": true
}
},
"env": {
"browser": true,
"node": true,
"es6": true,
"jest/globals": true
}
}