@ivanmaxlogiudice/eslint-config 3.1.5 → 3.1.7

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.d.ts CHANGED
@@ -1 +1 @@
1
- export { };
1
+ export {};
package/dist/cli.js CHANGED
@@ -11,8 +11,8 @@ import { execSync } from "node:child_process";
11
11
  //#region package.json
12
12
  var name = "@ivanmaxlogiudice/eslint-config";
13
13
  var type = "module";
14
- var version = "3.1.5";
15
- var packageManager = "bun@1.2.16";
14
+ var version = "3.1.7";
15
+ var packageManager = "bun@1.2.21";
16
16
  var description = "Personal ESLint config";
17
17
  var license = "MIT";
18
18
  var homepage = "https://github.com/ivanmaxlogiudice/eslint-config#readme";
@@ -48,7 +48,6 @@ var peerDependencies = {
48
48
  };
49
49
  var peerDependenciesMeta = {
50
50
  "@unocss/eslint-plugin": { "optional": true },
51
- "eslint-plugin-markdown": { "optional": true },
52
51
  "eslint-plugin-regexp": { "optional": true },
53
52
  "eslint-plugin-yml": { "optional": true },
54
53
  "yaml-eslint-parser": { "optional": true }
@@ -57,49 +56,49 @@ var dependencies = {
57
56
  "@antfu/install-pkg": "^1.1.0",
58
57
  "@clack/prompts": "^0.11.0",
59
58
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
60
- "@eslint/markdown": "^6.5.0",
59
+ "@eslint/markdown": "^7.2.0",
61
60
  "@ivanmaxlogiudice/gitignore": "^0.0.2",
62
- "@stylistic/eslint-plugin": "^4.4.1",
63
- "@typescript-eslint/eslint-plugin": "^8.34.1",
64
- "@typescript-eslint/parser": "^8.34.1",
65
- "@vitest/eslint-plugin": "^1.2.7",
61
+ "@stylistic/eslint-plugin": "^5.3.1",
62
+ "@typescript-eslint/eslint-plugin": "^8.43.0",
63
+ "@typescript-eslint/parser": "^8.43.0",
64
+ "@vitest/eslint-plugin": "^1.3.9",
66
65
  "ansis": "^4.1.0",
67
66
  "cac": "^6.7.14",
68
67
  "eslint-plugin-antfu": "^3.1.1",
69
68
  "eslint-plugin-import-lite": "^0.3.0",
70
- "eslint-plugin-jsdoc": "^51.0.3",
69
+ "eslint-plugin-jsdoc": "^55.0.3",
71
70
  "eslint-plugin-jsonc": "^2.20.1",
72
- "eslint-plugin-n": "^17.20.0",
71
+ "eslint-plugin-n": "^17.21.3",
73
72
  "eslint-plugin-no-only-tests": "^3.3.0",
74
73
  "eslint-plugin-perfectionist": "^4.15.0",
75
- "eslint-plugin-unicorn": "^59.0.1",
76
- "eslint-plugin-unused-imports": "^4.1.4",
77
- "eslint-plugin-vue": "^10.2.0",
78
- "globals": "^16.2.0",
74
+ "eslint-plugin-unicorn": "^61.0.2",
75
+ "eslint-plugin-unused-imports": "^4.2.0",
76
+ "eslint-plugin-vue": "^10.4.0",
77
+ "globals": "^16.3.0",
79
78
  "jsonc-eslint-parser": "^2.4.0",
80
- "local-pkg": "^1.1.1",
81
- "tsdown": "^0.12.8",
82
- "vue-eslint-parser": "^10.1.3"
79
+ "local-pkg": "^1.1.2",
80
+ "tsdown": "^0.14.2",
81
+ "vue-eslint-parser": "^10.2.0"
83
82
  };
84
83
  var devDependencies = {
85
- "@eslint/config-inspector": "^1.1.0",
86
- "@types/node": "^24.0.3",
87
- "@unocss/eslint-plugin": "^66.2.3",
88
- "bumpp": "^10.2.0",
89
- "bun-types": "^1.2.16",
90
- "eslint": "^9.29.0",
84
+ "@eslint/config-inspector": "^1.2.0",
85
+ "@types/node": "^24.3.1",
86
+ "@unocss/eslint-plugin": "^66.5.1",
87
+ "bumpp": "^10.2.3",
88
+ "bun-types": "^1.2.21",
89
+ "eslint": "^9.35.0",
91
90
  "eslint-plugin-markdown": "^5.1.0",
92
- "eslint-plugin-regexp": "^2.9.0",
91
+ "eslint-plugin-regexp": "^2.10.0",
93
92
  "eslint-plugin-yml": "^1.18.0",
94
- "eslint-typegen": "^2.2.0",
93
+ "eslint-typegen": "^2.3.0",
95
94
  "nano-staged": "^0.8.0",
96
- "simple-git-hooks": "^2.13.0",
97
- "typescript": "^5.8.3",
98
- "unbuild": "^3.5.0",
95
+ "simple-git-hooks": "^2.13.1",
96
+ "typescript": "^5.9.2",
97
+ "unbuild": "^3.6.1",
99
98
  "vitest": "^3.2.4",
100
99
  "yaml-eslint-parser": "^1.3.0"
101
100
  };
102
- var resolutions = { "eslint": "^9.29.0" };
101
+ var resolutions = { "eslint": "^9.35.0" };
103
102
  var simple_git_hooks = { "pre-commit": "./node_modules/.bin/nano-staged" };
104
103
  var nano_staged = { "*": "eslint --fix" };
105
104
  var package_default = {
@@ -209,8 +208,7 @@ async function updateEslintFiles(result) {
209
208
  const pathESLintIgnore = path.join(cwd, ".eslintignore");
210
209
  const pathPackageJSON = path.join(cwd, "package.json");
211
210
  const pkgContent = await fsp.readFile(pathPackageJSON, "utf-8");
212
- const pkg = JSON.parse(pkgContent);
213
- const configFileName = pkg.type === "module" ? "eslint.config.js" : "eslint.config.mjs";
211
+ const configFileName = JSON.parse(pkgContent).type === "module" ? "eslint.config.js" : "eslint.config.mjs";
214
212
  const pathFlatConfig = path.join(cwd, configFileName);
215
213
  const eslintIgnores = [];
216
214
  if (fs.existsSync(pathESLintIgnore)) {
@@ -223,8 +221,7 @@ async function updateEslintFiles(result) {
223
221
  if (result.extra.includes("unocss")) configLines.push(`unocss: true,`);
224
222
  for (const framework of result.frameworks) configLines.push(`${framework}: true,`);
225
223
  const mainConfig = configLines.map((i) => ` ${i}`).join("\n");
226
- const additionalConfig = [];
227
- const eslintConfigContent = getEslintConfigContent(mainConfig, additionalConfig);
224
+ const eslintConfigContent = getEslintConfigContent(mainConfig, []);
228
225
  await fsp.writeFile(pathFlatConfig, eslintConfigContent);
229
226
  p.log.success(c.green`Created ${configFileName}`);
230
227
  const files$1 = fs.readdirSync(cwd).sort();
@@ -372,4 +369,5 @@ cli.help();
372
369
  cli.version(package_default.version);
373
370
  cli.parse();
374
371
 
375
- //#endregion
372
+ //#endregion
373
+ export { };