-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patheslint.config.js
More file actions
30 lines (29 loc) · 915 Bytes
/
eslint.config.js
File metadata and controls
30 lines (29 loc) · 915 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
25
26
27
28
29
30
const tseslint = require("typescript-eslint");
module.exports = tseslint.config(
{
ignores: ["lib/", "node_modules/"],
},
...tseslint.configs.recommended,
{
languageOptions: {
ecmaVersion: 2020,
sourceType: "module",
},
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
],
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/no-unsafe-function-type": "off",
"@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-array-constructor": "off",
"no-empty": "off",
"prefer-rest-params": "off",
},
}
);