-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.eslintrc.json
More file actions
80 lines (76 loc) · 1.61 KB
/
.eslintrc.json
File metadata and controls
80 lines (76 loc) · 1.61 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
{
"extends": [
"airbnb",
"airbnb/hooks"
],
"globals": {
"document": true,
"window": true
},
"rules": {
"array-bracket-spacing": [
"error",
"always"
],
"arrow-parens": [
"error",
"as-needed"
],
"brace-style": [
"error",
"stroustrup",
{
"allowSingleLine": true
}
],
"class-methods-use-this": 0,
"global-require": 0,
"jsx-a11y/alt-text": 0,
"jsx-a11y/label-has-associated-control": [ "error", {
"labelComponents": ["FormLabel"],
"labelAttributes": ["text"],
"controlComponents": [
"FormTextArea",
"FormTextInput",
"FormSelect"
],
"depth": 3
}],
"no-continue": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-underscore-dangle": 0,
"no-useless-constructor": 0,
"react/jsx-curly-spacing": [
"error",
{"when": "always", "children": true}
],
"react/jsx-props-no-spreading": 0,
"max-classes-per-file": 0,
"react/state-in-constructor": 0,
"react/prop-types": 0,
"wrap-iife": 0
},
"parser": "babel-eslint",
"settings": {
"import/resolver": {
"alias": {
"map": [
["Assets", "./src/assets"],
["Components", "./src/components"],
["Data", "./data"],
["Layouts", "./src/layouts"],
["Pages", "./src/pages"],
["Polyfills", "./src/polyfills"],
["Styles", "./src/styles"],
["Utils", "./src/utils"]
],
"extensions": [
".js",
".jsx",
".json"
]
}
}
}
}