-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
38 lines (38 loc) · 1.06 KB
/
.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
37
38
{
"root": true,
"ignorePatterns": ["**/dist/**/*", "**/node_modules/**/*","**/coverage/**/*", "**/*config*"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.eslint.json"
},
"plugins": [
"@typescript-eslint",
"sonarjs"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:sonarjs/recommended-legacy",
"plugin:react-hooks/recommended"
],
"rules":
{
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-unused-vars": [ "error"],
"no-return-await": "error",
"semi": ["error", "always"],
"eol-last": ["error", "always"],
"brace-style": ["error", "allman", { "allowSingleLine": true }],
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off"
},
"settings":
{
"react":
{
"version": "detect"
}
}
}