@mikey-pro/eslint-config 3.2.8 → 3.2.9
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 +7 -0
- package/package.json +6 -6
package/index.cjs
CHANGED
|
@@ -374,6 +374,13 @@ module.exports = {
|
|
|
374
374
|
'error',
|
|
375
375
|
{ allow: ['eslint-disable', 'eslint-disable-next-line'] },
|
|
376
376
|
],
|
|
377
|
+
'prefer-destructuring': [
|
|
378
|
+
'error',
|
|
379
|
+
{
|
|
380
|
+
object: true,
|
|
381
|
+
array: false,
|
|
382
|
+
},
|
|
383
|
+
],
|
|
377
384
|
'keyword-spacing': 2,
|
|
378
385
|
'require-atomic-updates': 0,
|
|
379
386
|
'import/no-commonjs': 0,
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikey-pro/eslint-config",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.9",
|
|
4
4
|
"description": "Mikey Pro ESLint configuration",
|
|
5
5
|
"main": "index.cjs",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@babel/core": "^7.16.
|
|
7
|
+
"@babel/core": "^7.16.5",
|
|
8
8
|
"@babel/eslint-parser": "^7.16",
|
|
9
|
-
"@babel/eslint-plugin": "^7.
|
|
10
|
-
"@babel/plugin-transform-react-jsx": "^7.16.
|
|
9
|
+
"@babel/eslint-plugin": "^7.16",
|
|
10
|
+
"@babel/plugin-transform-react-jsx": "^7.16.5",
|
|
11
11
|
"@babel/preset-env": "^7.16",
|
|
12
12
|
"@html-eslint/eslint-plugin": "^0.13.0",
|
|
13
13
|
"@html-eslint/parser": "^0.13.0",
|
|
14
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
15
|
-
"@typescript-eslint/parser": "^5.
|
|
14
|
+
"@typescript-eslint/eslint-plugin": "^5.7.0",
|
|
15
|
+
"@typescript-eslint/parser": "^5.7.0",
|
|
16
16
|
"@vue/babel-plugin-jsx": "^1.1.1",
|
|
17
17
|
"@vue/eslint-config-airbnb": "^6.0",
|
|
18
18
|
"babel-preset-airbnb": "^5.0.0",
|