-
Notifications
You must be signed in to change notification settings - Fork 86
/
.eslintrc
32 lines (32 loc) · 1 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
{
"extends": ["taro/react"],
"rules": {
"semi": ["error", "always"],
"no-undef": 0,
"import/first": 0,
"space-infix-ops": 1,
"array-bracket-spacing": 0,
"object-curly-spacing": ["error","always"],
"spaced-comment": 2,
"no-unused-vars": 0,
"react/no-unused-state": 0,
"react/sort-comp": 0,
"react/self-closing-comp": 1,
"react/no-multi-comp": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx", ".tsx"] }],
"@typescript-eslint/no-unused-vars": [1, { "varsIgnorePattern": "React" }],
"@typescript-eslint/no-undef": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-explicit-any": 0,
"jsx-quotes": [
"error",
"prefer-double"
],
"import/prefer-default-export": 0,
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/no-inferrable-types": 0,
"@typescript-eslint/no-shadow": 0
}
}