-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.cjs
32 lines (32 loc) · 1019 Bytes
/
.eslintrc.cjs
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
module.exports = {
"root": true,
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": ["/**/*.test.ts", "/**/lib/", "/**/frontend/build", "/**/frontend/dist", "/**/test-utils/"],
"rules": {
"no-mixed-spaces-and-tabs": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/prefer-as-const": "off",
"@typescript-eslint/no-empty-interface": "off",
"no-useless-escape": "off",
"no-return-await": "error",
"@typescript-eslint/no-unsafe-declaration-mergin": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-unsafe-declaration-merging": "off"
},
}