@mikey-pro/eslint-config 6.4.11 → 6.4.14

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.
Files changed (2) hide show
  1. package/index.js +4 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -4,7 +4,7 @@ module.exports = {
4
4
  env: {
5
5
  browser: true,
6
6
  commonjs: true,
7
- es2021: true,
7
+ es2022: true,
8
8
  es6: true,
9
9
  node: true,
10
10
  },
@@ -368,6 +368,8 @@ module.exports = {
368
368
  'prefer-rest-params': 1,
369
369
  'prefer-spread': 1,
370
370
  'prefer-template': 1,
371
+ 'prefer-const': 0,
372
+ 'disable-autofix/prefer-const': 1,
371
373
  'prettier/prettier': [1, { parser: 'babel' }],
372
374
  'quote-props': [1, 'as-needed'],
373
375
  quotes: [
@@ -379,7 +381,7 @@ module.exports = {
379
381
  },
380
382
  ],
381
383
  radix: 1,
382
- 'react-hooks/exhaustive-deps': 1,
384
+ 'react-hooks/exhaustive-deps': 0,
383
385
  'react-hooks/rules-of-hooks': 1,
384
386
  'react/display-name': [1, { ignoreTranspilerName: false }],
385
387
  'react/function-component-definition': [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikey-pro/eslint-config",
3
- "version": "6.4.11",
3
+ "version": "6.4.14",
4
4
  "description": "Mikey Pro ESLint configuration",
5
5
  "main": "index.js",
6
6
  "files": [