-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
40 lines (40 loc) · 995 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
30
31
32
33
34
35
36
37
38
39
40
{
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parserOptions": {
"project": ["./tsconfig.json"],
"sourceType": "module",
"ecmaVersion": 2021
},
"parser": "@typescript-eslint/parser",
"plugins": ["prettier"],
"rules": {
"@typescript-eslint/no-var-requires": "off",
"import/no-default-export": "off",
"prettier/prettier": "error",
"semi": "error",
"@typescript-eslint/semi": "error",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-explicit-any": "error",
"comma-dangle": [2, "always-multiline"],
"@typescript-eslint/comma-dangle": [2, "always-multiline"],
"eol-last": "error",
"no-console": [
"error",
{
"allow": ["info", "error"]
}
],
"object-curly-spacing": [
"error",
"always",
{
"objectsInObjects": true,
"arraysInObjects": true
}
]
}
}