-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.eslintrc.js
More file actions
30 lines (29 loc) · 1.04 KB
/
Copy path.eslintrc.js
File metadata and controls
30 lines (29 loc) · 1.04 KB
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
// This is a workaround for https://github.com/eslint/eslint/issues/3458
require("@rushstack/eslint-config/patch/modern-module-resolution");
module.exports = {
extends: [
"./node_modules/@recreando/eslint-settings/react",
],
parserOptions: { tsconfigRootDir: __dirname, },
rules: {
"no-unused-expressions": "off",
"sort-imports": "off",
"no-unused-vars": "off",
"import/no-cycle": "off",
"@typescript-eslint/no-unused-vars": ["error", { "varsIgnorePattern": "React" }],
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-argument":"off",
"@typescript-eslint/await-thenable": "off",
"@typescript-eslint/no-misused-promises": "off",
"no-async-promise-executor":"off",
"noUnusedLocals": "off",
"no-unused-vars": "off",
"noUnusedParameters": "off",
"no-unused-variable":1,
"class-methods-use-this":"off",
"react/no-multi-comp": "off",
"guard-for-in": "off",
"no-restricted-syntax":"off"
},
};