-
Notifications
You must be signed in to change notification settings - Fork 115
Expand file tree
/
Copy path.eslintrc
More file actions
35 lines (35 loc) · 950 Bytes
/
.eslintrc
File metadata and controls
35 lines (35 loc) · 950 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
31
32
33
34
35
{
"extends": ["eslint-config-unjs"],
"rules": {
"unicorn/no-null": "off",
"require-await": "error",
"unicorn/filename-case": "off",
"unicorn/no-process-exit": "error",
"unicorn/prefer-ternary": "error",
"unicorn/prefer-top-level-await": "off",
"no-useless-constructor": "error",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
},
],
"@typescript-eslint/no-namespace": "error",
"camelcase": "off",
"unicorn/prefer-code-point": "error",
"unicorn/prefer-string-slice": "off",
"unicorn/prefer-at": "off",
"unicorn/explicit-length-check": "off",
"unicorn/prefer-set-has": "off",
"no-empty": [
"error",
{
"allowEmptyCatch": true,
},
],
"prefer-const": "error",
"unicorn/no-empty-file": "error",
"@typescript-eslint/no-non-null-assertion": "off",
},
}