@storm-software/eslint 0.170.104 → 0.170.106

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.
@@ -0,0 +1,594 @@
1
+ import { GLOB_EXCLUDE, GLOB_TS, GLOB_TSX } from './chunk-WRL7SCXT.js';
2
+ import { __commonJS, init_esm_shims, __toESM } from './chunk-67G5I72Q.js';
3
+ import * as __import__microsoft_tsdocConfig from '@microsoft/tsdoc-config';
4
+ import * as __import_path from 'path';
5
+ import * as __import_fs from 'fs';
6
+ import * as __import__microsoft_tsdoc from '@microsoft/tsdoc';
7
+
8
+ // ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c262176eba68bfd8898c896d48ca12af2147a650ca7a9cbfe8edf1cf981cdbc9/node_modules/eslint-plugin-tsdoc/lib/Debug.js
9
+ var require_Debug = __commonJS({
10
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c262176eba68bfd8898c896d48ca12af2147a650ca7a9cbfe8edf1cf981cdbc9/node_modules/eslint-plugin-tsdoc/lib/Debug.js"(exports) {
11
+ init_esm_shims();
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ exports.Debug = void 0;
14
+ var Debug = class {
15
+ // To debug the plugin, temporarily uncomment the body of this function
16
+ static log(message) {
17
+ }
18
+ };
19
+ exports.Debug = Debug;
20
+ }
21
+ });
22
+ var require_ConfigCache = __commonJS({
23
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c262176eba68bfd8898c896d48ca12af2147a650ca7a9cbfe8edf1cf981cdbc9/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js"(exports) {
24
+ init_esm_shims();
25
+ var __import___Debug = __toESM(require_Debug());
26
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
27
+ if (k2 === void 0) k2 = k;
28
+ var desc = Object.getOwnPropertyDescriptor(m, k);
29
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
30
+ desc = { enumerable: true, get: function() {
31
+ return m[k];
32
+ } };
33
+ }
34
+ Object.defineProperty(o, k2, desc);
35
+ }) : (function(o, m, k, k2) {
36
+ if (k2 === void 0) k2 = k;
37
+ o[k2] = m[k];
38
+ }));
39
+ var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
40
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
41
+ }) : function(o, v) {
42
+ o["default"] = v;
43
+ });
44
+ var __importStar = exports && exports.__importStar || function(mod) {
45
+ if (mod && mod.__esModule) return mod;
46
+ var result = {};
47
+ if (mod != null) {
48
+ for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
49
+ }
50
+ __setModuleDefault(result, mod);
51
+ return result;
52
+ };
53
+ Object.defineProperty(exports, "__esModule", { value: true });
54
+ exports.ConfigCache = void 0;
55
+ var tsdoc_config_1 = __import__microsoft_tsdocConfig;
56
+ var path = __importStar(__import_path);
57
+ var Debug_1 = __import___Debug;
58
+ function _nullishCoalesce(lhs, rhsFn) {
59
+ if (lhs != null) {
60
+ return lhs;
61
+ } else {
62
+ return rhsFn();
63
+ }
64
+ }
65
+ var _fs = __import_fs;
66
+ var _path = __import_path;
67
+ var MAX_PATH_SEARCH_DEPTH = 30;
68
+ var depth = 0;
69
+ var ROOT_FILES = [
70
+ "storm-workspace.json",
71
+ "storm-workspace.json",
72
+ "storm-workspace.yaml",
73
+ "storm-workspace.yml",
74
+ "storm-workspace.js",
75
+ "storm-workspace.ts",
76
+ ".storm-workspace.json",
77
+ ".storm-workspace.yaml",
78
+ ".storm-workspace.yml",
79
+ ".storm-workspace.js",
80
+ ".storm-workspace.ts",
81
+ "lerna.json",
82
+ "nx.json",
83
+ "turbo.json",
84
+ "npm-workspace.json",
85
+ "yarn-workspace.json",
86
+ "pnpm-workspace.json",
87
+ "npm-workspace.yaml",
88
+ "yarn-workspace.yaml",
89
+ "pnpm-workspace.yaml",
90
+ "npm-workspace.yml",
91
+ "yarn-workspace.yml",
92
+ "pnpm-workspace.yml",
93
+ "npm-lock.json",
94
+ "yarn-lock.json",
95
+ "pnpm-lock.json",
96
+ "npm-lock.yaml",
97
+ "yarn-lock.yaml",
98
+ "pnpm-lock.yaml",
99
+ "npm-lock.yml",
100
+ "yarn-lock.yml",
101
+ "pnpm-lock.yml",
102
+ "bun.lockb"
103
+ ];
104
+ var ROOT_DIRECTORIES = [
105
+ ".storm-workspace",
106
+ ".nx",
107
+ ".github",
108
+ ".vscode",
109
+ ".verdaccio"
110
+ ];
111
+ function findWorkspaceRoot(startPath) {
112
+ const _startPath = _nullishCoalesce(startPath, () => process.cwd());
113
+ if (ROOT_DIRECTORIES.some(
114
+ (endDirName) => _fs.existsSync.call(void 0, _path.join.call(void 0, _startPath, endDirName))
115
+ )) {
116
+ return _startPath;
117
+ }
118
+ if (ROOT_FILES.some(
119
+ (endFileName) => _fs.existsSync.call(void 0, _path.join.call(void 0, _startPath, endFileName))
120
+ )) {
121
+ return _startPath;
122
+ }
123
+ if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
124
+ const parent = _path.join.call(void 0, _startPath, "..");
125
+ return findWorkspaceRoot(parent);
126
+ }
127
+ return void 0;
128
+ }
129
+ var CACHE_CHECK_INTERVAL_MS = 3 * 1e3;
130
+ var CACHE_EXPIRE_MS = 20 * 1e3;
131
+ var CACHE_MAX_SIZE = 100;
132
+ var ConfigCache = class _ConfigCache {
133
+ /**
134
+ * Node.js equivalent of performance.now().
135
+ */
136
+ static _getTimeInMs() {
137
+ const [seconds, nanoseconds] = process.hrtime();
138
+ return seconds * 1e3 + nanoseconds / 1e6;
139
+ }
140
+ static getForSourceFile(sourceFilePath, tsConfigRootDir) {
141
+ const sourceFileFolder = path.dirname(path.resolve(sourceFilePath));
142
+ const configFilePath = tsConfigRootDir ? path.join(tsConfigRootDir, tsdoc_config_1.TSDocConfigFile.FILENAME) : tsdoc_config_1.TSDocConfigFile.findConfigPathForFolder(sourceFileFolder);
143
+ const cacheKey = configFilePath || sourceFileFolder + "/";
144
+ Debug_1.Debug.log(`Cache key: "${cacheKey}"`);
145
+ const nowMs = _ConfigCache._getTimeInMs();
146
+ let cachedConfig = void 0;
147
+ cachedConfig = _ConfigCache._cachedConfigs.get(cacheKey);
148
+ if (cachedConfig) {
149
+ Debug_1.Debug.log("Cache hit");
150
+ const loadAgeMs = nowMs - cachedConfig.loadTimeMs;
151
+ const lastCheckAgeMs = nowMs - cachedConfig.lastCheckTimeMs;
152
+ if (loadAgeMs > CACHE_EXPIRE_MS || loadAgeMs < 0) {
153
+ Debug_1.Debug.log("Evicting because item is expired");
154
+ cachedConfig = void 0;
155
+ _ConfigCache._cachedConfigs.delete(cacheKey);
156
+ } else if (lastCheckAgeMs > CACHE_CHECK_INTERVAL_MS || lastCheckAgeMs < 0) {
157
+ Debug_1.Debug.log("Checking for modifications");
158
+ cachedConfig.lastCheckTimeMs = nowMs;
159
+ if (cachedConfig.configFile.checkForModifiedFiles()) {
160
+ Debug_1.Debug.log("Evicting because item was modified");
161
+ cachedConfig = void 0;
162
+ _ConfigCache._cachedConfigs.delete(cacheKey);
163
+ }
164
+ }
165
+ }
166
+ if (!cachedConfig) {
167
+ if (_ConfigCache._cachedConfigs.size > CACHE_MAX_SIZE) {
168
+ Debug_1.Debug.log("Clearing cache");
169
+ _ConfigCache._cachedConfigs.clear();
170
+ }
171
+ const configFile = tsdoc_config_1.TSDocConfigFile.loadFile(configFilePath);
172
+ if (configFile.fileNotFound) {
173
+ Debug_1.Debug.log(`File not found: "${configFilePath}"`);
174
+ } else {
175
+ Debug_1.Debug.log(`Loaded: "${configFilePath}"`);
176
+ }
177
+ cachedConfig = {
178
+ configFile,
179
+ lastCheckTimeMs: nowMs,
180
+ loadTimeMs: nowMs
181
+ };
182
+ _ConfigCache._cachedConfigs.set(cacheKey, cachedConfig);
183
+ }
184
+ return cachedConfig.configFile;
185
+ }
186
+ static _checkConfigFilePath(workspaceRoot, configFilePath) {
187
+ const workspaceRootPath = workspaceRoot ? workspaceRoot : "./";
188
+ if (!configFilePath) {
189
+ return void 0;
190
+ }
191
+ if (_fs.existsSync(configFilePath)) {
192
+ return configFilePath;
193
+ } else if (_fs.existsSync(
194
+ path.join(
195
+ workspaceRootPath,
196
+ configFilePath
197
+ )
198
+ )) {
199
+ return path.join(
200
+ workspaceRootPath,
201
+ configFilePath
202
+ );
203
+ } else if (_fs.existsSync(
204
+ path.join(
205
+ workspaceRootPath,
206
+ "node_modules",
207
+ configFilePath
208
+ )
209
+ )) {
210
+ return path.join(
211
+ workspaceRootPath,
212
+ "node_modules",
213
+ configFilePath
214
+ );
215
+ } else if (_fs.existsSync(
216
+ path.join(
217
+ workspaceRootPath,
218
+ "node_modules",
219
+ "@storm-software",
220
+ "tsdoc",
221
+ configFilePath
222
+ )
223
+ )) {
224
+ return path.join(
225
+ workspaceRootPath,
226
+ "node_modules",
227
+ "@storm-software",
228
+ "tsdoc",
229
+ configFilePath
230
+ );
231
+ } else if (_fs.existsSync(
232
+ path.join(
233
+ workspaceRootPath,
234
+ "node_modules",
235
+ "@storm-software",
236
+ "tsdoc",
237
+ "config",
238
+ configFilePath
239
+ )
240
+ )) {
241
+ return path.join(
242
+ workspaceRootPath,
243
+ "node_modules",
244
+ "@storm-software",
245
+ "tsdoc",
246
+ "config",
247
+ configFilePath
248
+ );
249
+ } else if (_fs.existsSync(
250
+ path.join(
251
+ workspaceRootPath,
252
+ "node_modules",
253
+ "@storm-software",
254
+ "tsdoc",
255
+ "dist",
256
+ configFilePath
257
+ )
258
+ )) {
259
+ return path.join(
260
+ workspaceRootPath,
261
+ "node_modules",
262
+ "@storm-software",
263
+ "tsdoc",
264
+ "dist",
265
+ configFilePath
266
+ );
267
+ }
268
+ return void 0;
269
+ }
270
+ static getStormConfigFile(options) {
271
+ const type = options && options.type ? options.type : "recommended";
272
+ const configFile = options && options.configFile ? options.configFile : void 0;
273
+ let workspaceRoot = "";
274
+ if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
275
+ workspaceRoot = process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH;
276
+ }
277
+ if (!workspaceRoot) {
278
+ workspaceRoot = findWorkspaceRoot();
279
+ }
280
+ let currentConfigFile = process.env.STORM_TSDOC_CONFIG_FILE ? process.env.STORM_TSDOC_CONFIG_FILE : configFile;
281
+ Debug_1.Debug.log(`Config file from user options: ${currentConfigFile || "(none)"}`);
282
+ let configFilePath = _ConfigCache._checkConfigFilePath(
283
+ workspaceRoot,
284
+ currentConfigFile
285
+ );
286
+ if (!configFilePath) {
287
+ currentConfigFile = `${((process.env.STORM_TSDOC_TYPE ? process.env.STORM_TSDOC_TYPE : type) || "recommended").replace(/\.jsonc?$/, "")}.json`;
288
+ Debug_1.Debug.log(`Config file from user options not found, trying: ${currentConfigFile}`);
289
+ configFilePath = _ConfigCache._checkConfigFilePath(
290
+ workspaceRoot,
291
+ currentConfigFile
292
+ );
293
+ if (!configFilePath) {
294
+ configFilePath = _ConfigCache._checkConfigFilePath(
295
+ workspaceRoot,
296
+ "recommended.json"
297
+ );
298
+ if (!configFilePath) {
299
+ configFilePath = _ConfigCache._checkConfigFilePath(
300
+ workspaceRoot,
301
+ "tsdoc.json"
302
+ );
303
+ }
304
+ }
305
+ }
306
+ const cacheKey = configFilePath || "missing-config-file";
307
+ Debug_1.Debug.log(`Storm Software Configuration Cache key: "${cacheKey}"`);
308
+ const nowMs = _ConfigCache._getTimeInMs();
309
+ let cachedConfig = void 0;
310
+ cachedConfig = _ConfigCache._cachedConfigs.get(cacheKey);
311
+ if (cachedConfig) {
312
+ Debug_1.Debug.log("Cache hit");
313
+ const loadAgeMs = nowMs - cachedConfig.loadTimeMs;
314
+ const lastCheckAgeMs = nowMs - cachedConfig.lastCheckTimeMs;
315
+ if (loadAgeMs > CACHE_EXPIRE_MS || loadAgeMs < 0) {
316
+ Debug_1.Debug.log("Evicting because item is expired");
317
+ cachedConfig = void 0;
318
+ _ConfigCache._cachedConfigs.delete(cacheKey);
319
+ } else if (lastCheckAgeMs > CACHE_CHECK_INTERVAL_MS || lastCheckAgeMs < 0) {
320
+ Debug_1.Debug.log("Checking for modifications");
321
+ cachedConfig.lastCheckTimeMs = nowMs;
322
+ if (cachedConfig.configFile.checkForModifiedFiles()) {
323
+ Debug_1.Debug.log("Evicting because item was modified");
324
+ cachedConfig = void 0;
325
+ _ConfigCache._cachedConfigs.delete(cacheKey);
326
+ }
327
+ }
328
+ }
329
+ if (!cachedConfig) {
330
+ if (_ConfigCache._cachedConfigs.size > CACHE_MAX_SIZE) {
331
+ Debug_1.Debug.log("Clearing cache");
332
+ _ConfigCache._cachedConfigs.clear();
333
+ }
334
+ const configFile2 = tsdoc_config_1.TSDocConfigFile.loadFile(configFilePath);
335
+ if (configFile2.fileNotFound) {
336
+ Debug_1.Debug.log(`File not found: "${configFilePath}"`);
337
+ } else {
338
+ Debug_1.Debug.log(`Loaded: "${configFilePath}"`);
339
+ }
340
+ cachedConfig = {
341
+ configFile: configFile2,
342
+ lastCheckTimeMs: nowMs,
343
+ loadTimeMs: nowMs
344
+ };
345
+ _ConfigCache._cachedConfigs.set(cacheKey, cachedConfig);
346
+ }
347
+ return cachedConfig.configFile;
348
+ }
349
+ };
350
+ exports.ConfigCache = ConfigCache;
351
+ ConfigCache._cachedConfigs = /* @__PURE__ */ new Map();
352
+ ConfigCache._cachedPaths = /* @__PURE__ */ new Map();
353
+ }
354
+ });
355
+ var require_lib = __commonJS({
356
+ "../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=c262176eba68bfd8898c896d48ca12af2147a650ca7a9cbfe8edf1cf981cdbc9/node_modules/eslint-plugin-tsdoc/lib/index.js"(exports, module) {
357
+ init_esm_shims();
358
+ var __import___Debug = __toESM(require_Debug());
359
+ var __import___ConfigCache = __toESM(require_ConfigCache());
360
+ var tsdoc_1 = __import__microsoft_tsdoc;
361
+ var Debug_1 = __import___Debug;
362
+ var ConfigCache_1 = __import___ConfigCache;
363
+ var tsdocMessageIds = {};
364
+ var defaultTSDocConfiguration = new tsdoc_1.TSDocConfiguration();
365
+ defaultTSDocConfiguration.allTsdocMessageIds.forEach((messageId) => {
366
+ tsdocMessageIds[messageId] = `${messageId}: {{unformattedText}}`;
367
+ });
368
+ var plugin2 = {
369
+ rules: {
370
+ // NOTE: The actual ESLint rule name will be "tsdoc/syntax". It is calculated by deleting "eslint-plugin-"
371
+ // from the NPM package name, and then appending this string.
372
+ syntax: {
373
+ meta: {
374
+ messages: Object.assign({
375
+ "error-loading-storm-config": `Error loading Storm Software's shared TSDoc config file:
376
+ {{details}}
377
+
378
+ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`,
379
+ "error-loading-config-file": "Error loading TSDoc config file:\n{{details}}",
380
+ "error-applying-storm-config": "Error applying Storm Software's shared TSDoc configuration: {{details}}",
381
+ "error-applying-config": "Error applying TSDoc configuration: {{details}}"
382
+ }, tsdocMessageIds),
383
+ type: "problem",
384
+ docs: {
385
+ description: "Validates that TypeScript documentation comments conform to the TSDoc standard",
386
+ category: "Stylistic Issues",
387
+ recommended: true,
388
+ url: "https://tsdoc.org/pages/packages/eslint-plugin-tsdoc"
389
+ },
390
+ schema: [
391
+ {
392
+ type: "object",
393
+ properties: {
394
+ type: {
395
+ type: "string",
396
+ enum: ["typedoc", "api-extractor", "base", "core", "callouts", "recommended"],
397
+ description: "The TSDoc configuration type to use from '@storm-software/tsdoc'. Defaults to 'recommended' (@storm-software/tsdoc/recommended.json)."
398
+ },
399
+ configFile: {
400
+ type: "string",
401
+ description: "The TSDoc configuration file to use."
402
+ },
403
+ tsconfigRootDir: {
404
+ type: "string",
405
+ description: "The root directory to use when resolving the tsconfig file. This is only necessary if the tsconfig file is not located in the same directory as the source file being linted. If not provided, eslint will attempt to use the parser option 'tsconfigRootDir' if it is available."
406
+ }
407
+ },
408
+ additionalProperties: false
409
+ }
410
+ ]
411
+ },
412
+ defaultOptions: [
413
+ {
414
+ type: "recommended"
415
+ }
416
+ ],
417
+ create: (context) => {
418
+ const tsdocConfiguration = new tsdoc_1.TSDocConfiguration();
419
+ let tsConfigDir = void 0;
420
+ const sourceFilePath = context.filename;
421
+ Debug_1.Debug.log(`Linting: "${sourceFilePath}"`);
422
+ try {
423
+ let tsdocConfigFile = {};
424
+ try {
425
+ const userOptions = context.options ? Array.isArray(context.options) ? context.options.length > 0 ? context.options[0] : {} : context.options : {};
426
+ tsConfigDir = userOptions.tsconfigRootDir;
427
+ if (!tsConfigDir && context.parserOptions && context.parserOptions.tsconfigRootDir) {
428
+ tsConfigDir = context.parserOptions.tsconfigRootDir;
429
+ }
430
+ const config2 = { type: userOptions.type || "recommended", configFile: userOptions.configFile };
431
+ Debug_1.Debug.log(`Using eslint-plugin-tsdoc config: ${JSON.stringify(config2, void 0, 2)}`);
432
+ tsdocConfigFile = ConfigCache_1.ConfigCache.getStormConfigFile(config2);
433
+ if (!tsdocConfigFile.fileNotFound) {
434
+ if (tsdocConfigFile.hasErrors) {
435
+ context.report({
436
+ loc: { line: 1, column: 1 },
437
+ messageId: "error-loading-storm-config",
438
+ data: {
439
+ details: tsdocConfigFile.getErrorSummary()
440
+ }
441
+ });
442
+ }
443
+ try {
444
+ tsdocConfigFile.configureParser(tsdocConfiguration);
445
+ } catch (e) {
446
+ context.report({
447
+ loc: { line: 1, column: 1 },
448
+ messageId: "error-applying-storm-config",
449
+ data: {
450
+ details: e.message
451
+ }
452
+ });
453
+ }
454
+ }
455
+ } catch (e) {
456
+ context.report({
457
+ loc: { line: 1, column: 1 },
458
+ messageId: "error-loading-storm-config",
459
+ data: {
460
+ details: `Unexpected exception: ${e.message}`
461
+ }
462
+ });
463
+ }
464
+ if (!tsdocConfigFile || tsdocConfigFile.fileNotFound || tsdocConfigFile.hasErrors) {
465
+ tsdocConfigFile = ConfigCache_1.ConfigCache.getForSourceFile(sourceFilePath, tsConfigDir);
466
+ if (!tsdocConfigFile.fileNotFound) {
467
+ if (tsdocConfigFile.hasErrors) {
468
+ context.report({
469
+ loc: { line: 1, column: 1 },
470
+ messageId: "error-loading-config-file",
471
+ data: {
472
+ details: tsdocConfigFile.getErrorSummary()
473
+ }
474
+ });
475
+ }
476
+ try {
477
+ tsdocConfigFile.configureParser(tsdocConfiguration);
478
+ } catch (e) {
479
+ context.report({
480
+ loc: { line: 1, column: 1 },
481
+ messageId: "error-applying-config",
482
+ data: {
483
+ details: e.message
484
+ }
485
+ });
486
+ }
487
+ }
488
+ }
489
+ } catch (e) {
490
+ context.report({
491
+ loc: { line: 1, column: 1 },
492
+ messageId: "error-loading-config-file",
493
+ data: {
494
+ details: `Unexpected exception: ${e.message}`
495
+ }
496
+ });
497
+ }
498
+ const tsdocParser = new tsdoc_1.TSDocParser(tsdocConfiguration);
499
+ const sourceCode = context.sourceCode || context.getSourceCode();
500
+ const checkCommentBlocks = function(node) {
501
+ for (const comment of sourceCode.getAllComments()) {
502
+ if (comment.type !== "Block") {
503
+ continue;
504
+ }
505
+ if (!comment.range) {
506
+ continue;
507
+ }
508
+ const textRange = tsdoc_1.TextRange.fromStringRange(sourceCode.text, comment.range[0], comment.range[1]);
509
+ if (textRange.length < 5) {
510
+ continue;
511
+ }
512
+ if (textRange.buffer[textRange.pos + 2] !== "*") {
513
+ continue;
514
+ }
515
+ const parserContext = tsdocParser.parseRange(textRange);
516
+ for (const message of parserContext.log.messages) {
517
+ context.report({
518
+ loc: {
519
+ start: sourceCode.getLocFromIndex(message.textRange.pos),
520
+ end: sourceCode.getLocFromIndex(message.textRange.end)
521
+ },
522
+ messageId: message.messageId,
523
+ data: {
524
+ unformattedText: message.unformattedText
525
+ }
526
+ });
527
+ }
528
+ }
529
+ };
530
+ return {
531
+ Program: checkCommentBlocks
532
+ };
533
+ }
534
+ }
535
+ }
536
+ };
537
+ module.exports = plugin2;
538
+ }
539
+ });
540
+
541
+ // ../eslint-plugin-tsdoc/src/index.ts
542
+ init_esm_shims();
543
+
544
+ // ../eslint-plugin-tsdoc/src/configs/index.ts
545
+ init_esm_shims();
546
+
547
+ // ../eslint-plugin-tsdoc/src/configs/recommended.ts
548
+ init_esm_shims();
549
+
550
+ // ../eslint-plugin-tsdoc/src/plugin.ts
551
+ init_esm_shims();
552
+ var import_eslint_plugin_tsdoc = __toESM(require_lib(), 1);
553
+
554
+ // ../eslint-plugin-tsdoc/package.json
555
+ var package_default = {
556
+ version: "0.0.35"};
557
+
558
+ // ../eslint-plugin-tsdoc/src/plugin.ts
559
+ var plugin = {
560
+ ...import_eslint_plugin_tsdoc.default,
561
+ meta: {
562
+ name: "tsdoc",
563
+ version: package_default.version
564
+ }
565
+ };
566
+
567
+ // ../eslint-plugin-tsdoc/src/configs/recommended.ts
568
+ var config = {
569
+ files: [GLOB_TS, GLOB_TSX],
570
+ ignores: GLOB_EXCLUDE,
571
+ name: "tsdoc/recommended",
572
+ plugins: {
573
+ tsdoc: plugin
574
+ },
575
+ rules: {
576
+ "tsdoc/syntax": ["error", { type: "recommended" }]
577
+ }
578
+ };
579
+ var recommended_default = config;
580
+
581
+ // ../eslint-plugin-tsdoc/src/configs/index.ts
582
+ var configs = {
583
+ recommended: recommended_default
584
+ };
585
+
586
+ // ../eslint-plugin-tsdoc/src/index.ts
587
+ var eslintPlugin = {
588
+ ...plugin,
589
+ configs
590
+ };
591
+ var src_default = eslintPlugin;
592
+ var rules = plugin.rules;
593
+
594
+ export { configs, src_default as default, rules };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.170.104",
3
+ "version": "0.170.106",
4
4
  "private": false,
5
5
  "description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "keywords": [
@@ -141,9 +141,9 @@
141
141
  "@eslint/eslintrc": "^3.3.5",
142
142
  "@eslint/markdown": "^6.6.0",
143
143
  "@nx/eslint-plugin": "22.7.5",
144
- "@storm-software/config": "1.138.8",
145
- "@storm-software/config-tools": "1.190.71",
146
- "@storm-software/package-constants": "0.1.84",
144
+ "@storm-software/config": "1.138.10",
145
+ "@storm-software/config-tools": "1.190.73",
146
+ "@storm-software/package-constants": "0.1.86",
147
147
  "@stylistic/eslint-plugin": "^4.4.1",
148
148
  "@typescript-eslint/eslint-plugin": "^8.61.1",
149
149
  "@typescript-eslint/parser": "^8.61.1",
@@ -196,10 +196,10 @@
196
196
  "@next/eslint-plugin-next": "^15.5.19",
197
197
  "@nx/eslint": "22.7.5",
198
198
  "@prettier/plugin-xml": "^3.4.2",
199
- "@storm-software/eslint-plugin-banner": "0.0.36",
200
- "@storm-software/eslint-plugin-pnpm": "0.0.34",
201
- "@storm-software/eslint-plugin-tsdoc": "0.0.34",
202
- "@storm-software/tsdoc": "0.13.224",
199
+ "@storm-software/eslint-plugin-banner": "0.0.38",
200
+ "@storm-software/eslint-plugin-pnpm": "0.0.36",
201
+ "@storm-software/eslint-plugin-tsdoc": "0.0.36",
202
+ "@storm-software/tsdoc": "0.13.226",
203
203
  "@stylistic/eslint-plugin-migrate": "^4.4.1",
204
204
  "@types/eslint": "^9.6.1",
205
205
  "@types/eslint__js": "^8.42.3",
@@ -272,5 +272,5 @@
272
272
  "zod": { "optional": true }
273
273
  },
274
274
  "publishConfig": { "access": "public" },
275
- "gitHead": "61aa40134f04beb1518d087468564cc376f6ce99"
275
+ "gitHead": "3dd2fb4ab63355ce109d0de971a2a0151d79cdba"
276
276
  }