@mikey-pro/eslint-config 3.2.11 → 3.3.3
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 +4 -7
- package/package.json +9 -13
package/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
extends: [
|
|
3
|
-
'airbnb',
|
|
4
3
|
'standard',
|
|
5
4
|
'eslint:recommended',
|
|
6
5
|
'plugin:unicorn/all',
|
|
@@ -27,7 +26,6 @@ module.exports = {
|
|
|
27
26
|
},
|
|
28
27
|
plugins: ['@typescript-eslint'],
|
|
29
28
|
extends: [
|
|
30
|
-
'airbnb-typescript',
|
|
31
29
|
'plugin:@typescript-eslint/recommended',
|
|
32
30
|
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
33
31
|
],
|
|
@@ -36,6 +34,7 @@ module.exports = {
|
|
|
36
34
|
'import/namespace': 0,
|
|
37
35
|
'import/default': 0,
|
|
38
36
|
'import/no-named-as-default-member': 0,
|
|
37
|
+
'import/no-unresolved': 0,
|
|
39
38
|
'@typescript-eslint/indent': 0,
|
|
40
39
|
'@typescript-eslint/naming-convention': 0,
|
|
41
40
|
'prettier/prettier': [2, { parser: 'typescript' }],
|
|
@@ -45,7 +44,6 @@ module.exports = {
|
|
|
45
44
|
files: ['*.tsx'],
|
|
46
45
|
parser: '@typescript-eslint/parser',
|
|
47
46
|
extends: [
|
|
48
|
-
'airbnb-typescript',
|
|
49
47
|
'plugin:react/recommended',
|
|
50
48
|
'plugin:react-hooks/recommended',
|
|
51
49
|
'plugin:@typescript-eslint/recommended',
|
|
@@ -67,6 +65,7 @@ module.exports = {
|
|
|
67
65
|
'import/namespace': 0,
|
|
68
66
|
'import/default': 0,
|
|
69
67
|
'import/no-named-as-default-member': 0,
|
|
68
|
+
'import/no-unresolved': 0,
|
|
70
69
|
'@typescript-eslint/naming-convention': 0,
|
|
71
70
|
'@typescript-eslint/indent': 0,
|
|
72
71
|
'react/state-in-constructor': 0,
|
|
@@ -160,7 +159,6 @@ module.exports = {
|
|
|
160
159
|
},
|
|
161
160
|
],
|
|
162
161
|
'@babel/preset-react',
|
|
163
|
-
'airbnb',
|
|
164
162
|
],
|
|
165
163
|
},
|
|
166
164
|
},
|
|
@@ -244,7 +242,7 @@ module.exports = {
|
|
|
244
242
|
{
|
|
245
243
|
files: ['*.vue'],
|
|
246
244
|
parser: 'vue-eslint-parser',
|
|
247
|
-
extends: ['plugin:vue/vue3-recommended'
|
|
245
|
+
extends: ['plugin:vue/vue3-recommended'],
|
|
248
246
|
parserOptions: {
|
|
249
247
|
requireConfigFile: false,
|
|
250
248
|
ecmaVersion: 'latest',
|
|
@@ -369,7 +367,7 @@ module.exports = {
|
|
|
369
367
|
'newlines-between': 'always',
|
|
370
368
|
},
|
|
371
369
|
],
|
|
372
|
-
'import/extensions': ['error', '
|
|
370
|
+
'import/extensions': ['error', 'never', { ignorePackages: true }],
|
|
373
371
|
'eslint-comments/no-use': [
|
|
374
372
|
'error',
|
|
375
373
|
{ allow: ['eslint-disable', 'eslint-disable-next-line'] },
|
|
@@ -521,7 +519,6 @@ module.exports = {
|
|
|
521
519
|
},
|
|
522
520
|
},
|
|
523
521
|
],
|
|
524
|
-
'airbnb',
|
|
525
522
|
],
|
|
526
523
|
},
|
|
527
524
|
},
|
package/package.json
CHANGED
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikey-pro/eslint-config",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.3",
|
|
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.7",
|
|
8
8
|
"@babel/eslint-parser": "^7.16",
|
|
9
9
|
"@babel/eslint-plugin": "^7.16",
|
|
10
|
-
"@babel/plugin-transform-react-jsx": "^7.16.
|
|
10
|
+
"@babel/plugin-transform-react-jsx": "^7.16.7",
|
|
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.
|
|
15
|
-
"@typescript-eslint/parser": "^5.
|
|
14
|
+
"@typescript-eslint/eslint-plugin": "^5.9.0",
|
|
15
|
+
"@typescript-eslint/parser": "^5.9.0",
|
|
16
16
|
"@vue/babel-plugin-jsx": "^1.1.1",
|
|
17
|
-
"@vue/eslint-config-airbnb": "^6.0",
|
|
18
|
-
"babel-preset-airbnb": "^5.0.0",
|
|
19
|
-
"eslint-config-airbnb": "^19.0",
|
|
20
|
-
"eslint-config-airbnb-typescript": "^16.1.0",
|
|
21
17
|
"eslint-config-prettier": "^8.3",
|
|
22
18
|
"eslint-config-standard": "^16.0.3",
|
|
23
19
|
"eslint-import-resolver-typescript": "^2.5.0",
|
|
@@ -32,13 +28,13 @@
|
|
|
32
28
|
"eslint-plugin-md": "^1.0",
|
|
33
29
|
"eslint-plugin-node": "^11.1.0",
|
|
34
30
|
"eslint-plugin-prettier": "^4.0",
|
|
35
|
-
"eslint-plugin-promise": "^
|
|
36
|
-
"eslint-plugin-react": "^7.
|
|
31
|
+
"eslint-plugin-promise": "^6.0.0",
|
|
32
|
+
"eslint-plugin-react": "^7.28",
|
|
37
33
|
"eslint-plugin-react-hooks": "^4.3",
|
|
38
34
|
"eslint-plugin-sonarjs": "^0.11.0",
|
|
39
|
-
"eslint-plugin-svelte3": "^3.
|
|
35
|
+
"eslint-plugin-svelte3": "^3.3.0",
|
|
40
36
|
"eslint-plugin-toml": "^0.3.0",
|
|
41
|
-
"eslint-plugin-unicorn": "^
|
|
37
|
+
"eslint-plugin-unicorn": "^40.0.0",
|
|
42
38
|
"eslint-plugin-vue": "^8.2",
|
|
43
39
|
"eslint-plugin-yaml": "^0.5.0",
|
|
44
40
|
"vue-eslint-parser": "^8.0"
|