-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
37 lines (37 loc) · 889 Bytes
/
.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
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"plugin:@typescript-eslint/recommended",
"airbnb",
"airbnb/hooks"
],
"rules": {
"no-tabs": 0,
"allowIndentationTabs": 0,
"indent": [0, "tab"],
"import/extensions": ["off"],
"no-mixed-spaces-and-tabs": 0,
"import/no-extraneous-dependencies": ["off"],
"lines-between-class-members": ["off"],
"react/require-default-props": ["off"],
"react/jsx-filename-extension": [1, { "extensions": [".jsx", ".tsx"] }],
"react/jsx-indent": [2, 2, { "indentLogicalExpressions": true }],
"@typescript-eslint/ban-ts-comment": [1]
},
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
},
"import/resolver": {
"typescript": {}
}
},
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"browser": true,
"node": true
}
}