-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
29 lines (29 loc) · 870 Bytes
/
.eslintrc.json
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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["prettier", "@typescript-eslint", "import", "vitest"],
"extends": [
"eslint:recommended",
"prettier",
"plugin:@typescript-eslint/recommended",
"plugin:vitest/recommended"
],
"env": {
"node": true
},
"parserOptions": {
"project": ["./tsconfig.json"]
},
"rules": {
"import/no-default-export": "error",
"no-console": "error",
"no-process-env": "error",
"vitest/no-disabled-tests": "error",
"vitest/no-focused-tests": "error",
"@typescript-eslint/no-unused-vars": [1, { "argsIgnorePattern": "^_" }],
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/ban-ts-comment": "error",
"@typescript-eslint/strict-boolean-expressions": "error"
}
}