@mikey-pro/eslint-config-vue 9.0.7 → 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 -4
- 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
|
},
|
|
@@ -127,7 +127,6 @@ export default [
|
|
|
127
127
|
'*.psd',
|
|
128
128
|
'*.ai',
|
|
129
129
|
'*.ase',
|
|
130
|
-
'*.sh',
|
|
131
130
|
'*.bat',
|
|
132
131
|
'*.cmd',
|
|
133
132
|
'package-lock.json',
|
|
@@ -140,6 +139,9 @@ export default [
|
|
|
140
139
|
],
|
|
141
140
|
},
|
|
142
141
|
|
|
142
|
+
// Global plugin registration
|
|
143
|
+
globalPlugins,
|
|
144
|
+
|
|
143
145
|
// Base configuration
|
|
144
146
|
baseConfig,
|
|
145
147
|
|
|
@@ -151,5 +153,5 @@ export default [
|
|
|
151
153
|
];
|
|
152
154
|
|
|
153
155
|
// Export individual components for advanced usage
|
|
154
|
-
export { baseConfig } from '../eslint-config/base-config.js';
|
|
156
|
+
export { baseConfig, globalPlugins } from '../eslint-config/base-config.js';
|
|
155
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",
|