forked from chakra-ui/chakra-ui-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
36 lines (36 loc) · 776 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
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"prettier",
"next"
],
"plugins": ["@typescript-eslint", "import"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"react/react-in-jsx-scope": "off",
"react/display-name": "off",
"@next/next/no-img-element": "off",
"no-console": "off",
"import/no-named-as-default": "off",
"import/namespace": [
"error",
{
"allowComputed": true
}
],
"import/no-unresolved": "off"
},
"parserOptions": {
"project": "tsconfig.json"
},
"settings": {
"import/resolver": {
"typescript": {
"alwaysTryTypes": true
}
}
}
}