-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
63 lines (63 loc) · 1.82 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
{
"parser": "@typescript-eslint/parser",
"env": {
"es6": true
},
"settings": {
"react": {
"pragma": "React",
"version": "detect"
}
},
"extends": [
"plugin:@next/next/recommended",
// "plugin:@typescript-eslint/recommended",
"plugin:jsx-a11y/recommended",
"plugin:react-hooks/recommended",
"plugin:styled-components-a11y/recommended",
"plugin:prettier/recommended",
"plugin:react-hooks/recommended"
],
"plugins": [
"better-styled-components",
"styled-components-a11y",
"simple-import-sort",
"import",
"jsx-a11y",
"@typescript-eslint",
"prettier"
],
"parserOptions": {
"ecmaVersion": 2018, // Allows for the parsing of modern ECMAScript features
"sourceType": "module" // Allows for the use of imports
},
"rules": {
"sort-imports": "off",
"import/first": "warn",
"import/newline-after-import": "warn",
"import/no-duplicates": "warn",
"import/order": "off",
"prettier/prettier": "off",
"@typescript-eslint/no-non-null-assertion": 0,
// "better-styled-components/sort-declarations-alphabetically": 1,
"@typescript-eslint/explicit-function-return-type": 0,
// "no-console": 2,
"react/no-unescaped-entities": 0,
"jsx-a11y/label-has-associated-control": 0,
"ban-ts-ignore": 0,
"react/prop-types": 0,
"react/display-name": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
// "sort-keys": [1, "asc", { "caseSensitive": true, "natural": false, "minKeys": 2 }],
// "react-hooks/exhaustive-deps": 0,
"no-case-declarations": 0,
"jsx-a11y/label-has-for": 0,
"vachev/styled-component-format": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/anchor-has-content": "off",
"jsx-a11y/heading-has-content": "off"
},
"globals": {
"React": "writable"
}
}