@isentinel/eslint-config 1.2.5 → 1.3.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.
|
@@ -27,9 +27,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
mod
|
|
28
28
|
));
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/tsup@8.
|
|
30
|
+
// node_modules/.pnpm/tsup@8.5.0_jiti@2.5.1_tsx@4.20.3_typescript@5.8.3_yaml@2.8.0/node_modules/tsup/assets/esm_shims.js
|
|
31
|
+
import path from "path";
|
|
32
|
+
import { fileURLToPath } from "url";
|
|
31
33
|
var init_esm_shims = __esm({
|
|
32
|
-
"node_modules/.pnpm/tsup@8.
|
|
34
|
+
"node_modules/.pnpm/tsup@8.5.0_jiti@2.5.1_tsx@4.20.3_typescript@5.8.3_yaml@2.8.0/node_modules/tsup/assets/esm_shims.js"() {
|
|
33
35
|
"use strict";
|
|
34
36
|
}
|
|
35
37
|
});
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_esm_shims
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TEYT6Q6D.js";
|
|
4
4
|
|
|
5
5
|
// src/cli.ts
|
|
6
6
|
init_esm_shims();
|
|
@@ -9,7 +9,7 @@ init_esm_shims();
|
|
|
9
9
|
init_esm_shims();
|
|
10
10
|
import { intro, log as log5 } from "@clack/prompts";
|
|
11
11
|
import ansis6 from "ansis";
|
|
12
|
-
import process5 from "
|
|
12
|
+
import process5 from "process";
|
|
13
13
|
import yargs from "yargs";
|
|
14
14
|
import { hideBin } from "yargs/helpers";
|
|
15
15
|
|
|
@@ -18,7 +18,7 @@ init_esm_shims();
|
|
|
18
18
|
import ansis from "ansis";
|
|
19
19
|
|
|
20
20
|
// package.json
|
|
21
|
-
var version = "1.
|
|
21
|
+
var version = "1.3.0";
|
|
22
22
|
var package_default = {
|
|
23
23
|
name: "@isentinel/eslint-config",
|
|
24
24
|
version,
|
|
@@ -56,7 +56,8 @@ var package_default = {
|
|
|
56
56
|
dev: "npx @eslint/config-inspector --config eslint.config.ts",
|
|
57
57
|
gen: "tsx scripts/typegen.ts && tsx scripts/versiongen.ts",
|
|
58
58
|
postgen: "echo 'Generation complete!'",
|
|
59
|
-
lint: "eslint",
|
|
59
|
+
lint: "eslint --cache",
|
|
60
|
+
"lint:ci": "eslint --cache --cache-strategy content",
|
|
60
61
|
prepack: "nr build",
|
|
61
62
|
prepare: "simple-git-hooks",
|
|
62
63
|
release: "bumpp",
|
|
@@ -68,7 +69,7 @@ var package_default = {
|
|
|
68
69
|
"pre-commit": "pnpm lint-staged"
|
|
69
70
|
},
|
|
70
71
|
"lint-staged": {
|
|
71
|
-
"*": "eslint --fix"
|
|
72
|
+
"*": "eslint --fix --cache"
|
|
72
73
|
},
|
|
73
74
|
dependencies: {
|
|
74
75
|
"@antfu/install-pkg": "catalog:prod",
|
|
@@ -95,7 +96,7 @@ var package_default = {
|
|
|
95
96
|
"eslint-plugin-de-morgan": "catalog:prod",
|
|
96
97
|
"eslint-plugin-format": "catalog:prod",
|
|
97
98
|
"eslint-plugin-format-lua": "catalog:prod",
|
|
98
|
-
"eslint-plugin-import-
|
|
99
|
+
"eslint-plugin-import-lite": "catalog:prod",
|
|
99
100
|
"eslint-plugin-jsdoc": "catalog:prod",
|
|
100
101
|
"eslint-plugin-jsonc": "catalog:prod",
|
|
101
102
|
"eslint-plugin-no-only-tests": "catalog:prod",
|
|
@@ -103,7 +104,7 @@ var package_default = {
|
|
|
103
104
|
"eslint-plugin-perfectionist": "catalog:prod",
|
|
104
105
|
"eslint-plugin-pnpm": "catalog:prod",
|
|
105
106
|
"eslint-plugin-promise": "catalog:prod",
|
|
106
|
-
"eslint-plugin-roblox-ts
|
|
107
|
+
"eslint-plugin-roblox-ts": "catalog:prod",
|
|
107
108
|
"eslint-plugin-sentinel": "catalog:prod",
|
|
108
109
|
"eslint-plugin-sonarjs": "catalog:prod",
|
|
109
110
|
"eslint-plugin-toml": "catalog:prod",
|
|
@@ -157,14 +158,17 @@ var package_default = {
|
|
|
157
158
|
"@eslint-react/eslint-plugin": {
|
|
158
159
|
optional: true
|
|
159
160
|
},
|
|
160
|
-
"eslint-plugin-
|
|
161
|
+
"eslint-plugin-jest": {
|
|
161
162
|
optional: true
|
|
162
163
|
},
|
|
163
|
-
"eslint-plugin-
|
|
164
|
+
"eslint-plugin-react-roblox-hooks": {
|
|
164
165
|
optional: true
|
|
165
166
|
}
|
|
166
167
|
},
|
|
167
|
-
packageManager: "pnpm@10.
|
|
168
|
+
packageManager: "pnpm@10.14.0",
|
|
169
|
+
engines: {
|
|
170
|
+
node: ">=22.1.0"
|
|
171
|
+
},
|
|
168
172
|
publishConfig: {
|
|
169
173
|
access: "public"
|
|
170
174
|
}
|
|
@@ -228,22 +232,22 @@ var dependenciesMap = {
|
|
|
228
232
|
init_esm_shims();
|
|
229
233
|
import { cancel, confirm, group, log as log4, multiselect, outro } from "@clack/prompts";
|
|
230
234
|
import ansis5 from "ansis";
|
|
231
|
-
import fs3 from "
|
|
232
|
-
import process4 from "
|
|
235
|
+
import fs3 from "fs";
|
|
236
|
+
import process4 from "process";
|
|
233
237
|
|
|
234
238
|
// src/cli/stages/update-eslint-files.ts
|
|
235
239
|
init_esm_shims();
|
|
236
240
|
import { log, note } from "@clack/prompts";
|
|
237
241
|
import ansis2 from "ansis";
|
|
238
|
-
import fs from "
|
|
239
|
-
import fsp from "
|
|
240
|
-
import path from "
|
|
241
|
-
import process from "
|
|
242
|
+
import fs from "fs";
|
|
243
|
+
import fsp from "fs/promises";
|
|
244
|
+
import path from "path";
|
|
245
|
+
import process from "process";
|
|
242
246
|
import parse from "parse-gitignore";
|
|
243
247
|
|
|
244
248
|
// src/cli/utils.ts
|
|
245
249
|
init_esm_shims();
|
|
246
|
-
import { execSync } from "
|
|
250
|
+
import { execSync } from "child_process";
|
|
247
251
|
function getEslintConfigContent(mainConfig, additionalConfigs) {
|
|
248
252
|
return `
|
|
249
253
|
import style from '@isentinel/eslint-config'
|
|
@@ -315,16 +319,16 @@ async function updateEslintFiles(result) {
|
|
|
315
319
|
init_esm_shims();
|
|
316
320
|
import { log as log2, note as note2 } from "@clack/prompts";
|
|
317
321
|
import ansis3 from "ansis";
|
|
318
|
-
import fsp2 from "
|
|
319
|
-
import path2 from "
|
|
320
|
-
import process2 from "
|
|
322
|
+
import fsp2 from "fs/promises";
|
|
323
|
+
import path2 from "path";
|
|
324
|
+
import process2 from "process";
|
|
321
325
|
|
|
322
326
|
// src/cli/constants-generated.ts
|
|
323
327
|
init_esm_shims();
|
|
324
328
|
var versionsMap = {
|
|
325
|
-
"@eslint-react/eslint-plugin": "1.
|
|
326
|
-
"eslint": "9.
|
|
327
|
-
"eslint-plugin-jest": "
|
|
329
|
+
"@eslint-react/eslint-plugin": "1.52.3",
|
|
330
|
+
"eslint": "9.32.0",
|
|
331
|
+
"eslint-plugin-jest": "29.0.1",
|
|
328
332
|
"eslint-plugin-react-roblox-hooks": "5.1.0-rbx.1"
|
|
329
333
|
};
|
|
330
334
|
|
|
@@ -358,10 +362,10 @@ async function updatePackageJson(result) {
|
|
|
358
362
|
init_esm_shims();
|
|
359
363
|
import { log as log3 } from "@clack/prompts";
|
|
360
364
|
import ansis4 from "ansis";
|
|
361
|
-
import fs2 from "
|
|
362
|
-
import fsp3 from "
|
|
363
|
-
import path3 from "
|
|
364
|
-
import process3 from "
|
|
365
|
+
import fs2 from "fs";
|
|
366
|
+
import fsp3 from "fs/promises";
|
|
367
|
+
import path3 from "path";
|
|
368
|
+
import process3 from "process";
|
|
365
369
|
async function updateVscodeSettings(result) {
|
|
366
370
|
const cwd = process3.cwd();
|
|
367
371
|
if (!result.updateVscodeSettings) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__commonJS,
|
|
3
3
|
init_esm_shims
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TEYT6Q6D.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
6
|
+
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.32.0_jiti@2.5.1_/node_modules/eslint-plugin-simple-import-sort/shared.js
|
|
7
7
|
var require_shared = __commonJS({
|
|
8
|
-
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
8
|
+
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.32.0_jiti@2.5.1_/node_modules/eslint-plugin-simple-import-sort/shared.js"(exports, module) {
|
|
9
9
|
"use strict";
|
|
10
10
|
init_esm_shims();
|
|
11
11
|
function extractChunks(parentNode, isPartOfChunk) {
|
|
@@ -567,9 +567,9 @@ var require_shared = __commonJS({
|
|
|
567
567
|
}
|
|
568
568
|
});
|
|
569
569
|
|
|
570
|
-
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
570
|
+
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.32.0_jiti@2.5.1_/node_modules/eslint-plugin-simple-import-sort/imports.js
|
|
571
571
|
var require_imports = __commonJS({
|
|
572
|
-
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
572
|
+
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.32.0_jiti@2.5.1_/node_modules/eslint-plugin-simple-import-sort/imports.js"(exports, module) {
|
|
573
573
|
"use strict";
|
|
574
574
|
init_esm_shims();
|
|
575
575
|
var shared = require_shared();
|
|
@@ -695,9 +695,9 @@ var require_imports = __commonJS({
|
|
|
695
695
|
}
|
|
696
696
|
});
|
|
697
697
|
|
|
698
|
-
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
698
|
+
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.32.0_jiti@2.5.1_/node_modules/eslint-plugin-simple-import-sort/exports.js
|
|
699
699
|
var require_exports = __commonJS({
|
|
700
|
-
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
700
|
+
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.32.0_jiti@2.5.1_/node_modules/eslint-plugin-simple-import-sort/exports.js"(exports, module) {
|
|
701
701
|
"use strict";
|
|
702
702
|
init_esm_shims();
|
|
703
703
|
var shared = require_shared();
|
|
@@ -787,9 +787,9 @@ var require_exports = __commonJS({
|
|
|
787
787
|
}
|
|
788
788
|
});
|
|
789
789
|
|
|
790
|
-
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
790
|
+
// node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.32.0_jiti@2.5.1_/node_modules/eslint-plugin-simple-import-sort/index.js
|
|
791
791
|
var require_eslint_plugin_simple_import_sort = __commonJS({
|
|
792
|
-
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.
|
|
792
|
+
"node_modules/.pnpm/eslint-plugin-simple-import-sort@12.1.1_eslint@9.32.0_jiti@2.5.1_/node_modules/eslint-plugin-simple-import-sort/index.js"(exports, module) {
|
|
793
793
|
init_esm_shims();
|
|
794
794
|
var importsRule = require_imports();
|
|
795
795
|
var exportsRule = require_exports();
|