@storm-software/eslint 0.158.7 → 0.159.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.
- package/README.md +1 -1
- package/dist/{chunk-KEWFN32Y.js → chunk-2JAS25NL.js} +1 -1
- package/dist/{chunk-HU5L72PA.js → chunk-57MJOSWD.js} +1 -1
- package/dist/{chunk-R6C5LBNP.js → chunk-7HV2SCAT.js} +2 -2
- package/dist/{chunk-QAVUFYHU.js → chunk-F5ULWOMY.js} +3 -3
- package/dist/{chunk-QXDG6JLB.js → chunk-IYZBR6CU.js} +1 -1
- package/dist/{chunk-GVFY3NER.js → chunk-LURSUA23.js} +2 -2
- package/dist/{chunk-L32KVRQJ.js → chunk-UNRUDVIB.js} +2 -2
- package/dist/{chunk-TOT7MTMP.js → chunk-WY33RVIK.js} +2 -2
- package/dist/{chunk-I454YP4E.js → chunk-Z4QO5BZJ.js} +1 -1
- package/dist/preset.js +19 -24
- package/dist/types.d.ts +160 -71
- package/dist/types.js +1 -1
- package/dist/utils/banner-plugin.js +4 -4
- package/dist/utils/combine.js +1 -1
- package/dist/utils/constants.js +2 -2
- package/dist/utils/correct-paths.js +2 -2
- package/dist/utils/find-workspace-root.js +3 -3
- package/dist/utils/format-config.js +2 -2
- package/dist/utils/get-file-banner.js +3 -3
- package/dist/utils/helpers.js +2 -2
- package/dist/utils/index.js +3 -3
- package/dist/utils/tsconfig-path.js +3 -3
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileBanner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7HV2SCAT.js";
|
|
4
4
|
import {
|
|
5
5
|
GLOB_SRC
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z4QO5BZJ.js";
|
|
7
7
|
import {
|
|
8
8
|
init_esm_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UNRUDVIB.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/banner-plugin.ts
|
|
12
12
|
init_esm_shims();
|
|
@@ -27,11 +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.4.0_patch_hash=
|
|
30
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__bfb917e2b8480b4c6bc56e8a9e3bf7af/node_modules/tsup/assets/esm_shims.js
|
|
31
31
|
import { fileURLToPath } from "url";
|
|
32
32
|
import path from "path";
|
|
33
33
|
var init_esm_shims = __esm({
|
|
34
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
34
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__bfb917e2b8480b4c6bc56e8a9e3bf7af/node_modules/tsup/assets/esm_shims.js"() {
|
|
35
35
|
"use strict";
|
|
36
36
|
}
|
|
37
37
|
});
|
package/dist/preset.js
CHANGED
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
isPackageInScope,
|
|
6
6
|
parserPlain,
|
|
7
7
|
renameRules
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2JAS25NL.js";
|
|
9
9
|
import {
|
|
10
10
|
getTsConfigPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LURSUA23.js";
|
|
12
12
|
import {
|
|
13
13
|
banner_plugin_default
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-F5ULWOMY.js";
|
|
15
|
+
import "./chunk-7HV2SCAT.js";
|
|
16
16
|
import {
|
|
17
17
|
GLOB_ASTRO,
|
|
18
18
|
GLOB_ASTRO_TS,
|
|
@@ -39,22 +39,22 @@ import {
|
|
|
39
39
|
GLOB_TSX,
|
|
40
40
|
GLOB_XML,
|
|
41
41
|
GLOB_YAML
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-Z4QO5BZJ.js";
|
|
43
43
|
import {
|
|
44
44
|
findWorkspaceRoot
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-WY33RVIK.js";
|
|
46
46
|
import {
|
|
47
47
|
joinPaths
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-IYZBR6CU.js";
|
|
49
49
|
import {
|
|
50
50
|
__commonJS,
|
|
51
51
|
__toESM,
|
|
52
52
|
init_esm_shims
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-UNRUDVIB.js";
|
|
54
54
|
|
|
55
|
-
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
55
|
+
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=ccf1351d5da36973edb320182fd77f9201b0c996d1bc5f43047246835b001389/node_modules/eslint-plugin-tsdoc/lib/Debug.js
|
|
56
56
|
var require_Debug = __commonJS({
|
|
57
|
-
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
57
|
+
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=ccf1351d5da36973edb320182fd77f9201b0c996d1bc5f43047246835b001389/node_modules/eslint-plugin-tsdoc/lib/Debug.js"(exports) {
|
|
58
58
|
"use strict";
|
|
59
59
|
init_esm_shims();
|
|
60
60
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -68,12 +68,12 @@ var require_Debug = __commonJS({
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
|
|
71
|
-
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
71
|
+
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=ccf1351d5da36973edb320182fd77f9201b0c996d1bc5f43047246835b001389/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js
|
|
72
72
|
import * as __import__microsoft_tsdocConfig from "@microsoft/tsdoc-config";
|
|
73
73
|
import * as __import_path from "path";
|
|
74
74
|
import * as __import_fs from "fs";
|
|
75
75
|
var require_ConfigCache = __commonJS({
|
|
76
|
-
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
76
|
+
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=ccf1351d5da36973edb320182fd77f9201b0c996d1bc5f43047246835b001389/node_modules/eslint-plugin-tsdoc/lib/ConfigCache.js"(exports) {
|
|
77
77
|
"use strict";
|
|
78
78
|
init_esm_shims();
|
|
79
79
|
var __import___Debug = __toESM(require_Debug());
|
|
@@ -306,10 +306,10 @@ var require_ConfigCache = __commonJS({
|
|
|
306
306
|
}
|
|
307
307
|
});
|
|
308
308
|
|
|
309
|
-
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
309
|
+
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=ccf1351d5da36973edb320182fd77f9201b0c996d1bc5f43047246835b001389/node_modules/eslint-plugin-tsdoc/lib/index.js
|
|
310
310
|
import * as __import__microsoft_tsdoc from "@microsoft/tsdoc";
|
|
311
311
|
var require_lib = __commonJS({
|
|
312
|
-
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=
|
|
312
|
+
"../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=ccf1351d5da36973edb320182fd77f9201b0c996d1bc5f43047246835b001389/node_modules/eslint-plugin-tsdoc/lib/index.js"(exports, module) {
|
|
313
313
|
"use strict";
|
|
314
314
|
init_esm_shims();
|
|
315
315
|
var __import___Debug = __toESM(require_Debug());
|
|
@@ -346,8 +346,8 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`, "err
|
|
|
346
346
|
properties: {
|
|
347
347
|
type: {
|
|
348
348
|
type: "string",
|
|
349
|
-
enum: ["typedoc", "base"],
|
|
350
|
-
description: "The TSDoc configuration type to use from '@storm-software/tsdoc'. Defaults to '
|
|
349
|
+
enum: ["typedoc", "api-extractor", "base", "core"],
|
|
350
|
+
description: "The TSDoc configuration type to use from '@storm-software/tsdoc'. Defaults to 'core' (@storm-software/tsdoc/core.json)."
|
|
351
351
|
},
|
|
352
352
|
configFile: {
|
|
353
353
|
type: "string",
|
|
@@ -360,7 +360,7 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`, "err
|
|
|
360
360
|
},
|
|
361
361
|
defaultOptions: [
|
|
362
362
|
{
|
|
363
|
-
type: "
|
|
363
|
+
type: "core"
|
|
364
364
|
}
|
|
365
365
|
],
|
|
366
366
|
create: (context) => {
|
|
@@ -372,7 +372,7 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`, "err
|
|
|
372
372
|
let tsdocConfigFile = {};
|
|
373
373
|
try {
|
|
374
374
|
tsdocConfigFile = ConfigCache_1.ConfigCache.getStormConfigFile(
|
|
375
|
-
context.options && context.options.length > 0 ? context.options[0] : { type: "
|
|
375
|
+
context.options && context.options.length > 0 ? context.options[0] : { type: "core" }
|
|
376
376
|
);
|
|
377
377
|
if (!tsdocConfigFile.fileNotFound) {
|
|
378
378
|
if (tsdocConfigFile.hasErrors) {
|
|
@@ -4112,12 +4112,7 @@ async function toml(options = {}) {
|
|
|
4112
4112
|
init_esm_shims();
|
|
4113
4113
|
var import_eslint_plugin_tsdoc = __toESM(require_lib(), 1);
|
|
4114
4114
|
async function tsdoc(options = {}) {
|
|
4115
|
-
const {
|
|
4116
|
-
overrides = {},
|
|
4117
|
-
severity = "error",
|
|
4118
|
-
type = "base",
|
|
4119
|
-
configFile
|
|
4120
|
-
} = options;
|
|
4115
|
+
const { severity = "error", type = "core", configFile } = options;
|
|
4121
4116
|
const files = options.files ?? [GLOB_TS, GLOB_TSX];
|
|
4122
4117
|
return [
|
|
4123
4118
|
{
|
package/dist/types.d.ts
CHANGED
|
@@ -1444,233 +1444,233 @@ Backward pagination arguments
|
|
|
1444
1444
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
1445
1445
|
/**
|
|
1446
1446
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1447
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1447
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/consistent-type-specifier-style.md
|
|
1448
1448
|
*/
|
|
1449
1449
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
1450
1450
|
/**
|
|
1451
1451
|
* Ensure a default export is present, given a default import.
|
|
1452
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1452
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/default.md
|
|
1453
1453
|
*/
|
|
1454
1454
|
'import/default'?: Linter.RuleEntry<[]>
|
|
1455
1455
|
/**
|
|
1456
1456
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1457
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1457
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/dynamic-import-chunkname.md
|
|
1458
1458
|
*/
|
|
1459
1459
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
1460
1460
|
/**
|
|
1461
1461
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1462
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1462
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/export.md
|
|
1463
1463
|
*/
|
|
1464
1464
|
'import/export'?: Linter.RuleEntry<[]>
|
|
1465
1465
|
/**
|
|
1466
1466
|
* Ensure all exports appear after other statements.
|
|
1467
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1467
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/exports-last.md
|
|
1468
1468
|
*/
|
|
1469
1469
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
1470
1470
|
/**
|
|
1471
1471
|
* Ensure consistent use of file extension within the import path.
|
|
1472
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1472
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/extensions.md
|
|
1473
1473
|
*/
|
|
1474
1474
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
1475
1475
|
/**
|
|
1476
1476
|
* Ensure all imports appear before other statements.
|
|
1477
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1477
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/first.md
|
|
1478
1478
|
*/
|
|
1479
1479
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
1480
1480
|
/**
|
|
1481
1481
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1482
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1482
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/group-exports.md
|
|
1483
1483
|
*/
|
|
1484
1484
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
1485
1485
|
/**
|
|
1486
1486
|
* Replaced by `import-x/first`.
|
|
1487
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1487
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/imports-first.md
|
|
1488
1488
|
* @deprecated
|
|
1489
1489
|
*/
|
|
1490
1490
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
1491
1491
|
/**
|
|
1492
1492
|
* Enforce the maximum number of dependencies a module can have.
|
|
1493
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1493
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/max-dependencies.md
|
|
1494
1494
|
*/
|
|
1495
1495
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
1496
1496
|
/**
|
|
1497
1497
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1498
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1498
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/named.md
|
|
1499
1499
|
*/
|
|
1500
1500
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
1501
1501
|
/**
|
|
1502
1502
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1503
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1503
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/namespace.md
|
|
1504
1504
|
*/
|
|
1505
1505
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
1506
1506
|
/**
|
|
1507
1507
|
* Enforce a newline after import statements.
|
|
1508
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1508
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/newline-after-import.md
|
|
1509
1509
|
*/
|
|
1510
1510
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
1511
1511
|
/**
|
|
1512
1512
|
* Forbid import of modules using absolute paths.
|
|
1513
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1513
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-absolute-path.md
|
|
1514
1514
|
*/
|
|
1515
1515
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
1516
1516
|
/**
|
|
1517
1517
|
* Forbid AMD `require` and `define` calls.
|
|
1518
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1518
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-amd.md
|
|
1519
1519
|
*/
|
|
1520
1520
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
1521
1521
|
/**
|
|
1522
1522
|
* Forbid anonymous values as default exports.
|
|
1523
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1523
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-anonymous-default-export.md
|
|
1524
1524
|
*/
|
|
1525
1525
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
1526
1526
|
/**
|
|
1527
1527
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1528
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1528
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-commonjs.md
|
|
1529
1529
|
*/
|
|
1530
1530
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
1531
1531
|
/**
|
|
1532
1532
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1533
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1533
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-cycle.md
|
|
1534
1534
|
*/
|
|
1535
1535
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
1536
1536
|
/**
|
|
1537
1537
|
* Forbid default exports.
|
|
1538
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1538
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-default-export.md
|
|
1539
1539
|
*/
|
|
1540
1540
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
1541
1541
|
/**
|
|
1542
1542
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1543
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1543
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-deprecated.md
|
|
1544
1544
|
*/
|
|
1545
1545
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1546
1546
|
/**
|
|
1547
1547
|
* Forbid repeated import of the same module in multiple places.
|
|
1548
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1548
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-duplicates.md
|
|
1549
1549
|
*/
|
|
1550
1550
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
1551
1551
|
/**
|
|
1552
1552
|
* Forbid `require()` calls with expressions.
|
|
1553
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1553
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-dynamic-require.md
|
|
1554
1554
|
*/
|
|
1555
1555
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
1556
1556
|
/**
|
|
1557
1557
|
* Forbid empty named import blocks.
|
|
1558
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1558
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-empty-named-blocks.md
|
|
1559
1559
|
*/
|
|
1560
1560
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1561
1561
|
/**
|
|
1562
1562
|
* Forbid the use of extraneous packages.
|
|
1563
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1563
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-extraneous-dependencies.md
|
|
1564
1564
|
*/
|
|
1565
1565
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
1566
1566
|
/**
|
|
1567
1567
|
* Forbid import statements with CommonJS module.exports.
|
|
1568
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1568
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-import-module-exports.md
|
|
1569
1569
|
*/
|
|
1570
1570
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
1571
1571
|
/**
|
|
1572
1572
|
* Forbid importing the submodules of other modules.
|
|
1573
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1573
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-internal-modules.md
|
|
1574
1574
|
*/
|
|
1575
1575
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
1576
1576
|
/**
|
|
1577
1577
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1578
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1578
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-mutable-exports.md
|
|
1579
1579
|
*/
|
|
1580
1580
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1581
1581
|
/**
|
|
1582
1582
|
* Forbid use of exported name as identifier of default export.
|
|
1583
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1583
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-named-as-default.md
|
|
1584
1584
|
*/
|
|
1585
1585
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1586
1586
|
/**
|
|
1587
1587
|
* Forbid use of exported name as property of default export.
|
|
1588
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1588
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-named-as-default-member.md
|
|
1589
1589
|
*/
|
|
1590
1590
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1591
1591
|
/**
|
|
1592
1592
|
* Forbid named default exports.
|
|
1593
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1593
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-named-default.md
|
|
1594
1594
|
*/
|
|
1595
1595
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
1596
1596
|
/**
|
|
1597
1597
|
* Forbid named exports.
|
|
1598
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1598
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-named-export.md
|
|
1599
1599
|
*/
|
|
1600
1600
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
1601
1601
|
/**
|
|
1602
1602
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1603
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1603
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-namespace.md
|
|
1604
1604
|
*/
|
|
1605
1605
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
1606
1606
|
/**
|
|
1607
1607
|
* Forbid Node.js builtin modules.
|
|
1608
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1608
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-nodejs-modules.md
|
|
1609
1609
|
*/
|
|
1610
1610
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
1611
1611
|
/**
|
|
1612
1612
|
* Forbid importing packages through relative paths.
|
|
1613
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1613
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-relative-packages.md
|
|
1614
1614
|
*/
|
|
1615
1615
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
1616
1616
|
/**
|
|
1617
1617
|
* Forbid importing modules from parent directories.
|
|
1618
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1618
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-relative-parent-imports.md
|
|
1619
1619
|
*/
|
|
1620
1620
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
1621
1621
|
/**
|
|
1622
1622
|
* Forbid importing a default export by a different name.
|
|
1623
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1623
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-rename-default.md
|
|
1624
1624
|
*/
|
|
1625
1625
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
1626
1626
|
/**
|
|
1627
1627
|
* Enforce which files can be imported in a given folder.
|
|
1628
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1628
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-restricted-paths.md
|
|
1629
1629
|
*/
|
|
1630
1630
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
1631
1631
|
/**
|
|
1632
1632
|
* Forbid a module from importing itself.
|
|
1633
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1633
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-self-import.md
|
|
1634
1634
|
*/
|
|
1635
1635
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
1636
1636
|
/**
|
|
1637
1637
|
* Forbid unassigned imports.
|
|
1638
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1638
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-unassigned-import.md
|
|
1639
1639
|
*/
|
|
1640
1640
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
1641
1641
|
/**
|
|
1642
1642
|
* Ensure imports point to a file/module that can be resolved.
|
|
1643
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1643
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-unresolved.md
|
|
1644
1644
|
*/
|
|
1645
1645
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
1646
1646
|
/**
|
|
1647
1647
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1648
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1648
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-unused-modules.md
|
|
1649
1649
|
*/
|
|
1650
1650
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
1651
1651
|
/**
|
|
1652
1652
|
* Forbid unnecessary path segments in import and require statements.
|
|
1653
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1653
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-useless-path-segments.md
|
|
1654
1654
|
*/
|
|
1655
1655
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
1656
1656
|
/**
|
|
1657
1657
|
* Forbid webpack loader syntax in imports.
|
|
1658
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1658
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-webpack-loader-syntax.md
|
|
1659
1659
|
*/
|
|
1660
1660
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1661
1661
|
/**
|
|
1662
1662
|
* Enforce a convention in module import order.
|
|
1663
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1663
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/order.md
|
|
1664
1664
|
*/
|
|
1665
1665
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
1666
1666
|
/**
|
|
1667
1667
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1668
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1668
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/prefer-default-export.md
|
|
1669
1669
|
*/
|
|
1670
1670
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
1671
1671
|
/**
|
|
1672
1672
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1673
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1673
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/unambiguous.md
|
|
1674
1674
|
*/
|
|
1675
1675
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
1676
1676
|
/**
|
|
@@ -3493,6 +3493,11 @@ Backward pagination arguments
|
|
|
3493
3493
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-sync.md
|
|
3494
3494
|
*/
|
|
3495
3495
|
'node/no-sync'?: Linter.RuleEntry<NodeNoSync>
|
|
3496
|
+
/**
|
|
3497
|
+
* disallow top-level `await` in published modules
|
|
3498
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-top-level-await.md
|
|
3499
|
+
*/
|
|
3500
|
+
'node/no-top-level-await'?: Linter.RuleEntry<NodeNoTopLevelAwait>
|
|
3496
3501
|
/**
|
|
3497
3502
|
* disallow `bin` files that npm ignores
|
|
3498
3503
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unpublished-bin.md
|
|
@@ -4099,6 +4104,11 @@ Backward pagination arguments
|
|
|
4099
4104
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
4100
4105
|
*/
|
|
4101
4106
|
'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
|
|
4107
|
+
/**
|
|
4108
|
+
* Disallows 'IIFE' in JSX elements.
|
|
4109
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-iife
|
|
4110
|
+
*/
|
|
4111
|
+
'react/jsx-no-iife'?: Linter.RuleEntry<[]>
|
|
4102
4112
|
/**
|
|
4103
4113
|
* Disallow undefined variables in JSX.
|
|
4104
4114
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
@@ -4698,7 +4708,7 @@ Backward pagination arguments
|
|
|
4698
4708
|
* enforce using quantifier
|
|
4699
4709
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-quantifier.html
|
|
4700
4710
|
*/
|
|
4701
|
-
'regexp/prefer-quantifier'?: Linter.RuleEntry<
|
|
4711
|
+
'regexp/prefer-quantifier'?: Linter.RuleEntry<RegexpPreferQuantifier>
|
|
4702
4712
|
/**
|
|
4703
4713
|
* enforce using `?` quantifier
|
|
4704
4714
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-question-quantifier.html
|
|
@@ -8947,10 +8957,10 @@ type JsdocCheckLineAlignment = []|[("always" | "never" | "any")]|[("always" | "n
|
|
|
8947
8957
|
postTag?: number
|
|
8948
8958
|
postType?: number
|
|
8949
8959
|
}
|
|
8960
|
+
disableWrapIndent?: boolean
|
|
8950
8961
|
preserveMainDescriptionPostDelimiter?: boolean
|
|
8951
8962
|
tags?: string[]
|
|
8952
8963
|
wrapIndent?: string
|
|
8953
|
-
disableWrapIndent?: boolean
|
|
8954
8964
|
}]
|
|
8955
8965
|
// ----- jsdoc/check-param-names -----
|
|
8956
8966
|
type JsdocCheckParamNames = []|[{
|
|
@@ -10888,7 +10898,38 @@ type NodeNoRestrictedRequire = []|[(string | {
|
|
|
10888
10898
|
// ----- node/no-sync -----
|
|
10889
10899
|
type NodeNoSync = []|[{
|
|
10890
10900
|
allowAtRootLevel?: boolean
|
|
10891
|
-
ignores?: string
|
|
10901
|
+
ignores?: (string | {
|
|
10902
|
+
from?: "file"
|
|
10903
|
+
path?: string
|
|
10904
|
+
name?: string[]
|
|
10905
|
+
} | {
|
|
10906
|
+
from?: "lib"
|
|
10907
|
+
name?: string[]
|
|
10908
|
+
} | {
|
|
10909
|
+
from?: "package"
|
|
10910
|
+
package?: string
|
|
10911
|
+
name?: string[]
|
|
10912
|
+
})[]
|
|
10913
|
+
}]
|
|
10914
|
+
// ----- node/no-top-level-await -----
|
|
10915
|
+
type NodeNoTopLevelAwait = []|[{
|
|
10916
|
+
ignoreBin?: boolean
|
|
10917
|
+
convertPath?: ({
|
|
10918
|
+
|
|
10919
|
+
[k: string]: [string, string]
|
|
10920
|
+
} | [{
|
|
10921
|
+
|
|
10922
|
+
include: [string, ...(string)[]]
|
|
10923
|
+
exclude?: string[]
|
|
10924
|
+
|
|
10925
|
+
replace: [string, string]
|
|
10926
|
+
}, ...({
|
|
10927
|
+
|
|
10928
|
+
include: [string, ...(string)[]]
|
|
10929
|
+
exclude?: string[]
|
|
10930
|
+
|
|
10931
|
+
replace: [string, string]
|
|
10932
|
+
})[]])
|
|
10892
10933
|
}]
|
|
10893
10934
|
// ----- node/no-unpublished-bin -----
|
|
10894
10935
|
type NodeNoUnpublishedBin = []|[{
|
|
@@ -11263,7 +11304,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11263
11304
|
|
|
11264
11305
|
groups?: (string | string[] | {
|
|
11265
11306
|
|
|
11266
|
-
newlinesBetween
|
|
11307
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11308
|
+
|
|
11309
|
+
commentAbove?: string
|
|
11267
11310
|
})[]
|
|
11268
11311
|
}[]
|
|
11269
11312
|
// ----- perfectionist/sort-classes -----
|
|
@@ -11459,7 +11502,9 @@ type PerfectionistSortClasses = []|[{
|
|
|
11459
11502
|
|
|
11460
11503
|
groups?: (string | string[] | {
|
|
11461
11504
|
|
|
11462
|
-
newlinesBetween
|
|
11505
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11506
|
+
|
|
11507
|
+
commentAbove?: string
|
|
11463
11508
|
})[]
|
|
11464
11509
|
}]
|
|
11465
11510
|
// ----- perfectionist/sort-decorators -----
|
|
@@ -11537,7 +11582,9 @@ type PerfectionistSortDecorators = []|[{
|
|
|
11537
11582
|
|
|
11538
11583
|
groups?: (string | string[] | {
|
|
11539
11584
|
|
|
11540
|
-
newlinesBetween
|
|
11585
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11586
|
+
|
|
11587
|
+
commentAbove?: string
|
|
11541
11588
|
})[]
|
|
11542
11589
|
}]
|
|
11543
11590
|
// ----- perfectionist/sort-enums -----
|
|
@@ -11694,7 +11741,9 @@ type PerfectionistSortEnums = []|[{
|
|
|
11694
11741
|
|
|
11695
11742
|
groups?: (string | string[] | {
|
|
11696
11743
|
|
|
11697
|
-
newlinesBetween
|
|
11744
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11745
|
+
|
|
11746
|
+
commentAbove?: string
|
|
11698
11747
|
})[]
|
|
11699
11748
|
}]
|
|
11700
11749
|
// ----- perfectionist/sort-exports -----
|
|
@@ -11832,7 +11881,9 @@ type PerfectionistSortExports = {
|
|
|
11832
11881
|
|
|
11833
11882
|
groups?: (string | string[] | {
|
|
11834
11883
|
|
|
11835
|
-
newlinesBetween
|
|
11884
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11885
|
+
|
|
11886
|
+
commentAbove?: string
|
|
11836
11887
|
})[]
|
|
11837
11888
|
}[]
|
|
11838
11889
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
@@ -11863,7 +11914,9 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
11863
11914
|
|
|
11864
11915
|
groups?: (string | string[] | {
|
|
11865
11916
|
|
|
11866
|
-
newlinesBetween
|
|
11917
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11918
|
+
|
|
11919
|
+
commentAbove?: string
|
|
11867
11920
|
})[]
|
|
11868
11921
|
}]
|
|
11869
11922
|
// ----- perfectionist/sort-imports -----
|
|
@@ -11987,6 +12040,12 @@ type PerfectionistSortImports = {
|
|
|
11987
12040
|
flags?: string
|
|
11988
12041
|
} | string))
|
|
11989
12042
|
})[])
|
|
12043
|
+
tsconfig?: {
|
|
12044
|
+
|
|
12045
|
+
rootDir: string
|
|
12046
|
+
|
|
12047
|
+
filename?: string
|
|
12048
|
+
}
|
|
11990
12049
|
|
|
11991
12050
|
maxLineLength?: number
|
|
11992
12051
|
|
|
@@ -12051,7 +12110,9 @@ type PerfectionistSortImports = {
|
|
|
12051
12110
|
|
|
12052
12111
|
groups?: (string | string[] | {
|
|
12053
12112
|
|
|
12054
|
-
newlinesBetween
|
|
12113
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12114
|
+
|
|
12115
|
+
commentAbove?: string
|
|
12055
12116
|
})[]
|
|
12056
12117
|
}[]
|
|
12057
12118
|
// ----- perfectionist/sort-interfaces -----
|
|
@@ -12259,7 +12320,9 @@ type PerfectionistSortInterfaces = {
|
|
|
12259
12320
|
|
|
12260
12321
|
groups?: (string | string[] | {
|
|
12261
12322
|
|
|
12262
|
-
newlinesBetween
|
|
12323
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12324
|
+
|
|
12325
|
+
commentAbove?: string
|
|
12263
12326
|
})[]
|
|
12264
12327
|
}[]
|
|
12265
12328
|
// ----- perfectionist/sort-intersection-types -----
|
|
@@ -12391,7 +12454,9 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
12391
12454
|
|
|
12392
12455
|
groups?: (string | string[] | {
|
|
12393
12456
|
|
|
12394
|
-
newlinesBetween
|
|
12457
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12458
|
+
|
|
12459
|
+
commentAbove?: string
|
|
12395
12460
|
})[]
|
|
12396
12461
|
}[]
|
|
12397
12462
|
// ----- perfectionist/sort-jsx-props -----
|
|
@@ -12554,7 +12619,9 @@ type PerfectionistSortJsxProps = {
|
|
|
12554
12619
|
|
|
12555
12620
|
groups?: (string | string[] | {
|
|
12556
12621
|
|
|
12557
|
-
newlinesBetween
|
|
12622
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12623
|
+
|
|
12624
|
+
commentAbove?: string
|
|
12558
12625
|
})[]
|
|
12559
12626
|
}[]
|
|
12560
12627
|
// ----- perfectionist/sort-maps -----
|
|
@@ -12697,7 +12764,9 @@ type PerfectionistSortMaps = {
|
|
|
12697
12764
|
|
|
12698
12765
|
groups?: (string | string[] | {
|
|
12699
12766
|
|
|
12700
|
-
newlinesBetween
|
|
12767
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12768
|
+
|
|
12769
|
+
commentAbove?: string
|
|
12701
12770
|
})[]
|
|
12702
12771
|
}[]
|
|
12703
12772
|
// ----- perfectionist/sort-modules -----
|
|
@@ -12857,7 +12926,9 @@ type PerfectionistSortModules = []|[{
|
|
|
12857
12926
|
|
|
12858
12927
|
groups?: (string | string[] | {
|
|
12859
12928
|
|
|
12860
|
-
newlinesBetween
|
|
12929
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12930
|
+
|
|
12931
|
+
commentAbove?: string
|
|
12861
12932
|
})[]
|
|
12862
12933
|
}]
|
|
12863
12934
|
// ----- perfectionist/sort-named-exports -----
|
|
@@ -12997,7 +13068,9 @@ type PerfectionistSortNamedExports = {
|
|
|
12997
13068
|
|
|
12998
13069
|
groups?: (string | string[] | {
|
|
12999
13070
|
|
|
13000
|
-
newlinesBetween
|
|
13071
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
13072
|
+
|
|
13073
|
+
commentAbove?: string
|
|
13001
13074
|
})[]
|
|
13002
13075
|
}[]
|
|
13003
13076
|
// ----- perfectionist/sort-named-imports -----
|
|
@@ -13137,7 +13210,9 @@ type PerfectionistSortNamedImports = {
|
|
|
13137
13210
|
|
|
13138
13211
|
groups?: (string | string[] | {
|
|
13139
13212
|
|
|
13140
|
-
newlinesBetween
|
|
13213
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
13214
|
+
|
|
13215
|
+
commentAbove?: string
|
|
13141
13216
|
})[]
|
|
13142
13217
|
}[]
|
|
13143
13218
|
// ----- perfectionist/sort-object-types -----
|
|
@@ -13345,7 +13420,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
13345
13420
|
|
|
13346
13421
|
groups?: (string | string[] | {
|
|
13347
13422
|
|
|
13348
|
-
newlinesBetween
|
|
13423
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
13424
|
+
|
|
13425
|
+
commentAbove?: string
|
|
13349
13426
|
})[]
|
|
13350
13427
|
}[]
|
|
13351
13428
|
// ----- perfectionist/sort-objects -----
|
|
@@ -13556,7 +13633,9 @@ type PerfectionistSortObjects = {
|
|
|
13556
13633
|
|
|
13557
13634
|
groups?: (string | string[] | {
|
|
13558
13635
|
|
|
13559
|
-
newlinesBetween
|
|
13636
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
13637
|
+
|
|
13638
|
+
commentAbove?: string
|
|
13560
13639
|
})[]
|
|
13561
13640
|
}[]
|
|
13562
13641
|
// ----- perfectionist/sort-sets -----
|
|
@@ -13705,7 +13784,9 @@ type PerfectionistSortSets = {
|
|
|
13705
13784
|
|
|
13706
13785
|
groups?: (string | string[] | {
|
|
13707
13786
|
|
|
13708
|
-
newlinesBetween
|
|
13787
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
13788
|
+
|
|
13789
|
+
commentAbove?: string
|
|
13709
13790
|
})[]
|
|
13710
13791
|
}[]
|
|
13711
13792
|
// ----- perfectionist/sort-switch-case -----
|
|
@@ -13859,7 +13940,9 @@ type PerfectionistSortUnionTypes = {
|
|
|
13859
13940
|
|
|
13860
13941
|
groups?: (string | string[] | {
|
|
13861
13942
|
|
|
13862
|
-
newlinesBetween
|
|
13943
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
13944
|
+
|
|
13945
|
+
commentAbove?: string
|
|
13863
13946
|
})[]
|
|
13864
13947
|
}[]
|
|
13865
13948
|
// ----- perfectionist/sort-variable-declarations -----
|
|
@@ -13991,7 +14074,9 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
13991
14074
|
|
|
13992
14075
|
groups?: (string | string[] | {
|
|
13993
14076
|
|
|
13994
|
-
newlinesBetween
|
|
14077
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
14078
|
+
|
|
14079
|
+
commentAbove?: string
|
|
13995
14080
|
})[]
|
|
13996
14081
|
}]
|
|
13997
14082
|
// ----- pnpm/json-enforce-catalog -----
|
|
@@ -14262,6 +14347,10 @@ type RegexpPreferLookaround = []|[{
|
|
|
14262
14347
|
type RegexpPreferNamedReplacement = []|[{
|
|
14263
14348
|
strictTypes?: boolean
|
|
14264
14349
|
}]
|
|
14350
|
+
// ----- regexp/prefer-quantifier -----
|
|
14351
|
+
type RegexpPreferQuantifier = []|[{
|
|
14352
|
+
allows?: string[]
|
|
14353
|
+
}]
|
|
14265
14354
|
// ----- regexp/prefer-range -----
|
|
14266
14355
|
type RegexpPreferRange = []|[{
|
|
14267
14356
|
target?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]])
|
|
@@ -16946,7 +17035,7 @@ type TsUnifiedSignatures = []|[{
|
|
|
16946
17035
|
// ----- tsdoc/syntax -----
|
|
16947
17036
|
type TsdocSyntax = []|[{
|
|
16948
17037
|
|
|
16949
|
-
type?: ("typedoc" | "base")
|
|
17038
|
+
type?: ("typedoc" | "api-extractor" | "base" | "core")
|
|
16950
17039
|
|
|
16951
17040
|
configFile?: string
|
|
16952
17041
|
}]
|
|
@@ -17870,9 +17959,9 @@ interface OptionsTSDoc extends OptionsOverrides {
|
|
|
17870
17959
|
/**
|
|
17871
17960
|
* The type of Storm Software TSDoc configuration to use.
|
|
17872
17961
|
*
|
|
17873
|
-
* @defaultValue "
|
|
17962
|
+
* @defaultValue "core"
|
|
17874
17963
|
*/
|
|
17875
|
-
type?: "base" | "typedoc";
|
|
17964
|
+
type?: "base" | "typedoc" | "api-extractor" | "core";
|
|
17876
17965
|
/**
|
|
17877
17966
|
* The path to a TSDoc config file.
|
|
17878
17967
|
*/
|
package/dist/types.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
banner_plugin_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-F5ULWOMY.js";
|
|
4
|
+
import "../chunk-7HV2SCAT.js";
|
|
5
|
+
import "../chunk-Z4QO5BZJ.js";
|
|
6
|
+
import "../chunk-UNRUDVIB.js";
|
|
7
7
|
export {
|
|
8
8
|
banner_plugin_default as default
|
|
9
9
|
};
|
package/dist/utils/combine.js
CHANGED
package/dist/utils/constants.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findWorkspaceRoot,
|
|
3
3
|
findWorkspaceRootSafe
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-WY33RVIK.js";
|
|
5
|
+
import "../chunk-IYZBR6CU.js";
|
|
6
|
+
import "../chunk-UNRUDVIB.js";
|
|
7
7
|
export {
|
|
8
8
|
findWorkspaceRoot,
|
|
9
9
|
findWorkspaceRootSafe
|
package/dist/utils/helpers.js
CHANGED
package/dist/utils/index.js
CHANGED
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
GLOB_VUE,
|
|
34
34
|
GLOB_XML,
|
|
35
35
|
GLOB_YAML
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-Z4QO5BZJ.js";
|
|
37
37
|
import {
|
|
38
38
|
formatConfig
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-57MJOSWD.js";
|
|
40
40
|
import {
|
|
41
41
|
init_esm_shims
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-UNRUDVIB.js";
|
|
43
43
|
|
|
44
44
|
// src/utils/index.ts
|
|
45
45
|
init_esm_shims();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.159.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
@@ -162,10 +162,10 @@
|
|
|
162
162
|
"@eslint/eslintrc": "^3.3.1",
|
|
163
163
|
"@eslint/markdown": "^6.4.0",
|
|
164
164
|
"@nx/eslint-plugin": "21.0.3",
|
|
165
|
-
"@stylistic/eslint-plugin": "^4.4.
|
|
166
|
-
"@typescript-eslint/eslint-plugin": "^8.33.
|
|
167
|
-
"@typescript-eslint/parser": "^8.33.
|
|
168
|
-
"@typescript-eslint/utils": "^8.33.
|
|
165
|
+
"@stylistic/eslint-plugin": "^4.4.1",
|
|
166
|
+
"@typescript-eslint/eslint-plugin": "^8.33.1",
|
|
167
|
+
"@typescript-eslint/parser": "^8.33.1",
|
|
168
|
+
"@typescript-eslint/utils": "^8.33.1",
|
|
169
169
|
"@vitest/eslint-plugin": "^1.2.1",
|
|
170
170
|
"chalk": "^4.1.2",
|
|
171
171
|
"defu": "6.1.4",
|
|
@@ -173,22 +173,22 @@
|
|
|
173
173
|
"eslint-config-prettier": "^10.1.5",
|
|
174
174
|
"eslint-flat-config-utils": "^2.1.0",
|
|
175
175
|
"eslint-merge-processors": "^2.0.0",
|
|
176
|
-
"eslint-plugin-import-x": "^4.
|
|
177
|
-
"eslint-plugin-jsdoc": "^50.
|
|
176
|
+
"eslint-plugin-import-x": "^4.15.0",
|
|
177
|
+
"eslint-plugin-jsdoc": "^50.7.1",
|
|
178
178
|
"eslint-plugin-json": "^4.0.1",
|
|
179
179
|
"eslint-plugin-jsonc": "^2.20.1",
|
|
180
180
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
181
181
|
"eslint-plugin-markdown": "^5.1.0",
|
|
182
182
|
"eslint-plugin-markdownlint": "^0.6.0",
|
|
183
183
|
"eslint-plugin-mdx": "^3.4.2",
|
|
184
|
-
"eslint-plugin-n": "^17.
|
|
184
|
+
"eslint-plugin-n": "^17.19.0",
|
|
185
185
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
186
186
|
"eslint-plugin-no-secrets": "^2.2.1",
|
|
187
187
|
"eslint-plugin-paths": "^1.1.0",
|
|
188
|
-
"eslint-plugin-perfectionist": "^4.
|
|
188
|
+
"eslint-plugin-perfectionist": "^4.14.0",
|
|
189
189
|
"eslint-plugin-pnpm": "0.3.0",
|
|
190
|
-
"eslint-plugin-prettier": "^5.4.
|
|
191
|
-
"eslint-plugin-regexp": "^2.
|
|
190
|
+
"eslint-plugin-prettier": "^5.4.1",
|
|
191
|
+
"eslint-plugin-regexp": "^2.8.0",
|
|
192
192
|
"eslint-plugin-toml": "^0.12.0",
|
|
193
193
|
"eslint-plugin-tsdoc": "0.4.0",
|
|
194
194
|
"eslint-plugin-unicorn": "^57.0.0",
|
|
@@ -203,14 +203,14 @@
|
|
|
203
203
|
},
|
|
204
204
|
"devDependencies": {
|
|
205
205
|
"@eslint-community/eslint-utils": "^4.7.0",
|
|
206
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
206
|
+
"@eslint-react/eslint-plugin": "^1.51.0",
|
|
207
207
|
"@eslint-types/typescript-eslint": "^7.5.0",
|
|
208
208
|
"@eslint/config-inspector": "^0.5.6",
|
|
209
209
|
"@graphql-eslint/eslint-plugin": "^4.4.0",
|
|
210
|
-
"@next/eslint-plugin-next": "^15.3.
|
|
210
|
+
"@next/eslint-plugin-next": "^15.3.3",
|
|
211
211
|
"@nx/eslint": "21.0.3",
|
|
212
212
|
"@prettier/plugin-xml": "^3.4.1",
|
|
213
|
-
"@stylistic/eslint-plugin-migrate": "^4.4.
|
|
213
|
+
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
214
214
|
"@types/eslint": "^9.6.1",
|
|
215
215
|
"@types/eslint__js": "^8.42.3",
|
|
216
216
|
"@types/node": "^22.10.2",
|