generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
35 lines (35 loc) · 1010 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
30
31
32
33
34
35
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:import/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"prettier",
"import"
],
"rules": {
"prettier/prettier": "error",
"import/no-unresolved": "warn",
"import/named": "warn",
"import/namespace": "warn",
"import/default": "warn",
"import/export": "warn",
"@typescript-eslint/ban-ts-comment": "warn",
"@typescript-eslint/require-await": "warn",
"@typescript-eslint/return-await": "warn",
"@typescript-eslint/no-use-before-define": [
"error",
{
"functions": false
}
]
}
}