@mikey-pro/eslint-config 3.1.0 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +13 -4
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -43,7 +43,7 @@ module.exports = {
|
|
|
43
43
|
parser: 'toml-eslint-parser',
|
|
44
44
|
extends: ['plugin:toml/standard'],
|
|
45
45
|
rules: {
|
|
46
|
-
'prettier/prettier':
|
|
46
|
+
'prettier/prettier': 0,
|
|
47
47
|
},
|
|
48
48
|
},
|
|
49
49
|
{
|
|
@@ -68,8 +68,17 @@ module.exports = {
|
|
|
68
68
|
'@babel/preset-react',
|
|
69
69
|
'airbnb',
|
|
70
70
|
],
|
|
71
|
+
plugins: [
|
|
72
|
+
[
|
|
73
|
+
'@babel/plugin-transform-react-jsx',
|
|
74
|
+
{
|
|
75
|
+
pragma: 'h',
|
|
76
|
+
pragmaFrag: 'Fragment',
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
],
|
|
71
80
|
},
|
|
72
|
-
|
|
81
|
+
},
|
|
73
82
|
rules: {
|
|
74
83
|
'react/no-deprecated': 2,
|
|
75
84
|
'react/react-in-jsx-scope': 0,
|
|
@@ -167,7 +176,7 @@ module.exports = {
|
|
|
167
176
|
],
|
|
168
177
|
],
|
|
169
178
|
plugins: [
|
|
170
|
-
'
|
|
179
|
+
'react', 'react-hooks',
|
|
171
180
|
[
|
|
172
181
|
'@babel/plugin-transform-react-jsx',
|
|
173
182
|
{
|
|
@@ -177,7 +186,7 @@ module.exports = {
|
|
|
177
186
|
],
|
|
178
187
|
],
|
|
179
188
|
},
|
|
180
|
-
|
|
189
|
+
},
|
|
181
190
|
rules: {
|
|
182
191
|
'vue/html-self-closing': [
|
|
183
192
|
2,
|