-
Notifications
You must be signed in to change notification settings - Fork 24
/
.eslintrc
35 lines (35 loc) · 974 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
{
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
},
"project": "./tsconfig.json"
},
"env": {
"browser": true
},
"plugins": ["@typescript-eslint/eslint-plugin", "@emotion/eslint-plugin"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"plugin:@next/next/recommended",
"prettier"
],
"rules": {
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/array-type": [1, { "default": "array-simple" }],
"@typescript-eslint/no-unused-vars": 0,
"no-console": "warn",
"@typescript-eslint/explicit-module-boundary-types": "off"
},
"overrides": [
{
"files": ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)"],
"extends": ["plugin:testing-library/react", "plugin:jest-dom/recommended"]
}
]
}