-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc
28 lines (28 loc) · 861 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["sonarjs", "simple-import-sort", "jsdoc"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"ignorePatterns": ["./node_modules/*"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:sonarjs/recommended",
"plugin:jsdoc/recommended-typescript"
],
"rules": {
"no-error-on-unmatched-pattern": "off",
"@typescript-eslint/no-explicit-any": "warn",
"sonarjs/cognitive-complexity": "off",
"@typescript-eslint/no-shadow": ["error", { "hoist": "all"}],
"@typescript-eslint/ban-ts-comment": "off",
"simple-import-sort/imports": "warn",
"jsdoc/no-types": "off",
"jsdoc/tag-lines": "off",
"jsdoc/require-returns-description": "off"
}
}