@mikey-pro/eslint-config 4.9.1 → 4.10.2

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 +7 -3
  2. package/package.json +15 -15
package/index.js CHANGED
@@ -143,6 +143,7 @@ module.exports = {
143
143
  {
144
144
  pragma: 'h',
145
145
  pragmaFrag: 'Fragment',
146
+ runtime: 'automatic',
146
147
  },
147
148
  ],
148
149
  ],
@@ -225,7 +226,12 @@ module.exports = {
225
226
  },
226
227
  },
227
228
  ],
228
- '@babel/preset-react',
229
+ [
230
+ '@babel/preset-react',
231
+ {
232
+ runtime: 'automatic',
233
+ },
234
+ ],
229
235
  ],
230
236
  },
231
237
  ecmaVersion: 'latest',
@@ -375,7 +381,6 @@ module.exports = {
375
381
  'react/jsx-no-target-blank': 1,
376
382
  'react/jsx-no-undef': 1,
377
383
  'react/jsx-tag-spacing': [1, { beforeSelfClosing: 'always' }],
378
- 'react/jsx-uses-react': 1,
379
384
  'react/jsx-uses-vars': 1,
380
385
  'react/no-danger': 1,
381
386
  'react/no-deprecated': 1,
@@ -387,7 +392,6 @@ module.exports = {
387
392
  'filenames/match-regex': 0,
388
393
  'react/prefer-es6-class': 1,
389
394
  'react/prefer-stateless-function': 1,
390
- 'react/react-in-jsx-scope': 0,
391
395
  'react/require-render-return': 1,
392
396
  'react/self-closing-comp': [
393
397
  'error',
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@mikey-pro/eslint-config",
3
- "version": "4.9.1",
3
+ "version": "4.10.2",
4
4
  "description": "Mikey Pro ESLint configuration",
5
5
  "main": "index.js",
6
6
  "dependencies": {
7
- "@babel/core": "^7.17.5",
7
+ "@babel/core": "^7.18.0",
8
8
  "@babel/eslint-parser": "^7.17",
9
- "@babel/eslint-plugin": "^7.16",
10
- "@babel/plugin-transform-react-jsx": "^7.17.3",
11
- "@babel/preset-env": "^7.16",
9
+ "@babel/eslint-plugin": "^7.17",
10
+ "@babel/plugin-transform-react-jsx": "^7.17.12",
11
+ "@babel/preset-env": "^7.18",
12
12
  "@html-eslint/eslint-plugin": "^0.13.1",
13
13
  "@html-eslint/parser": "^0.13.1",
14
- "@typescript-eslint/eslint-plugin": "^5.14.0",
15
- "@typescript-eslint/parser": "^5.14.0",
14
+ "@typescript-eslint/eslint-plugin": "^5.26.0",
15
+ "@typescript-eslint/parser": "^5.26.0",
16
16
  "@vue/babel-plugin-jsx": "^1.1.1",
17
17
  "eslint-config-prettier": "^8.5",
18
- "eslint-config-react-app": "^7.0.0",
19
- "eslint-import-resolver-typescript": "^2.5.0",
18
+ "eslint-config-react-app": "^7.0.1",
19
+ "eslint-import-resolver-typescript": "^2.7.1",
20
20
  "eslint-plugin-compat": "^4.0",
21
21
  "eslint-plugin-css-modules": "^2.11",
22
22
  "eslint-plugin-disable-autofix": "^0.1.6",
@@ -27,13 +27,13 @@
27
27
  "eslint-plugin-only-warn": "^1.0.3",
28
28
  "eslint-plugin-prettier": "^4.0",
29
29
  "eslint-plugin-promise": "^6.0.0",
30
- "eslint-plugin-sonarjs": "^0.12.0",
31
- "eslint-plugin-svelte3": "^3.4.1",
32
- "eslint-plugin-toml": "^0.3.0",
33
- "eslint-plugin-unicorn": "^41.0.0",
34
- "eslint-plugin-vue": "^8.5",
30
+ "eslint-plugin-sonarjs": "^0.13.0",
31
+ "eslint-plugin-svelte3": "^4.0.0",
32
+ "eslint-plugin-toml": "^0.3.1",
33
+ "eslint-plugin-unicorn": "^42.0.0",
34
+ "eslint-plugin-vue": "^9.0",
35
35
  "eslint-plugin-yaml": "^0.5.0",
36
- "vue-eslint-parser": "^8.3"
36
+ "vue-eslint-parser": "^9.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "eslint": ">=8.3.0"