-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.json
66 lines (66 loc) · 2.29 KB
/
.eslintrc.json
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
{
"root": true,
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:unicorn/recommended",
"react-app",
"prettier",
"plugin:prettier/recommended"
],
"plugins": ["unicorn", "@emotion"],
"rules": {
"@emotion/jsx-import": "error",
"@emotion/pkg-renaming": "error",
"@emotion/no-vanilla": "error",
"@emotion/import-from-emotion": "error",
"@emotion/styled-import": "error",
"@typescript-eslint/no-var-requires": "off",
"unicorn/prefer-module": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"import/no-unresolved": "off",
"import/named": "off",
"import/namespace": "warn",
"import/no-named-as-default": "off",
"import/export": "warn",
"import/order": [
"error",
{
"groups": ["builtin", "external", "parent", "sibling", "index"],
"newlines-between": "never",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
"unicorn/catch-error-name": "off",
"unicorn/consistent-destructuring": "off",
"unicorn/custom-error-definition": "off",
"unicorn/filename-case": "off",
"unicorn/import-index": "off",
"unicorn/no-abusive-eslint-disable": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-console-spaces": "off",
"no-nested-ternary": "off",
"unicorn/no-nested-ternary": "off",
"unicorn/no-null": "off",
"unicorn/no-useless-undefined": "off",
"unicorn/prefer-array-flat": "off",
"unicorn/prefer-export-from": "off",
"unicorn/prefer-includes": "off",
"unicorn/prefer-query-selector": "off",
"unicorn/prefer-spread": "off",
"unicorn/prevent-abbreviations": "off",
"unicorn/numeric-separators-style": "off",
"unicorn/no-array-for-each": "off",
"unicorn/consistent-function-scoping": "off"
}
}