@mikey-pro/eslint-config 4.0.0 → 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.
- package/index.js +3 -3
- package/package.json +2 -7
package/index.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
extends: [
|
|
3
|
-
'standard',
|
|
4
|
-
'react-app',
|
|
5
|
-
'react-app/jest',
|
|
6
3
|
'eslint:recommended',
|
|
7
4
|
'plugin:unicorn/all',
|
|
8
5
|
'plugin:sonarjs/recommended',
|
|
@@ -29,6 +26,7 @@ module.exports = {
|
|
|
29
26
|
},
|
|
30
27
|
{
|
|
31
28
|
files: ['*.tsx'],
|
|
29
|
+
extends: ['react-app', 'react-app/jest'],
|
|
32
30
|
parserOptions: {
|
|
33
31
|
extraFileExtensions: ['.vue', '.svelte'],
|
|
34
32
|
},
|
|
@@ -113,6 +111,7 @@ module.exports = {
|
|
|
113
111
|
},
|
|
114
112
|
{
|
|
115
113
|
files: ['*.jsx'],
|
|
114
|
+
extends: ['react-app', 'react-app/jest'],
|
|
116
115
|
parser: '@babel/eslint-parser',
|
|
117
116
|
parserOptions: {
|
|
118
117
|
requireConfigFile: false,
|
|
@@ -483,6 +482,7 @@ module.exports = {
|
|
|
483
482
|
},
|
|
484
483
|
},
|
|
485
484
|
],
|
|
485
|
+
'@babel/preset-react',
|
|
486
486
|
],
|
|
487
487
|
},
|
|
488
488
|
},
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikey-pro/eslint-config",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Mikey Pro ESLint configuration",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@babel/core": "^7.16.
|
|
7
|
+
"@babel/core": "^7.16.10",
|
|
8
8
|
"@babel/eslint-parser": "^7.16",
|
|
9
9
|
"@babel/eslint-plugin": "^7.16",
|
|
10
10
|
"@babel/plugin-transform-react-jsx": "^7.16.7",
|
|
@@ -16,21 +16,16 @@
|
|
|
16
16
|
"@vue/babel-plugin-jsx": "^1.1.1",
|
|
17
17
|
"eslint-config-prettier": "^8.3",
|
|
18
18
|
"eslint-config-react-app": "^7.0.0",
|
|
19
|
-
"eslint-config-standard": "^16.0.3",
|
|
20
19
|
"eslint-import-resolver-typescript": "^2.5.0",
|
|
21
20
|
"eslint-plugin-compat": "^4.0",
|
|
22
21
|
"eslint-plugin-css-modules": "^2.11",
|
|
23
22
|
"eslint-plugin-disable-autofix": "^0.1.6",
|
|
24
|
-
"eslint-plugin-import": "^2.25",
|
|
25
23
|
"eslint-plugin-json-format": "^2.0",
|
|
26
24
|
"eslint-plugin-jsonc": "^2.0.0",
|
|
27
|
-
"eslint-plugin-jsx-a11y": "^6.5",
|
|
28
25
|
"eslint-plugin-md": "^1.0",
|
|
29
26
|
"eslint-plugin-node": "^11.1.0",
|
|
30
27
|
"eslint-plugin-prettier": "^4.0",
|
|
31
28
|
"eslint-plugin-promise": "^6.0.0",
|
|
32
|
-
"eslint-plugin-react": "^7.28",
|
|
33
|
-
"eslint-plugin-react-hooks": "^4.3",
|
|
34
29
|
"eslint-plugin-sonarjs": "^0.11.0",
|
|
35
30
|
"eslint-plugin-svelte3": "^3.4.0",
|
|
36
31
|
"eslint-plugin-toml": "^0.3.0",
|