-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
29 lines (29 loc) · 837 Bytes
/
.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
{
"root": true,
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"tsconfigRootDir": "./"
},
"settings": {
"import/extensions": [".ts"]
},
"plugins": ["@typescript-eslint", "prettier", "import"],
"rules": {
"prefer-const": "error",
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-object-literal-type-assertion": "off",
"@typescript-eslint/no-explicit-any": 2,
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-multi-space": "off"
}
}