-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
61 lines (61 loc) · 1.61 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
{
"extends": [
"airbnb",
"airbnb/hooks",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/react",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint", "react", "prettier"],
"rules": {
"func-names": 0,
"import/extensions": ["error", "never"],
"import/no-unresolved": 0,
"import/prefer-default-export": 0,
"jsx-a11y/accessible-emoji": 0,
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid",
"endOfLine": "auto"
}
],
"react/jsx-filename-extension": [1, {
"extensions": [
".ts",
".tsx"
]
}],
"react/jsx-one-expression-per-line": "warn",
"react/prop-types": 0,
"react/require-default-props": 0,
"react/style-prop-object": 0,
"semi": ["error", "never"],
"no-plusplus": ["error", {"allowForLoopAfterthoughts": true}],
"no-shadow": "off",
"no-use-before-define": "off",
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/no-shadow": ["error"],
"@typescript-eslint/no-use-before-define": ["error", {
"functions": true,
"classes": true,
"variables": false
}],
"@typescript-eslint/no-var-requires": 0
}
}