forked from surrealdb/surrealist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (45 loc) · 1.36 KB
/
.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"unused-imports",
"unicorn"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:unicorn/recommended"
],
"rules": {
"semi": 2,
"indent": 0,
"unused-imports/no-unused-imports": 1,
"no-constant-condition": [2, { "checkLoops": false }],
"@typescript-eslint/explicit-member-accessibility": 1,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/indent": [2, "tab", { "SwitchCase": 1 }],
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/ban-ts-comment": 0,
"unicorn/prevent-abbreviations": 0,
"unicorn/catch-error-name": [ 2, { "name": "err" }],
"unicorn/no-null": 0,
"unicorn/no-array-reduce": 0,
"unicorn/filename-case": 0,
"unicorn/prefer-ternary": 0,
"unicorn/no-nested-ternary": 0,
"unicorn/no-thenable": 0,
"unicorn/prefer-top-level-await": 0,
"unicorn/no-useless-undefined": 0,
"no-trailing-spaces": 1
},
"parserOptions": {
"warnOnUnsupportedTypeScriptVersion": false
}
}