This repository has been archived by the owner on Oct 31, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
.eslintrc
58 lines (58 loc) · 1.85 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
55
56
57
58
{
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:react/recommended",
"simon/lib/react"
],
"settings": {
"react": {
"version": "latest"
}
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": [
"@typescript-eslint",
"align-import"
],
"parserOptions": {
"project": "./tsconfig.json",
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
"env": true
},
"rules": {
"@typescript-eslint/unified-signatures": "error",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/semi": "error",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/unbound-method": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"react/jsx-indent-props": [2, "first"],
"react/react-in-jsx-scope": "off",
"react/display-name": "off",
"react/prop-types": "off",
"react/jsx-indent": [2, 4, {"checkAttributes": true}],
"no-multi-spaces": ["error", {"exceptions": {"ImportDeclaration": true}}],
"align-import/align-import": "error",
"no-use-before-define": "off",
"no-unused-vars": "off",
"func-call-spacing": "off",
"no-void": "off",
"indent": "off"
}
}