-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
42 lines (42 loc) · 977 Bytes
/
.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
{
"extends": [
"airbnb",
"airbnb-typescript",
"airbnb/hooks",
"plugin:@next/next/recommended",
"prettier"
// "plugin:tailwindcss/recommended"
],
// "plugins": ["simple-import-sort", "import", "tailwindcss"],
"plugins": ["simple-import-sort", "import"],
"parserOptions": {
"project": "./tsconfig.json"
},
"globals": {
"React": "readonly"
},
"rules": {
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"import/first": "error",
"import/newline-after-import": "error",
"import/no-duplicates": "error",
"react/function-component-definition": [
"error",
{
"namedComponents": "arrow-function",
"unnamedComponents": "arrow-function"
}
],
"react/jsx-props-no-spreading": "off",
"import/extensions": [
"error",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
}
}