-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.cjs
36 lines (36 loc) · 1.09 KB
/
.eslintrc.cjs
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
module.exports = {
extends: [
"@kachkaev/eslint-config-react",
"@kachkaev/eslint-config-react/extra-type-checking",
"plugin:@next/next/recommended",
],
rules: {
"@next/next/no-img-element": "off",
},
overrides: [
{
files: ["src/components/inherited-map/**/*.js"],
env: {
browser: true,
},
},
{
files: ["src/components/inherited-map/**"],
rules: {
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-use-before-define": "off",
"no-param-reassign": "off",
"unicorn/consistent-destructuring": "off",
"unicorn/consistent-function-scoping": "off",
"unicorn/no-array-callback-reference": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-null": "off",
},
},
],
};