-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
54 lines (54 loc) · 1.76 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
52
53
54
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"simple-import-sort"
],
"extends": [
"standard-with-typescript",
"standard-jsx"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"tsconfigRootDir": ".",
"project": "./tsconfig.json"
},
"env": {
"jest": true
},
"rules": {
"@typescript-eslint/prefer-optional-chain": "off",
"@typescript-eslint/ban-types": "off",
"no-redeclare": "off",
"no-new": "off",
"@typescript-eslint/no-confusing-void-expression": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"no-control-regex": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/prefer-function-type": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/promise-function-async": "off",
"@typescript-eslint/comma-dangle": "off",
"@typescript-eslint/array-type": "off",
"@typescript-eslint/no-invalid-void-type": "off",
"@typescript-eslint/no-dynamic-delete": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/consistent-type-assertions": "off",
"no-unused-vars": "off",
"one-var": "off",
"react/jsx-key": "off",
"import/no-absolute-path": "off",
"react/no-children-prop": "off",
"comma-dangle": ["error", "always-multiline"],
"react/jsx-closing-bracket-location": ["error", {
"nonEmpty": "after-props"
}],
"simple-import-sort/imports": "error"
}
}