@ivanmaxlogiudice/eslint-config 3.0.10 → 3.0.12
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/bin/index.js +0 -0
- package/dist/cli.js +34 -42
- package/dist/index.d.ts +1136 -430
- package/dist/index.js +1 -2
- package/package.json +31 -39
package/bin/index.js
CHANGED
|
File without changes
|
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.2.
|
|
15
|
+
version: "3.0.12",
|
|
16
|
+
packageManager: "bun@1.2.4",
|
|
17
17
|
description: "Personal ESLint config",
|
|
18
18
|
license: "MIT",
|
|
19
19
|
homepage: "https://github.com/ivanmaxlogiudice/eslint-config#readme",
|
|
@@ -40,7 +40,7 @@ var package_default = {
|
|
|
40
40
|
dev: "config-inspector --config eslint.config.ts",
|
|
41
41
|
build: "bun run typegen && tsup --clean --dts",
|
|
42
42
|
test: "vitest",
|
|
43
|
-
lint: "eslint --fix
|
|
43
|
+
lint: "eslint --fix",
|
|
44
44
|
typegen: "bun scripts/typegen.ts",
|
|
45
45
|
prepack: "bun run build",
|
|
46
46
|
release: "bumpp && npm publish",
|
|
@@ -50,9 +50,7 @@ var package_default = {
|
|
|
50
50
|
"@unocss/eslint-plugin": "^0.62.3",
|
|
51
51
|
eslint: "^9.10.0",
|
|
52
52
|
"eslint-plugin-regexp": "^2.6.0",
|
|
53
|
-
"eslint-plugin-vue": "^9.28.0",
|
|
54
53
|
"eslint-plugin-yml": "^1.14.0",
|
|
55
|
-
"vue-eslint-parser": "^9.4.3",
|
|
56
54
|
"yaml-eslint-parser": "^1.2.3"
|
|
57
55
|
},
|
|
58
56
|
peerDependenciesMeta: {
|
|
@@ -65,70 +63,64 @@ var package_default = {
|
|
|
65
63
|
"eslint-plugin-regexp": {
|
|
66
64
|
optional: true
|
|
67
65
|
},
|
|
68
|
-
"eslint-plugin-vue": {
|
|
69
|
-
optional: true
|
|
70
|
-
},
|
|
71
66
|
"eslint-plugin-yml": {
|
|
72
67
|
optional: true
|
|
73
68
|
},
|
|
74
|
-
"vue-eslint-parser": {
|
|
75
|
-
optional: true
|
|
76
|
-
},
|
|
77
69
|
"yaml-eslint-parser": {
|
|
78
70
|
optional: true
|
|
79
71
|
}
|
|
80
72
|
},
|
|
81
73
|
dependencies: {
|
|
82
74
|
"@antfu/install-pkg": "^1.0.0",
|
|
83
|
-
"@clack/prompts": "^0.
|
|
75
|
+
"@clack/prompts": "^0.10.0",
|
|
84
76
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
85
77
|
"@eslint/markdown": "^6.2.2",
|
|
86
78
|
"@ivanmaxlogiudice/gitignore": "^0.0.2",
|
|
87
|
-
"@stylistic/eslint-plugin": "^
|
|
88
|
-
"@
|
|
89
|
-
"@typescript-eslint/
|
|
90
|
-
"@
|
|
91
|
-
"eslint-plugin
|
|
79
|
+
"@stylistic/eslint-plugin": "^4.2.0",
|
|
80
|
+
"@stylistic/eslint-plugin-migrate": "^4.2.0",
|
|
81
|
+
"@typescript-eslint/eslint-plugin": "^8.26.0",
|
|
82
|
+
"@typescript-eslint/parser": "^8.26.0",
|
|
83
|
+
"@vitest/eslint-plugin": "^1.1.36",
|
|
84
|
+
"eslint-plugin-antfu": "^3.1.0",
|
|
92
85
|
"eslint-plugin-import-x": "^4.6.1",
|
|
93
86
|
"eslint-plugin-jsdoc": "^50.6.3",
|
|
94
87
|
"eslint-plugin-jsonc": "^2.19.1",
|
|
95
|
-
"eslint-plugin-n": "^17.
|
|
88
|
+
"eslint-plugin-n": "^17.16.1",
|
|
96
89
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
97
|
-
"eslint-plugin-perfectionist": "^4.
|
|
98
|
-
"eslint-plugin-unicorn": "^
|
|
90
|
+
"eslint-plugin-perfectionist": "^4.9.0",
|
|
91
|
+
"eslint-plugin-unicorn": "^57.0.0",
|
|
99
92
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
100
|
-
|
|
93
|
+
"eslint-plugin-vue": "^9.32.0",
|
|
94
|
+
globals: "^16.0.0",
|
|
101
95
|
"jsonc-eslint-parser": "^2.4.0",
|
|
102
|
-
"local-pkg": "^1.
|
|
96
|
+
"local-pkg": "^1.1.1",
|
|
103
97
|
picocolors: "^1.1.1",
|
|
98
|
+
"vue-eslint-parser": "^9.4.3",
|
|
104
99
|
yargs: "^17.7.2"
|
|
105
100
|
},
|
|
106
101
|
devDependencies: {
|
|
107
|
-
"@eslint/config-inspector": "^1.0.
|
|
108
|
-
"@
|
|
109
|
-
"@types/node": "^22.10.10",
|
|
102
|
+
"@eslint/config-inspector": "^1.0.1",
|
|
103
|
+
"@types/node": "^22.13.9",
|
|
110
104
|
"@types/yargs": "^17.0.33",
|
|
111
|
-
"@unocss/eslint-plugin": "^
|
|
112
|
-
bumpp: "^10.0.
|
|
113
|
-
"bun-types": "^1.2.
|
|
114
|
-
eslint: "^9.
|
|
105
|
+
"@unocss/eslint-plugin": "^66.0.0",
|
|
106
|
+
bumpp: "^10.0.3",
|
|
107
|
+
"bun-types": "^1.2.4",
|
|
108
|
+
eslint: "^9.21.0",
|
|
115
109
|
"eslint-plugin-markdown": "^5.1.0",
|
|
116
110
|
"eslint-plugin-regexp": "^2.7.0",
|
|
117
|
-
"eslint-plugin-
|
|
118
|
-
"eslint-
|
|
119
|
-
"eslint-typegen": "^1.0.0",
|
|
111
|
+
"eslint-plugin-yml": "^1.17.0",
|
|
112
|
+
"eslint-typegen": "^2.0.0",
|
|
120
113
|
"lint-staged": "^15.4.3",
|
|
121
114
|
"simple-git-hooks": "^2.11.1",
|
|
122
|
-
tsup: "^8.
|
|
123
|
-
typescript: "^5.
|
|
124
|
-
unbuild: "^3.
|
|
125
|
-
vitest: "^3.0.
|
|
126
|
-
"
|
|
127
|
-
"yaml-eslint-parser": "^1.2.3"
|
|
115
|
+
tsup: "^8.4.0",
|
|
116
|
+
typescript: "^5.8.2",
|
|
117
|
+
unbuild: "^3.5.0",
|
|
118
|
+
vitest: "^3.0.7",
|
|
119
|
+
"yaml-eslint-parser": "^1.3.0"
|
|
128
120
|
},
|
|
129
121
|
resolutions: {
|
|
130
122
|
"@types/mdast": "^4.0.4",
|
|
131
|
-
eslint: "^9.
|
|
123
|
+
eslint: "^9.21.0"
|
|
132
124
|
},
|
|
133
125
|
"simple-git-hooks": {
|
|
134
126
|
"pre-commit": "npx lint-staged"
|
|
@@ -412,7 +404,7 @@ async function run(options = {}) {
|
|
|
412
404
|
await updateEslintFiles(result);
|
|
413
405
|
await updateVscodeSettings(result);
|
|
414
406
|
p4.log.success(c5.green(`Setup completed`));
|
|
415
|
-
p4.outro(`Now you can update the dependencies and run ${c5.blue("eslint
|
|
407
|
+
p4.outro(`Now you can update the dependencies and run ${c5.blue("eslint --fix")}
|
|
416
408
|
`);
|
|
417
409
|
}
|
|
418
410
|
|
|
@@ -430,12 +422,12 @@ var instance = yargs(hideBin(process5.argv)).scriptName("@ivanmaxlogiudice/eslin
|
|
|
430
422
|
type: "boolean"
|
|
431
423
|
}).option("template", {
|
|
432
424
|
alias: "t",
|
|
433
|
-
description: "Use the framework template for optimal customization: vue
|
|
425
|
+
description: "Use the framework template for optimal customization: vue",
|
|
434
426
|
type: "string"
|
|
435
427
|
}).option("extra", {
|
|
436
428
|
alias: "e",
|
|
437
429
|
array: true,
|
|
438
|
-
description: "Use the extra utils:
|
|
430
|
+
description: "Use the extra utils: unocss",
|
|
439
431
|
type: "string"
|
|
440
432
|
}).help(),
|
|
441
433
|
async (args) => {
|