@mikey-pro/eslint-config-vue 9.0.8 → 10.0.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 +6 -3
- package/package.json +8 -15
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Modern Vue ESLint configuration for Mikey Pro
|
|
2
|
-
import { baseConfig } from '../eslint-config/base-config.js';
|
|
2
|
+
import { baseConfig, globalPlugins } from '../eslint-config/base-config.js';
|
|
3
3
|
import { baseOverrides } from '../eslint-config/overrides.js';
|
|
4
4
|
import vue from 'eslint-plugin-vue';
|
|
5
5
|
import vueParser from 'vue-eslint-parser';
|
|
@@ -91,7 +91,7 @@ const vueConfig = {
|
|
|
91
91
|
'vue/valid-v-text': 'error',
|
|
92
92
|
},
|
|
93
93
|
settings: {
|
|
94
|
-
'import/resolver': {
|
|
94
|
+
'import-x/resolver': {
|
|
95
95
|
typescript: {
|
|
96
96
|
alwaysTryTypes: true,
|
|
97
97
|
},
|
|
@@ -139,6 +139,9 @@ export default [
|
|
|
139
139
|
],
|
|
140
140
|
},
|
|
141
141
|
|
|
142
|
+
// Global plugin registration
|
|
143
|
+
globalPlugins,
|
|
144
|
+
|
|
142
145
|
// Base configuration
|
|
143
146
|
baseConfig,
|
|
144
147
|
|
|
@@ -150,5 +153,5 @@ export default [
|
|
|
150
153
|
];
|
|
151
154
|
|
|
152
155
|
// Export individual components for advanced usage
|
|
153
|
-
export { baseConfig } from '../eslint-config/base-config.js';
|
|
156
|
+
export { baseConfig, globalPlugins } from '../eslint-config/base-config.js';
|
|
154
157
|
export { baseOverrides } from '../eslint-config/overrides.js';
|
package/package.json
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikey-pro/eslint-config-vue",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "Mikey Pro ESLint Vue configuration - Ultimate Vue coding style guide",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@mikey-pro/eslint-config": "file:../eslint-config",
|
|
9
|
-
"eslint-plugin-vue": "^10.
|
|
10
|
-
"vue-eslint-parser": "^10.
|
|
9
|
+
"eslint-plugin-vue": "^10.8.0",
|
|
10
|
+
"vue-eslint-parser": "^10.4.0"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@mikey-pro/eslint-config": "file:../eslint-config"
|
|
13
|
+
"@mikey-pro/eslint-config": "file:../eslint-config",
|
|
14
|
+
"eslint": "^10.0.0"
|
|
14
15
|
},
|
|
15
16
|
"peerDependenciesMeta": {
|
|
16
17
|
"@types/node": {
|
|
@@ -20,13 +21,7 @@
|
|
|
20
21
|
"optional": true
|
|
21
22
|
}
|
|
22
23
|
},
|
|
23
|
-
"files": [
|
|
24
|
-
"index.js",
|
|
25
|
-
"flat.js",
|
|
26
|
-
"legacy.js",
|
|
27
|
-
"README.md",
|
|
28
|
-
"LICENSE"
|
|
29
|
-
],
|
|
24
|
+
"files": ["index.js", "flat.js", "legacy.js", "README.md", "LICENSE"],
|
|
30
25
|
"homepage": "https://github.com/chiefmikey/mikey-pro#readme",
|
|
31
26
|
"repository": {
|
|
32
27
|
"type": "git",
|
|
@@ -55,14 +50,12 @@
|
|
|
55
50
|
],
|
|
56
51
|
"author": "Mikl Wolfe <wolfe@mikl.io> (https://mikl.io)",
|
|
57
52
|
"engines": {
|
|
58
|
-
"node": ">=20.
|
|
53
|
+
"node": ">=20.19.0",
|
|
59
54
|
"npm": ">=9.0.0",
|
|
60
55
|
"pnpm": ">=8.0.0",
|
|
61
56
|
"yarn": ">=4.0.0"
|
|
62
57
|
},
|
|
63
|
-
"browserslist": [
|
|
64
|
-
"defaults"
|
|
65
|
-
],
|
|
58
|
+
"browserslist": ["defaults"],
|
|
66
59
|
"exports": {
|
|
67
60
|
".": {
|
|
68
61
|
"import": "./index.js",
|