-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
46 lines (46 loc) · 996 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
38
39
40
41
42
43
44
45
46
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "react", "import"],
"parserOptions": {
"sourceType": "module"
},
"env": {
"browser": true,
"node": true,
"jest": true,
"mocha": true
},
"extends": [
"prettier",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"prettier/@typescript-eslint",
"prettier/react"
],
"rules": {
"indent": 0,
"no-tabs": 0,
"no-unused-vars": ["off"],
"no-use-before-define": 0,
"react/jsx-filename-extension": [2, { "extensions": [".tsx"] }],
"react/no-array-index-key": 0,
"react/prop-types": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-empty-function": 0
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".ts", ".tsx"]
}
},
"react": {
"version": "detect"
}
},
"globals": {
"__DEV__": true
}
}