-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
69 lines (69 loc) · 1.77 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
59
60
61
62
63
64
65
66
67
68
69
{
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"react-app"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"react", "@typescript-eslint"
],
"rules": {
"@typescript-eslint/indent": ["error", 2],
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
"indent": ["error", 2, { "SwitchCase": 1 }],
"semi": ["error", "always"],
"no-unused-vars": [
1,
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false
}
],
"import/prefer-default-export": 0,
"no-underscore-dangle": 0,
"no-console": 0,
"prefer-object-spread": 0,
"import/no-extraneous-dependencies": 0,
"no-case-declarations": 0,
"no-plusplus": 0,
"comma-dangle": 0,
"quotes": 0,
"arrow-body-style": 0,
"no-return-await": 0,
"class-methods-use-this": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"react-hooks/exhaustive-deps": 0,
"react/jsx-tag-spacing": 0,
"react/destructuring-assignment": 0,
"react/no-unused-state": 0,
"react/display-name": 0,
"react/jsx-max-props-per-line": 0,
"react/jsx-first-prop-new-line": 0,
"react/jsx-one-expression-per-line": 0,
"react/jsx-closing-bracket-location": [1, "line-aligned"],
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx", "tsx", "ts"]
}
]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"],
"moduleDirectory": [
"node_modules",
"./packages"
]
}
},
"import/external-module-folders": [
"./packages"
]
}
}