-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
137 lines (137 loc) · 3.54 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true,
"commonjs": true
},
"globals": {
"process": true
},
"extends": ["plugin:prettier/recommended"],
"parserOptions": {
"ecmaVersion": 9,
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"plugins": ["react"],
"settings": {
"import/resolver": {
"alias": {
"map": [
["@components", "./src/components"],
["@assets", "./src/assets"],
["@helper", "./src/helper"],
["@hooks", "./src/hooks"],
["@styles", "./src/styles"]
],
"extensions": [".js", ".jsx", ".css", ".scss"]
}
}
},
"rules": {
"no-restricted-imports": [
1,
{
"patterns": ["../*"]
}
],
"react/prop-types": 0,
"react/jsx-uses-vars": [2],
"react/jsx-no-undef": "error",
"no-console": 0,
"object-curly-newline": 0,
"react/jsx-props-no-spreading": 0,
"jsx-a11y/anchor-is-valid": 0,
"no-underscore-dangle": 0,
"array-bracket-spacing": 0,
"arrow-parens": 0,
"arrow-spacing": 0,
"block-spacing": 0,
"brace-style": 0,
"comma-dangle": 0,
"comma-spacing": 0,
"comma-style": 0,
"computed-property-spacing": 0,
"dot-location": 0,
"eol-last": 0,
"func-call-spacing": 0,
"function-paren-newline": 0,
"generator-star-spacing": 0,
"implicit-arrow-linebreak": 0,
"indent": 0,
"jsx-quotes": 0,
"key-spacing": 0,
"keyword-spacing": 0,
"linebreak-style": 0,
"new-parens": 0,
"newline-per-chained-call": 0,
"no-extra-semi": 0,
"no-floating-decimal": 0,
"no-mixed-spaces-and-tabs": 0,
"no-multi-spaces": 0,
"no-multiple-empty-lines": 0,
"no-spaced-func": 0,
"no-trailing-spaces": 0,
"no-whitespace-before-property": 0,
"nonblock-statement-body-position": 0,
"object-curly-spacing": 0,
"object-property-newline": 0,
"one-var-declaration-per-line": 0,
"operator-linebreak": 0,
"padded-blocks": 0,
"quote-props": 0,
"react/jsx-closing-bracket-location": 0,
"react/jsx-closing-tag-location": 0,
"react/jsx-curly-newline": 0,
"react/jsx-curly-spacing": 0,
"react/jsx-equals-spacing": 0,
"react/jsx-first-prop-new-line": 0,
"react/jsx-indent": 0,
"react/jsx-indent-props": 0,
"react/jsx-max-props-per-line": 0,
"react/jsx-one-expression-per-line": 0,
"react/jsx-props-no-multi-spaces": 0,
"react/jsx-tag-spacing": 0,
"react/jsx-wrap-multilines": 0,
"rest-spread-spacing": 0,
"semi": 0,
"semi-spacing": 0,
"semi-style": 0,
"space-before-blocks": 0,
"space-before-function-paren": 0,
"space-in-parens": 0,
"space-infix-ops": 0,
"space-unary-ops": 0,
"switch-colon-spacing": 0,
"template-curly-spacing": 0,
"template-tag-spacing": 0,
"unicode-bom": 0,
"wrap-iife": 0,
"yield-star-spacing": 0,
"curly": 0,
"no-confusing-arrow": 0,
"arrow-body-style": 0,
"max-len": 0,
"no-mixed-operators": 0,
"no-tabs": 0,
"no-unexpected-multiline": 0,
"prefer-arrow-callback": 0,
"quotes": 0,
"jsx-a11y/label-has-associated-control": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/no-duplicates": 0,
"import/extensions": 0,
"import/order": 0,
"import/no-self-import": 0,
"import/no-cycle": 0,
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"import/named": 0,
"import/no-useless-path-segments": 0,
"no-unused-vars": 0
}
}