-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc
40 lines (40 loc) · 1.08 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"rules": {
"semi": "off",
"@typescript-eslint/semi": ["error"],
"no-shadow": "off",
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/no-unused-vars": "error",
"no-console": 0,
"no-empty": ["error", { "allowEmptyCatch": true }],
"no-buffer-constructor": 0,
"no-case-declarations": 0,
"no-useless-escape": 0,
"indent": "off",
"object-curly-spacing": [
"error",
"always",
{
"objectsInObjects": true
}
],
"no-undef": 0,
"require-atomic-updates": 0,
"no-async-promise-executor": 0,
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"@typescript-eslint/explicit-function-return-type": "warn",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-non-null-assertion": "off"
}
}