-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.cjs
More file actions
24 lines (24 loc) · 742 Bytes
/
.eslintrc.cjs
File metadata and controls
24 lines (24 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module.exports = {
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
],
parser: "@typescript-eslint/parser",
parserOptions: {
sourceType: "module",
tsconfigRootDir: __dirname,
project: ["./tsconfig.json"],
},
plugins: ["@typescript-eslint"],
rules: {
"require-await": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/require-await": "error",
"@typescript-eslint/no-unsafe-member-access":"off",
"@typescript-eslint/no-unsafe-assignment":"off",
//"@typescript-eslint/no-unsafe-assignment":"off"
},
root: true,
};