-
Notifications
You must be signed in to change notification settings - Fork 32
/
.eslintrc
36 lines (33 loc) · 1.19 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
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"tsconfigRootDir": ".",
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "sonarjs", "prettier"],
"extends": [
"eslint:recommended",
"airbnb-base",
"airbnb-typescript/base",
"plugin:sonarjs/recommended",
"plugin:@typescript-eslint/strict-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
"plugin:prettier/recommended"
],
"rules": {
"class-methods-use-this": "off",
"consistent-return": "off",
"max-len": "off",
"no-restricted-syntax": "off",
"object-curly-newline": "off",
"import/prefer-default-export": "off",
"import/order": ["error", { "groups": [["builtin", "external", "internal"]], "newlines-between": "always", "alphabetize": { "order": "asc", "caseInsensitive": true } }],
"@typescript-eslint/consistent-type-assertions": ["error", { "assertionStyle": "angle-bracket" }],
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"sonarjs/no-duplicate-string": "off"
}
}