@mikey-pro/eslint-config 3.2.7 → 3.2.11

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.
@@ -37,6 +37,7 @@ module.exports = {
37
37
  'import/default': 0,
38
38
  'import/no-named-as-default-member': 0,
39
39
  '@typescript-eslint/indent': 0,
40
+ '@typescript-eslint/naming-convention': 0,
40
41
  'prettier/prettier': [2, { parser: 'typescript' }],
41
42
  },
42
43
  },
@@ -66,6 +67,7 @@ module.exports = {
66
67
  'import/namespace': 0,
67
68
  'import/default': 0,
68
69
  'import/no-named-as-default-member': 0,
70
+ '@typescript-eslint/naming-convention': 0,
69
71
  '@typescript-eslint/indent': 0,
70
72
  'react/state-in-constructor': 0,
71
73
  'react/no-deprecated': 2,
@@ -372,6 +374,13 @@ module.exports = {
372
374
  'error',
373
375
  { allow: ['eslint-disable', 'eslint-disable-next-line'] },
374
376
  ],
377
+ 'prefer-destructuring': [
378
+ 'error',
379
+ {
380
+ object: true,
381
+ array: false,
382
+ },
383
+ ],
375
384
  'keyword-spacing': 2,
376
385
  'require-atomic-updates': 0,
377
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.7",
3
+ "version": "3.2.11",
4
4
  "description": "Mikey Pro ESLint configuration",
5
- "main": "index.cjs",
5
+ "main": "index.js",
6
6
  "dependencies": {
7
- "@babel/core": "^7.16.0",
7
+ "@babel/core": "^7.16.5",
8
8
  "@babel/eslint-parser": "^7.16",
9
- "@babel/eslint-plugin": "^7.14",
10
- "@babel/plugin-transform-react-jsx": "^7.16.0",
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.5.0",
15
- "@typescript-eslint/parser": "^5.5.0",
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",
@@ -47,7 +47,7 @@
47
47
  "eslint": ">=8.3.0"
48
48
  },
49
49
  "files": [
50
- "index.cjs",
50
+ "index.js",
51
51
  "README.md",
52
52
  "LICENSE"
53
53
  ],