@ivanmaxlogiudice/eslint-config 2.0.0 → 2.0.2

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/README.md CHANGED
@@ -118,6 +118,7 @@ Add the following settings to your `settings.json`:
118
118
  ```jsonc
119
119
  {
120
120
  // Enable the flat config support
121
+ // (remove this if your ESLint extension above v3.0.5)
121
122
  "eslint.useFlatConfig": true,
122
123
 
123
124
  // Disable the default formatter
package/dist/cli.cjs CHANGED
@@ -40,8 +40,8 @@ var import_picocolors = __toESM(require("picocolors"), 1);
40
40
  // package.json
41
41
  var package_default = {
42
42
  name: "@ivanmaxlogiudice/eslint-config",
43
- version: "2.0.0",
44
- packageManager: "pnpm@9.0.4",
43
+ version: "2.0.2",
44
+ packageManager: "pnpm@9.1.0",
45
45
  description: "Personal ESLint config",
46
46
  type: "module",
47
47
  keywords: [
@@ -99,32 +99,32 @@ var package_default = {
99
99
  }
100
100
  },
101
101
  dependencies: {
102
- "@antfu/install-pkg": "^0.3.2",
102
+ "@antfu/install-pkg": "^0.3.3",
103
103
  "@clack/prompts": "^0.7.0",
104
- "@stylistic/eslint-plugin": "^1.7.2",
105
- "@typescript-eslint/eslint-plugin": "^7.7.0",
106
- "@typescript-eslint/parser": "^7.7.0",
104
+ "@stylistic/eslint-plugin": "^1.8.1",
105
+ "@typescript-eslint/eslint-plugin": "^7.8.0",
106
+ "@typescript-eslint/parser": "^7.8.0",
107
107
  "detect-indent": "^7.0.1",
108
108
  "eslint-config-flat-gitignore": "^0.1.5",
109
- "eslint-flat-config-utils": "^0.2.3",
109
+ "eslint-flat-config-utils": "^0.2.4",
110
110
  "eslint-merge-processors": "^0.1.0",
111
- "eslint-plugin-antfu": "^2.1.2",
111
+ "eslint-plugin-antfu": "^2.1.3",
112
112
  "eslint-plugin-eslint-comments": "^3.2.0",
113
113
  "eslint-plugin-import-x": "^0.5.0",
114
114
  "eslint-plugin-jsdoc": "^48.2.3",
115
115
  "eslint-plugin-jsonc": "^2.15.1",
116
- "eslint-plugin-markdown": "^4.0.1",
117
- "eslint-plugin-n": "^17.2.1",
116
+ "eslint-plugin-markdown": "^5.0.0",
117
+ "eslint-plugin-n": "^17.5.1",
118
118
  "eslint-plugin-no-only-tests": "^3.1.0",
119
- "eslint-plugin-perfectionist": "^2.9.0",
119
+ "eslint-plugin-perfectionist": "^2.10.0",
120
120
  "eslint-plugin-unicorn": "^52.0.0",
121
- "eslint-plugin-unused-imports": "^3.1.0",
122
- "eslint-plugin-vitest": "^0.5.3",
121
+ "eslint-plugin-unused-imports": "^3.2.0",
122
+ "eslint-plugin-vitest": "^0.5.4",
123
123
  "eslint-plugin-vue": "^9.25.0",
124
124
  "eslint-plugin-yml": "^1.14.0",
125
125
  "eslint-processor-vue-blocks": "^0.1.2",
126
- "eslint-typegen": "^0.2.3",
127
- globals: "^15.0.0",
126
+ "eslint-typegen": "^0.2.4",
127
+ globals: "^15.1.0",
128
128
  "jsonc-eslint-parser": "^2.4.0",
129
129
  "local-pkg": "^0.5.0",
130
130
  "parse-gitignore": "^2.0.0",
@@ -134,17 +134,17 @@ var package_default = {
134
134
  yargs: "^17.7.2"
135
135
  },
136
136
  devDependencies: {
137
- "@eslint/config-inspector": "^0.4.6",
138
- "@stylistic/eslint-plugin-migrate": "^1.7.2",
137
+ "@eslint/config-inspector": "^0.4.8",
138
+ "@stylistic/eslint-plugin-migrate": "^1.8.1",
139
139
  "@types/eslint": "^8.56.10",
140
140
  "@types/fs-extra": "^11.0.4",
141
- "@types/node": "^20.12.7",
141
+ "@types/node": "^20.12.10",
142
142
  "@types/prompts": "^2.4.9",
143
143
  "@types/yargs": "^17.0.32",
144
144
  "@unocss/eslint-plugin": "^0.59.4",
145
- bumpp: "^9.4.0",
146
- "bundle-require": "^4.0.2",
147
- eslint: "^9.1.0",
145
+ bumpp: "^9.4.1",
146
+ "bundle-require": "^4.1.0",
147
+ eslint: "^9.2.0",
148
148
  "eslint-plugin-format": "^0.1.1",
149
149
  esno: "^4.7.0",
150
150
  execa: "^8.0.1",
@@ -154,8 +154,8 @@ var package_default = {
154
154
  "simple-git-hooks": "^2.11.1",
155
155
  tsup: "^8.0.2",
156
156
  typescript: "^5.4.5",
157
- vitest: "^1.5.0",
158
- vue: "^3.4.23"
157
+ vitest: "^1.6.0",
158
+ vue: "^3.4.27"
159
159
  },
160
160
  engines: {
161
161
  node: ">=18.12.0"
@@ -175,6 +175,7 @@ var CROSS = import_picocolors.default.red("\u2718");
175
175
  var WARN = import_picocolors.default.yellow("\u2139");
176
176
  var vscodeSettingsString = `
177
177
  // Enable the ESlint flat config support
178
+ // (remove this if your ESLint extension above v3.0.5)
178
179
  "eslint.useFlatConfig": true,
179
180
 
180
181
  // Disable the default formatter, use eslint instead
package/dist/cli.js CHANGED
@@ -1,12 +1,4 @@
1
- import {
2
- init_esm_shims
3
- } from "./chunk-GJINZYDK.js";
4
-
5
- // src/cli.ts
6
- init_esm_shims();
7
-
8
1
  // src/cli/index.ts
9
- init_esm_shims();
10
2
  import process5 from "node:process";
11
3
  import * as p5 from "@clack/prompts";
12
4
  import c6 from "picocolors";
@@ -14,14 +6,13 @@ import yargs from "yargs";
14
6
  import { hideBin } from "yargs/helpers";
15
7
 
16
8
  // src/cli/constants.ts
17
- init_esm_shims();
18
9
  import c from "picocolors";
19
10
 
20
11
  // package.json
21
12
  var package_default = {
22
13
  name: "@ivanmaxlogiudice/eslint-config",
23
- version: "2.0.0",
24
- packageManager: "pnpm@9.0.4",
14
+ version: "2.0.2",
15
+ packageManager: "pnpm@9.1.0",
25
16
  description: "Personal ESLint config",
26
17
  type: "module",
27
18
  keywords: [
@@ -79,32 +70,32 @@ var package_default = {
79
70
  }
80
71
  },
81
72
  dependencies: {
82
- "@antfu/install-pkg": "^0.3.2",
73
+ "@antfu/install-pkg": "^0.3.3",
83
74
  "@clack/prompts": "^0.7.0",
84
- "@stylistic/eslint-plugin": "^1.7.2",
85
- "@typescript-eslint/eslint-plugin": "^7.7.0",
86
- "@typescript-eslint/parser": "^7.7.0",
75
+ "@stylistic/eslint-plugin": "^1.8.1",
76
+ "@typescript-eslint/eslint-plugin": "^7.8.0",
77
+ "@typescript-eslint/parser": "^7.8.0",
87
78
  "detect-indent": "^7.0.1",
88
79
  "eslint-config-flat-gitignore": "^0.1.5",
89
- "eslint-flat-config-utils": "^0.2.3",
80
+ "eslint-flat-config-utils": "^0.2.4",
90
81
  "eslint-merge-processors": "^0.1.0",
91
- "eslint-plugin-antfu": "^2.1.2",
82
+ "eslint-plugin-antfu": "^2.1.3",
92
83
  "eslint-plugin-eslint-comments": "^3.2.0",
93
84
  "eslint-plugin-import-x": "^0.5.0",
94
85
  "eslint-plugin-jsdoc": "^48.2.3",
95
86
  "eslint-plugin-jsonc": "^2.15.1",
96
- "eslint-plugin-markdown": "^4.0.1",
97
- "eslint-plugin-n": "^17.2.1",
87
+ "eslint-plugin-markdown": "^5.0.0",
88
+ "eslint-plugin-n": "^17.5.1",
98
89
  "eslint-plugin-no-only-tests": "^3.1.0",
99
- "eslint-plugin-perfectionist": "^2.9.0",
90
+ "eslint-plugin-perfectionist": "^2.10.0",
100
91
  "eslint-plugin-unicorn": "^52.0.0",
101
- "eslint-plugin-unused-imports": "^3.1.0",
102
- "eslint-plugin-vitest": "^0.5.3",
92
+ "eslint-plugin-unused-imports": "^3.2.0",
93
+ "eslint-plugin-vitest": "^0.5.4",
103
94
  "eslint-plugin-vue": "^9.25.0",
104
95
  "eslint-plugin-yml": "^1.14.0",
105
96
  "eslint-processor-vue-blocks": "^0.1.2",
106
- "eslint-typegen": "^0.2.3",
107
- globals: "^15.0.0",
97
+ "eslint-typegen": "^0.2.4",
98
+ globals: "^15.1.0",
108
99
  "jsonc-eslint-parser": "^2.4.0",
109
100
  "local-pkg": "^0.5.0",
110
101
  "parse-gitignore": "^2.0.0",
@@ -114,17 +105,17 @@ var package_default = {
114
105
  yargs: "^17.7.2"
115
106
  },
116
107
  devDependencies: {
117
- "@eslint/config-inspector": "^0.4.6",
118
- "@stylistic/eslint-plugin-migrate": "^1.7.2",
108
+ "@eslint/config-inspector": "^0.4.8",
109
+ "@stylistic/eslint-plugin-migrate": "^1.8.1",
119
110
  "@types/eslint": "^8.56.10",
120
111
  "@types/fs-extra": "^11.0.4",
121
- "@types/node": "^20.12.7",
112
+ "@types/node": "^20.12.10",
122
113
  "@types/prompts": "^2.4.9",
123
114
  "@types/yargs": "^17.0.32",
124
115
  "@unocss/eslint-plugin": "^0.59.4",
125
- bumpp: "^9.4.0",
126
- "bundle-require": "^4.0.2",
127
- eslint: "^9.1.0",
116
+ bumpp: "^9.4.1",
117
+ "bundle-require": "^4.1.0",
118
+ eslint: "^9.2.0",
128
119
  "eslint-plugin-format": "^0.1.1",
129
120
  esno: "^4.7.0",
130
121
  execa: "^8.0.1",
@@ -134,8 +125,8 @@ var package_default = {
134
125
  "simple-git-hooks": "^2.11.1",
135
126
  tsup: "^8.0.2",
136
127
  typescript: "^5.4.5",
137
- vitest: "^1.5.0",
138
- vue: "^3.4.23"
128
+ vitest: "^1.6.0",
129
+ vue: "^3.4.27"
139
130
  },
140
131
  engines: {
141
132
  node: ">=18.12.0"
@@ -155,6 +146,7 @@ var CROSS = c.red("\u2718");
155
146
  var WARN = c.yellow("\u2139");
156
147
  var vscodeSettingsString = `
157
148
  // Enable the ESlint flat config support
149
+ // (remove this if your ESLint extension above v3.0.5)
158
150
  "eslint.useFlatConfig": true,
159
151
 
160
152
  // Disable the default formatter, use eslint instead
@@ -219,7 +211,6 @@ var dependenciesMap = {
219
211
  };
220
212
 
221
213
  // src/cli/run.ts
222
- init_esm_shims();
223
214
  import fs3 from "node:fs";
224
215
  import path4 from "node:path";
225
216
  import process4 from "node:process";
@@ -227,7 +218,6 @@ import * as p4 from "@clack/prompts";
227
218
  import c5 from "picocolors";
228
219
 
229
220
  // src/cli/stages/update-eslint-files.ts
230
- init_esm_shims();
231
221
  import fs from "node:fs";
232
222
  import fsp from "node:fs/promises";
233
223
  import path from "node:path";
@@ -237,7 +227,6 @@ import parse from "parse-gitignore";
237
227
  import c2 from "picocolors";
238
228
 
239
229
  // src/cli/utils.ts
240
- init_esm_shims();
241
230
  import { execSync } from "node:child_process";
242
231
  function isGitClean() {
243
232
  try {
@@ -306,7 +295,6 @@ async function updateEslintFiles(result) {
306
295
  }
307
296
 
308
297
  // src/cli/stages/update-package-json.ts
309
- init_esm_shims();
310
298
  import fsp2 from "node:fs/promises";
311
299
  import path2 from "node:path";
312
300
  import process2 from "node:process";
@@ -358,7 +346,6 @@ async function updatePackageJson(result) {
358
346
  }
359
347
 
360
348
  // src/cli/stages/update-vscode-settings.ts
361
- init_esm_shims();
362
349
  import fs2 from "node:fs";
363
350
  import fsp3 from "node:fs/promises";
364
351
  import path3 from "node:path";