-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
33 lines (33 loc) · 894 Bytes
/
.eslintrc.js
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
module.exports = {
extends: ["auto"],
rules: {
"simple-import-sort/imports": "off",
"react/destructuring-assignment": "off",
"unicorn/no-array-callback-reference": "off",
"unicorn/no-array-reduce": "off",
"@typescript-eslint/no-use-before-define": "off",
"unicorn/prefer-regexp-test": "off",
"no-secrets/no-secrets": "off",
"no-console": "off",
"import/prefer-default-export": "off",
},
overrides: [
{
files: ["*.js"],
rules: {
"unicorn/prefer-module": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
},
},
{
files: ["scripts/**"],
rules: {
"unicorn/prefer-module": "off",
"no-console": "off",
"unicorn/import-style": "off",
"unicorn/prefer-node-protocol": "off",
},
},
],
};