-
-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathrslint.jsonc
More file actions
39 lines (39 loc) · 1.57 KB
/
rslint.jsonc
File metadata and controls
39 lines (39 loc) · 1.57 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
31
32
33
34
35
36
37
38
39
[
{
"language": "javascript",
"languageOptions": {
"parserOptions": {
"project": [
"./packages/core/tsconfig.json",
"./packages/create-rslib/tsconfig.json",
"./packages/plugin-dts/tsconfig.json",
],
},
},
"ignores": ["**/compiled/**"],
"plugins": ["@typescript-eslint"],
// We should fix the corresponding code according to the following rules and gradually enable more rules.
"rules": {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-type-assertion": "off",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/consistent-type-imports": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/consistent-return": "off",
"@typescript-eslint/consistent-generic-constructors": "off",
"@typescript-eslint/promise-function-async": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-inferrable-types": "off",
},
},
]