-
Notifications
You must be signed in to change notification settings - Fork 105
/
.eslintrc
74 lines (74 loc) · 1.86 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
{
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:import/typescript",
"plugin:jsx-a11y/recommended",
"plugin:prettier/recommended",
"prettier"
],
"plugins": [
"@typescript-eslint",
"react",
"react-hooks",
"prettier",
"jsx-a11y",
"import"
],
"parser": "@typescript-eslint/parser",
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-var-requires": "off",
"import/order": ["warn", {
"alphabetize": {
"order": "asc"
},
"pathGroups": [
{
"pattern": "src/**",
"group": "internal",
"position": "after"
},
{
"pattern": "snap-redux/**",
"group": "internal",
"position": "before"
},
{
"pattern": "stories/**",
"group": "internal"
}
],
"groups": ["builtin", "external", "internal", "parent", "sibling", "unknown"],
"newlines-between": "always"
}],
"import/no-named-as-default-member": "off",
"import/extensions": ["off", "never"],
"import/no-extraneous-dependencies": [
"error",
{
"packageDir": ["./"],
"devDependencies": true
}
],
"import/prefer-default-export": 0,
"prettier/prettier": ["warn", {
"singleQuote": true,
"jsxSingleQuote": true,
"semi": false
}],
"jsx-a11y/no-onchange": "off",
"sort-class-members/sort-class-members": "off",
"react/prop-types": "off",
"array-callback-return": "off",
"no-process-env": "off",
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}],
"function-paren-newline": "off",
"react/no-typos": "off",
"react/no-unused-state": "off"
}
}