-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
80 lines (80 loc) · 2.36 KB
/
.eslintrc.json
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
70
71
72
73
74
75
76
77
78
79
80
{
"root":true,
"extends": [
"airbnb",
"airbnb-typescript",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:tailwindcss/recommended"
],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js"],
"parser": "@typescript-eslint/parser"
}
],
"parserOptions": {
"project": "./tsconfig.json"
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "react-hooks", "eslint-plugin-tailwindcss"],
"rules": {
"radix":"off",
"prefer-template":"off",
"import/no-cycle": "off",
"react/no-array-index-key": "off",
"no-unneeded-ternary": "off",
"react/function-component-definition": "off",
"react/jsx-props-no-spreading": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off",
"import/order":"off",
"react/prop-types": "off",
"object-shorthand": "off",
"import/newline-after-import":"off",
"import/prefer-default-export": "off",
"@typescript-eslint/no-shadow": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off",
"no-useless-concat": "off",
"react/button-has-type": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-key": "off",
"react/jsx-no-useless-fragment": "off",
"global-require": "off",
"prettier/prettier": [
"error",
{
"useTabs": false,
"endOfLine": "auto"
}
],
"react/jsx-filename-extension": [
2,
{ "extensions": [".js", ".jsx", ".ts", ".tsx"] }
],
"quotes": [2, "double"],
"react/no-unescaped-entities": 0,
"react/require-default-props": "off",
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/dot-notation": "off",
"consistent-return":"off"
},
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
},
"import/resolver": {
"node": {
"paths": ["src", "src/design"],
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}