-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
45 lines (45 loc) · 1.09 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
{
"extends": [
"plugin:@typescript-eslint/recommended",
"airbnb",
"airbnb-typescript",
"next/core-web-vitals",
"plugin:storybook/recommended",
"prettier",
"plugin:import/recommended",
"plugin:import/typescript"
],
"rules": {
"sort-imports": ["error", { "ignoreDeclarationSort": true }],
"import/order": [
"error",
{
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
},
"groups": [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index"
]
}
],
"react/require-default-props": "off",
"@typescript-eslint/no-use-before-define": "off",
"react/jsx-props-no-spreading": "off",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }]
},
"settings": {
"import/external-module-folders": [".yarn"]
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
}
}