@mikey-pro/eslint-config 4.1.2 → 4.2.0

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 +2 -2
  2. package/package.json +1 -3
package/index.js CHANGED
@@ -1,7 +1,5 @@
1
1
  module.exports = {
2
2
  extends: [
3
- 'react-app',
4
- 'react-app/jest',
5
3
  'eslint:recommended',
6
4
  'plugin:unicorn/all',
7
5
  'plugin:sonarjs/recommended',
@@ -28,6 +26,7 @@ module.exports = {
28
26
  },
29
27
  {
30
28
  files: ['*.tsx'],
29
+ extends: ['react-app', 'react-app/jest'],
31
30
  parserOptions: {
32
31
  extraFileExtensions: ['.vue', '.svelte'],
33
32
  },
@@ -112,6 +111,7 @@ module.exports = {
112
111
  },
113
112
  {
114
113
  files: ['*.jsx'],
114
+ extends: ['react-app', 'react-app/jest'],
115
115
  parser: '@babel/eslint-parser',
116
116
  parserOptions: {
117
117
  requireConfigFile: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikey-pro/eslint-config",
3
- "version": "4.1.2",
3
+ "version": "4.2.0",
4
4
  "description": "Mikey Pro ESLint configuration",
5
5
  "main": "index.js",
6
6
  "dependencies": {
@@ -20,10 +20,8 @@
20
20
  "eslint-plugin-compat": "^4.0",
21
21
  "eslint-plugin-css-modules": "^2.11",
22
22
  "eslint-plugin-disable-autofix": "^0.1.6",
23
- "eslint-plugin-import": "^2.25",
24
23
  "eslint-plugin-json-format": "^2.0",
25
24
  "eslint-plugin-jsonc": "^2.0.0",
26
- "eslint-plugin-jsx-a11y": "^6.5",
27
25
  "eslint-plugin-md": "^1.0",
28
26
  "eslint-plugin-node": "^11.1.0",
29
27
  "eslint-plugin-prettier": "^4.0",