-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
52 lines (52 loc) · 1.47 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
{
"root": true,
"extends": ["react-app", "airbnb", "plugin:jsx-a11y/recommended", "plugin:prettier/recommended"],
"plugins": ["simple-import-sort"],
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"jsx-a11y/label-has-associated-control": [1, { "assert": "htmlFor" }],
"jsx-a11y/label-has-for": [1, {
"required": {
"some": ["nesting", "id"]
}
}],
"import/order": [
1,
{
"groups": ["builtin", "external", ["parent", "sibling", "index"]],
"pathGroups": [
{
"pattern": "react",
"group": "external",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": ["react"],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
"prettier/prettier": [2, { "endOfLine": "auto" }],
"no-unused-vars": 1,
"no-var": 2,
"no-console": 1,
"no-debugger": 1,
"no-param-reassign": 1,
"no-use-before-define": [1, { "variables": false }],
"import/prefer-default-export": 1,
"react/jsx-props-no-spreading": 0,
"import/no-unresolved": 0,
"no-unused-expressions": 0,
"no-continue": 0,
"consistent-return": 0,
"react/function-component-definition": 0,
"default-case": 0,
"import/no-cycle": 0,
"react/jsx-no-useless-fragment": 0,
"no-shadow": 0,
"react/jsx-boolean-value": 0
}
}