-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
31 lines (31 loc) · 1017 Bytes
/
.eslintrc
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
{
"root": true,
"parser": "@typescript-eslint/parser",
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"prettier/prettier": "warn",
"prefer-template": "error",
"default-case": "error",
"prefer-const": "error",
"prefer-destructuring": "off",
"no-return-await": "error",
"no-case-declarations": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-unused-vars": "warn"
},
"parserOptions": {
"project": "tsconfig.eslint.json",
"ecmaVersion": "latest",
"sourceType": "module"
},
"ignorePatterns": ["node_modules"],
"env": {
"node": true,
"commonjs": true,
"es2022": true
}
}