-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
36 lines (36 loc) · 935 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
{
"env": {
"node": true,
"es2020": true,
"jasmine": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["jasmine", "eslint-plugin-tsdoc", "sonarjs"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:sonarjs/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:promise/recommended",
"plugin:jasmine/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"rules": {
"sonarjs/prefer-immediate-return": "off",
"no-warning-comments": [
"error",
{ "terms": ["todo", "fixme"], "location": "anywhere" }
],
"no-console": "error",
"jasmine/no-spec-dupes": [1, "branch"],
"tsdoc/syntax": "error"
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
}
}