-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
88 lines (88 loc) · 2.09 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"env": {
"browser": true,
"node": true,
"jest/globals": true,
"es6": true
},
"globals": {
"document": false
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"settings": {
"react": {
"pragma": "React",
"version": "^16.5.2"
}
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2017,
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"react",
"jest",
"import"
],
"rules": {
"arrow-spacing": [2,{"before":true,"after":true}],
"brace-style": [2,"stroustrup",{}],
"comma-dangle": [1,"always-multiline"],
"comma-spacing": [2,{"before":false,"after":true}],
"curly": [2,"all"],
"import/no-default-export": 2,
"indent": [2,"tab",{"SwitchCase":1}],
"linebreak-style": [2,"unix"],
"lines-around-comment": [1,{"beforeBlockComment":true,"beforeLineComment":true,"allowBlockStart":true}],
"no-array-constructor": 1,
"no-cond-assign": [2,"except-parens"],
"no-console": 1,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 2,
"no-extra-parens": [1,"all",{"ignoreJSX":"all"}],
"no-extra-semi": 2,
"no-fallthrough": 2,
"no-func-assign": 2,
"no-inner-declarations": [2,"functions"],
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-lonely-if": 1,
"no-mixed-spaces-and-tabs": [2,"smart-tabs"],
"no-multiple-empty-lines": [1,{"max":1}],
"no-negated-in-lhs": 2,
"no-obj-calls": 2,
"no-path-concat": 1,
"no-redeclare": 2,
"no-regex-spaces": 2,
"no-sparse-arrays": 2,
"no-trailing-spaces": 2,
"no-undef": 2,
"no-unreachable": 2,
"no-unused-vars": 1,
"no-var": 2,
"object-curly-spacing": [2,"always"],
"one-var": [2,"never"],
"prefer-const": 1,
"prefer-spread": 1,
"quotes": [2,"single",{"avoidEscape": true, "allowTemplateLiterals": true}],
"semi": [2,"always"],
"space-before-function-paren": [2,"never"],
"spaced-comment": [1,"always"],
"use-isnan": 2,
"valid-jsdoc": [1,{"requireReturn":false}],
"valid-typeof": 2
}
}