-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
51 lines (45 loc) · 1.22 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
41
42
43
44
45
46
47
48
49
50
51
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint",
"jsdoc",
"sonarjs",
"security",
"promise",
"unicorn",
"eslint-comments",
"optimize-regex",
"no-use-extend-native",
"simple-import-sort",
"prettier"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:jsdoc/recommended",
"plugin:sonarjs/recommended",
"plugin:security/recommended",
"plugin:promise/recommended",
"plugin:unicorn/recommended",
"plugin:eslint-comments/recommended",
"plugin:optimize-regex/recommended",
"plugin:no-use-extend-native/recommended",
"eslint-config-prettier",
"prettier"
],
"rules": {
"prettier/prettier": "error",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"security/detect-non-literal-fs-filename": "off",
"security/detect-object-injection": "off",
"@typescript-eslint/no-unsafe-assignment": "error",
"@typescript-eslint/no-empty-interface": ["error", { "allowSingleExtends": true }]
}
}