-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
93 lines (93 loc) · 1.97 KB
/
Copy path.eslintrc.json
File metadata and controls
93 lines (93 loc) · 1.97 KB
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
89
90
91
92
93
{"extends": "airbnb",
"plugins": [
"react",
"jsx-a11y",
"import"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true,
"experimentalObjectRestSpread": true
}
},
"rules": {
"max-len": [
1,
160,
2,
{
"ignoreComments": true
}
],
"comma-dangle": [
1,
"never"
],
"key-spacing": [
0,
{
"beforeColon": true,
"afterColon": true
}
],
"new-cap": 0,
"no-param-reassign": 0,
"no-unused-vars": ["error", { "args": "none" }],
"space-before-function-paren": [
0,
"always"
],
"object-curly-spacing": [
1,
"always"
],
"react/jsx-quotes": [
0,
"single"
],
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"jsx-quotes": [
2,
"prefer-single"
],
"quote-props": [
1,
"consistent-as-needed"
],
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"react/prefer-es6-class": 0,
"react/sort-comp": 0,
"import/first": 0,
"arrow-parens": [
"error",
"as-needed"
],
"react/forbid-prop-types": 0,
"no-underscore-dangle": 0,
"arrow-body-style": 0,
"jsx-a11y/label-has-for": 0,
"react/jsx-no-target-blank": 0,
"consistent-return": 0
},
"env": {
"browser": true
}
}