@ivanmaxlogiudice/eslint-config 3.0.9 → 3.0.11
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/dist/cli.js +39 -49
- package/dist/index.d.ts +1264 -344
- package/dist/index.js +7 -6
- package/package.json +37 -47
package/dist/cli.js
CHANGED
|
@@ -12,8 +12,8 @@ import c from "picocolors";
|
|
|
12
12
|
var package_default = {
|
|
13
13
|
name: "@ivanmaxlogiudice/eslint-config",
|
|
14
14
|
type: "module",
|
|
15
|
-
version: "3.0.
|
|
16
|
-
packageManager: "bun@1.
|
|
15
|
+
version: "3.0.11",
|
|
16
|
+
packageManager: "bun@1.2.0",
|
|
17
17
|
description: "Personal ESLint config",
|
|
18
18
|
license: "MIT",
|
|
19
19
|
homepage: "https://github.com/ivanmaxlogiudice/eslint-config#readme",
|
|
@@ -26,10 +26,7 @@ var package_default = {
|
|
|
26
26
|
},
|
|
27
27
|
keywords: ["eslint-config"],
|
|
28
28
|
exports: {
|
|
29
|
-
".":
|
|
30
|
-
require: "./dist/index.cjs",
|
|
31
|
-
import: "./dist/index.js"
|
|
32
|
-
}
|
|
29
|
+
".": "./dist/index.js"
|
|
33
30
|
},
|
|
34
31
|
main: "./dist/index.js",
|
|
35
32
|
types: "./dist/index.d.ts",
|
|
@@ -39,11 +36,11 @@ var package_default = {
|
|
|
39
36
|
access: "public"
|
|
40
37
|
},
|
|
41
38
|
scripts: {
|
|
42
|
-
stub: "tsup
|
|
39
|
+
stub: "tsup",
|
|
43
40
|
dev: "config-inspector --config eslint.config.ts",
|
|
44
|
-
build: "bun run typegen && tsup --
|
|
41
|
+
build: "bun run typegen && tsup --clean --dts",
|
|
45
42
|
test: "vitest",
|
|
46
|
-
lint: "eslint --
|
|
43
|
+
lint: "eslint --fix .",
|
|
47
44
|
typegen: "bun scripts/typegen.ts",
|
|
48
45
|
prepack: "bun run build",
|
|
49
46
|
release: "bumpp && npm publish",
|
|
@@ -53,9 +50,7 @@ var package_default = {
|
|
|
53
50
|
"@unocss/eslint-plugin": "^0.62.3",
|
|
54
51
|
eslint: "^9.10.0",
|
|
55
52
|
"eslint-plugin-regexp": "^2.6.0",
|
|
56
|
-
"eslint-plugin-vue": "^9.28.0",
|
|
57
53
|
"eslint-plugin-yml": "^1.14.0",
|
|
58
|
-
"vue-eslint-parser": "^9.4.3",
|
|
59
54
|
"yaml-eslint-parser": "^1.2.3"
|
|
60
55
|
},
|
|
61
56
|
peerDependenciesMeta: {
|
|
@@ -68,75 +63,70 @@ var package_default = {
|
|
|
68
63
|
"eslint-plugin-regexp": {
|
|
69
64
|
optional: true
|
|
70
65
|
},
|
|
71
|
-
"eslint-plugin-vue": {
|
|
72
|
-
optional: true
|
|
73
|
-
},
|
|
74
66
|
"eslint-plugin-yml": {
|
|
75
67
|
optional: true
|
|
76
68
|
},
|
|
77
|
-
"vue-eslint-parser": {
|
|
78
|
-
optional: true
|
|
79
|
-
},
|
|
80
69
|
"yaml-eslint-parser": {
|
|
81
70
|
optional: true
|
|
82
71
|
}
|
|
83
72
|
},
|
|
84
73
|
dependencies: {
|
|
85
|
-
"@antfu/install-pkg": "^0.
|
|
86
|
-
"@clack/prompts": "^0.
|
|
74
|
+
"@antfu/install-pkg": "^1.0.0",
|
|
75
|
+
"@clack/prompts": "^0.10.0",
|
|
87
76
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
88
|
-
"@eslint/markdown": "^6.2.
|
|
77
|
+
"@eslint/markdown": "^6.2.2",
|
|
89
78
|
"@ivanmaxlogiudice/gitignore": "^0.0.2",
|
|
90
|
-
"@stylistic/eslint-plugin": "^
|
|
91
|
-
"@
|
|
92
|
-
"@typescript-eslint/
|
|
93
|
-
"@
|
|
94
|
-
"eslint-plugin
|
|
79
|
+
"@stylistic/eslint-plugin": "^4.0.0-beta.1",
|
|
80
|
+
"@stylistic/eslint-plugin-migrate": "^4.0.0-beta.1",
|
|
81
|
+
"@typescript-eslint/eslint-plugin": "^8.24.0",
|
|
82
|
+
"@typescript-eslint/parser": "^8.24.0",
|
|
83
|
+
"@vitest/eslint-plugin": "^1.1.31",
|
|
84
|
+
"eslint-plugin-antfu": "^3.1.0",
|
|
95
85
|
"eslint-plugin-import-x": "^4.6.1",
|
|
96
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
97
|
-
"eslint-plugin-jsonc": "^2.
|
|
86
|
+
"eslint-plugin-jsdoc": "^50.6.3",
|
|
87
|
+
"eslint-plugin-jsonc": "^2.19.1",
|
|
98
88
|
"eslint-plugin-n": "^17.15.1",
|
|
99
89
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
100
|
-
"eslint-plugin-perfectionist": "^4.
|
|
90
|
+
"eslint-plugin-perfectionist": "^4.9.0",
|
|
101
91
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
102
92
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
103
|
-
|
|
93
|
+
"eslint-plugin-vue": "^9.32.0",
|
|
94
|
+
globals: "^15.15.0",
|
|
104
95
|
"jsonc-eslint-parser": "^2.4.0",
|
|
105
|
-
"local-pkg": "^0.
|
|
96
|
+
"local-pkg": "^1.0.0",
|
|
106
97
|
picocolors: "^1.1.1",
|
|
98
|
+
"vue-eslint-parser": "^9.4.3",
|
|
107
99
|
yargs: "^17.7.2"
|
|
108
100
|
},
|
|
109
101
|
devDependencies: {
|
|
110
|
-
"@eslint/config-inspector": "^0.
|
|
111
|
-
"@
|
|
112
|
-
"@types/node": "^22.10.3",
|
|
102
|
+
"@eslint/config-inspector": "^1.0.0",
|
|
103
|
+
"@types/node": "^22.13.4",
|
|
113
104
|
"@types/yargs": "^17.0.33",
|
|
114
|
-
"@unocss/eslint-plugin": "^
|
|
115
|
-
bumpp: "^
|
|
116
|
-
"bun-types": "^1.
|
|
117
|
-
eslint: "^9.
|
|
105
|
+
"@unocss/eslint-plugin": "^65.5.0",
|
|
106
|
+
bumpp: "^10.0.3",
|
|
107
|
+
"bun-types": "^1.2.2",
|
|
108
|
+
eslint: "^9.20.1",
|
|
118
109
|
"eslint-plugin-markdown": "^5.1.0",
|
|
119
110
|
"eslint-plugin-regexp": "^2.7.0",
|
|
120
|
-
"eslint-plugin-vue": "^9.32.0",
|
|
121
111
|
"eslint-plugin-yml": "^1.16.0",
|
|
122
|
-
"eslint-typegen": "^0.
|
|
123
|
-
"lint-staged": "^15.3
|
|
112
|
+
"eslint-typegen": "^1.0.0",
|
|
113
|
+
"lint-staged": "^15.4.3",
|
|
124
114
|
"simple-git-hooks": "^2.11.1",
|
|
125
|
-
tsup: "^8.3.
|
|
126
|
-
typescript: "^5.7.
|
|
127
|
-
unbuild: "^3.
|
|
128
|
-
vitest: "^
|
|
129
|
-
"vue-eslint-parser": "^9.4.3",
|
|
115
|
+
tsup: "^8.3.6",
|
|
116
|
+
typescript: "^5.7.3",
|
|
117
|
+
unbuild: "^3.3.1",
|
|
118
|
+
vitest: "^3.0.5",
|
|
130
119
|
"yaml-eslint-parser": "^1.2.3"
|
|
131
120
|
},
|
|
132
121
|
resolutions: {
|
|
133
|
-
"@types/mdast": "^4.0.4"
|
|
122
|
+
"@types/mdast": "^4.0.4",
|
|
123
|
+
eslint: "^9.20.1"
|
|
134
124
|
},
|
|
135
125
|
"simple-git-hooks": {
|
|
136
126
|
"pre-commit": "npx lint-staged"
|
|
137
127
|
},
|
|
138
128
|
"lint-staged": {
|
|
139
|
-
"*": "eslint --
|
|
129
|
+
"*": "eslint --fix"
|
|
140
130
|
}
|
|
141
131
|
};
|
|
142
132
|
|
|
@@ -432,12 +422,12 @@ var instance = yargs(hideBin(process5.argv)).scriptName("@ivanmaxlogiudice/eslin
|
|
|
432
422
|
type: "boolean"
|
|
433
423
|
}).option("template", {
|
|
434
424
|
alias: "t",
|
|
435
|
-
description: "Use the framework template for optimal customization: vue
|
|
425
|
+
description: "Use the framework template for optimal customization: vue",
|
|
436
426
|
type: "string"
|
|
437
427
|
}).option("extra", {
|
|
438
428
|
alias: "e",
|
|
439
429
|
array: true,
|
|
440
|
-
description: "Use the extra utils:
|
|
430
|
+
description: "Use the extra utils: unocss",
|
|
441
431
|
type: "string"
|
|
442
432
|
}).help(),
|
|
443
433
|
async (args) => {
|