@storm-software/eslint 0.169.117 → 0.169.118
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/{chunk-IGNZJRNC.js → chunk-5AZBVWFB.js} +3 -3
- package/dist/{chunk-HGCOK6XC.js → chunk-7CNAMNPQ.js} +2 -2
- package/dist/{chunk-5HYHL72W.js → chunk-GRP5M6FC.js} +2 -2
- package/dist/{chunk-ASU5M27G.js → chunk-IMYHP6YO.js} +1 -1
- package/dist/{chunk-XK2F42EF.js → chunk-N2OBSANH.js} +1 -1
- package/dist/{chunk-655D5XKH.js → chunk-OS5BWNO4.js} +1 -1
- package/dist/{chunk-6DUZFXFW.js → chunk-QSL7N72D.js} +1 -1
- package/dist/{chunk-M7EEUVBU.js → chunk-TMDYSCHP.js} +3 -3
- package/dist/{chunk-N7E7GAQS.js → chunk-W6Z5TA6S.js} +1 -1
- package/dist/preset.cjs +2 -2
- package/dist/preset.js +8 -8
- package/dist/types.d.cts +47 -47
- package/dist/types.d.ts +47 -47
- 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.cjs +1 -1
- package/dist/utils/helpers.js +2 -2
- package/dist/utils/index.js +3 -3
- package/dist/utils/tsconfig-path.js +4 -4
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getFileBanner } from './chunk-
|
|
2
|
-
import { GLOB_SRC } from './chunk-
|
|
3
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { getFileBanner } from './chunk-GRP5M6FC.js';
|
|
2
|
+
import { GLOB_SRC } from './chunk-W6Z5TA6S.js';
|
|
3
|
+
import { init_esm_shims } from './chunk-OS5BWNO4.js';
|
|
4
4
|
import { ESLintUtils } from '@typescript-eslint/utils';
|
|
5
5
|
import os from 'node:os';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { correctPaths } from './chunk-
|
|
2
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { correctPaths } from './chunk-QSL7N72D.js';
|
|
2
|
+
import { init_esm_shims } from './chunk-OS5BWNO4.js';
|
|
3
3
|
import { existsSync } from 'node:fs';
|
|
4
4
|
import { join } from 'node:path';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ACRONYMS_LIST } from './chunk-
|
|
2
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { ACRONYMS_LIST } from './chunk-W6Z5TA6S.js';
|
|
2
|
+
import { init_esm_shims } from './chunk-OS5BWNO4.js';
|
|
3
3
|
|
|
4
4
|
// src/utils/get-file-banner.ts
|
|
5
5
|
init_esm_shims();
|
|
@@ -30,7 +30,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
mod
|
|
31
31
|
));
|
|
32
32
|
var init_esm_shims = __esm({
|
|
33
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
33
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__bcb7786b551c5e2378cdfe9100187f4c/node_modules/tsup/assets/esm_shims.js"() {
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { findWorkspaceRoot } from './chunk-
|
|
2
|
-
import { relative, joinPaths } from './chunk-
|
|
3
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
import { findWorkspaceRoot } from './chunk-7CNAMNPQ.js';
|
|
2
|
+
import { relative, joinPaths } from './chunk-QSL7N72D.js';
|
|
3
|
+
import { init_esm_shims } from './chunk-OS5BWNO4.js';
|
|
4
4
|
import { existsSync, statSync } from 'node:fs';
|
|
5
5
|
|
|
6
6
|
// src/utils/tsconfig-path.ts
|
package/dist/preset.cjs
CHANGED
|
@@ -112,10 +112,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
112
112
|
mod
|
|
113
113
|
));
|
|
114
114
|
|
|
115
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
115
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__bcb7786b551c5e2378cdfe9100187f4c/node_modules/tsup/assets/cjs_shims.js
|
|
116
116
|
var getImportMetaUrl, importMetaUrl;
|
|
117
117
|
var init_cjs_shims = __esm({
|
|
118
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
118
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__bcb7786b551c5e2378cdfe9100187f4c/node_modules/tsup/assets/cjs_shims.js"() {
|
|
119
119
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
120
120
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
121
121
|
}
|
package/dist/preset.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { isInEditorEnv, interopDefault, ensurePackages, renameRules, parserPlain, isPackageInScope } from './chunk-
|
|
2
|
-
import { getTsConfigPath } from './chunk-
|
|
3
|
-
import { banner_plugin_default } from './chunk-
|
|
4
|
-
import { getFileBanner } from './chunk-
|
|
5
|
-
import { GLOB_EXCLUDE, GLOB_TS, GLOB_TSX, GLOB_JSX, GLOB_MARKDOWN, GLOB_ASTRO_TS, GLOB_SRC, GLOB_TESTS, GLOB_ASTRO, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_YAML, GLOB_TOML, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MDX, GLOB_CSS, GLOB_POSTCSS, GLOB_SCSS, GLOB_LESS, GLOB_HTML, GLOB_XML, GLOB_SVG, GLOB_GRAPHQL, GLOB_SRC_EXT } from './chunk-
|
|
6
|
-
import { findWorkspaceRoot } from './chunk-
|
|
7
|
-
import { joinPaths } from './chunk-
|
|
8
|
-
import { __commonJS, init_esm_shims, __toESM } from './chunk-
|
|
1
|
+
import { isInEditorEnv, interopDefault, ensurePackages, renameRules, parserPlain, isPackageInScope } from './chunk-N2OBSANH.js';
|
|
2
|
+
import { getTsConfigPath } from './chunk-TMDYSCHP.js';
|
|
3
|
+
import { banner_plugin_default } from './chunk-5AZBVWFB.js';
|
|
4
|
+
import { getFileBanner } from './chunk-GRP5M6FC.js';
|
|
5
|
+
import { GLOB_EXCLUDE, GLOB_TS, GLOB_TSX, GLOB_JSX, GLOB_MARKDOWN, GLOB_ASTRO_TS, GLOB_SRC, GLOB_TESTS, GLOB_ASTRO, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_YAML, GLOB_TOML, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MDX, GLOB_CSS, GLOB_POSTCSS, GLOB_SCSS, GLOB_LESS, GLOB_HTML, GLOB_XML, GLOB_SVG, GLOB_GRAPHQL, GLOB_SRC_EXT } from './chunk-W6Z5TA6S.js';
|
|
6
|
+
import { findWorkspaceRoot } from './chunk-7CNAMNPQ.js';
|
|
7
|
+
import { joinPaths } from './chunk-QSL7N72D.js';
|
|
8
|
+
import { __commonJS, init_esm_shims, __toESM } from './chunk-OS5BWNO4.js';
|
|
9
9
|
import * as __import__microsoft_tsdocConfig from '@microsoft/tsdoc-config';
|
|
10
10
|
import * as __import_path from 'path';
|
|
11
11
|
import * as __import_fs from 'fs';
|
package/dist/types.d.cts
CHANGED
|
@@ -1458,238 +1458,238 @@ Backward pagination arguments
|
|
|
1458
1458
|
'import-zod/prefer-zod-namespace'?: Linter.RuleEntry<[]>
|
|
1459
1459
|
/**
|
|
1460
1460
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1461
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1461
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/consistent-type-specifier-style.md
|
|
1462
1462
|
*/
|
|
1463
1463
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
1464
1464
|
/**
|
|
1465
1465
|
* Ensure a default export is present, given a default import.
|
|
1466
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1466
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/default.md
|
|
1467
1467
|
*/
|
|
1468
1468
|
'import/default'?: Linter.RuleEntry<[]>
|
|
1469
1469
|
/**
|
|
1470
1470
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1471
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1471
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/dynamic-import-chunkname.md
|
|
1472
1472
|
*/
|
|
1473
1473
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1476
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1476
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/export.md
|
|
1477
1477
|
*/
|
|
1478
1478
|
'import/export'?: Linter.RuleEntry<[]>
|
|
1479
1479
|
/**
|
|
1480
1480
|
* Ensure all exports appear after other statements.
|
|
1481
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1481
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/exports-last.md
|
|
1482
1482
|
*/
|
|
1483
1483
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
1484
1484
|
/**
|
|
1485
1485
|
* Ensure consistent use of file extension within the import path.
|
|
1486
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1486
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/extensions.md
|
|
1487
1487
|
*/
|
|
1488
1488
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
1489
1489
|
/**
|
|
1490
1490
|
* Ensure all imports appear before other statements.
|
|
1491
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1491
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/first.md
|
|
1492
1492
|
*/
|
|
1493
1493
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
1494
1494
|
/**
|
|
1495
1495
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1496
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1496
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/group-exports.md
|
|
1497
1497
|
*/
|
|
1498
1498
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
1499
1499
|
/**
|
|
1500
1500
|
* Replaced by `import-x/first`.
|
|
1501
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1501
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/imports-first.md
|
|
1502
1502
|
* @deprecated
|
|
1503
1503
|
*/
|
|
1504
1504
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
1505
1505
|
/**
|
|
1506
1506
|
* Enforce the maximum number of dependencies a module can have.
|
|
1507
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1507
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/max-dependencies.md
|
|
1508
1508
|
*/
|
|
1509
1509
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
1510
1510
|
/**
|
|
1511
1511
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1512
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1512
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/named.md
|
|
1513
1513
|
*/
|
|
1514
1514
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
1515
1515
|
/**
|
|
1516
1516
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1517
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1517
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/namespace.md
|
|
1518
1518
|
*/
|
|
1519
1519
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
1520
1520
|
/**
|
|
1521
1521
|
* Enforce a newline after import statements.
|
|
1522
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1522
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/newline-after-import.md
|
|
1523
1523
|
*/
|
|
1524
1524
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
1525
1525
|
/**
|
|
1526
1526
|
* Forbid import of modules using absolute paths.
|
|
1527
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1527
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-absolute-path.md
|
|
1528
1528
|
*/
|
|
1529
1529
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
1530
1530
|
/**
|
|
1531
1531
|
* Forbid AMD `require` and `define` calls.
|
|
1532
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1532
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-amd.md
|
|
1533
1533
|
*/
|
|
1534
1534
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
1535
1535
|
/**
|
|
1536
1536
|
* Forbid anonymous values as default exports.
|
|
1537
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1537
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-anonymous-default-export.md
|
|
1538
1538
|
*/
|
|
1539
1539
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
1540
1540
|
/**
|
|
1541
1541
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1542
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1542
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-commonjs.md
|
|
1543
1543
|
*/
|
|
1544
1544
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
1545
1545
|
/**
|
|
1546
1546
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1547
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1547
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-cycle.md
|
|
1548
1548
|
*/
|
|
1549
1549
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
1550
1550
|
/**
|
|
1551
1551
|
* Forbid default exports.
|
|
1552
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1552
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-default-export.md
|
|
1553
1553
|
*/
|
|
1554
1554
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
1555
1555
|
/**
|
|
1556
1556
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1557
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1557
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-deprecated.md
|
|
1558
1558
|
*/
|
|
1559
1559
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1560
1560
|
/**
|
|
1561
1561
|
* Forbid repeated import of the same module in multiple places.
|
|
1562
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1562
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-duplicates.md
|
|
1563
1563
|
*/
|
|
1564
1564
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
1565
1565
|
/**
|
|
1566
1566
|
* Forbid `require()` calls with expressions.
|
|
1567
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1567
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-dynamic-require.md
|
|
1568
1568
|
*/
|
|
1569
1569
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
1570
1570
|
/**
|
|
1571
1571
|
* Forbid empty named import blocks.
|
|
1572
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1572
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-empty-named-blocks.md
|
|
1573
1573
|
*/
|
|
1574
1574
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1575
1575
|
/**
|
|
1576
1576
|
* Forbid the use of extraneous packages.
|
|
1577
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1577
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-extraneous-dependencies.md
|
|
1578
1578
|
*/
|
|
1579
1579
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
1580
1580
|
/**
|
|
1581
1581
|
* Forbid import statements with CommonJS module.exports.
|
|
1582
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1582
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-import-module-exports.md
|
|
1583
1583
|
*/
|
|
1584
1584
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
1585
1585
|
/**
|
|
1586
1586
|
* Forbid importing the submodules of other modules.
|
|
1587
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1587
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-internal-modules.md
|
|
1588
1588
|
*/
|
|
1589
1589
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
1590
1590
|
/**
|
|
1591
1591
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1592
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1592
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-mutable-exports.md
|
|
1593
1593
|
*/
|
|
1594
1594
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1595
1595
|
/**
|
|
1596
1596
|
* Forbid use of exported name as identifier of default export.
|
|
1597
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1597
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default.md
|
|
1598
1598
|
*/
|
|
1599
1599
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1600
1600
|
/**
|
|
1601
1601
|
* Forbid use of exported name as property of default export.
|
|
1602
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1602
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default-member.md
|
|
1603
1603
|
*/
|
|
1604
1604
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1605
1605
|
/**
|
|
1606
1606
|
* Forbid named default exports.
|
|
1607
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1607
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-default.md
|
|
1608
1608
|
*/
|
|
1609
1609
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
1610
1610
|
/**
|
|
1611
1611
|
* Forbid named exports.
|
|
1612
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1612
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-export.md
|
|
1613
1613
|
*/
|
|
1614
1614
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
1615
1615
|
/**
|
|
1616
1616
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1617
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1617
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-namespace.md
|
|
1618
1618
|
*/
|
|
1619
1619
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
1620
1620
|
/**
|
|
1621
1621
|
* Forbid Node.js builtin modules.
|
|
1622
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1622
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-nodejs-modules.md
|
|
1623
1623
|
*/
|
|
1624
1624
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
1625
1625
|
/**
|
|
1626
1626
|
* Forbid importing packages through relative paths.
|
|
1627
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1627
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-packages.md
|
|
1628
1628
|
*/
|
|
1629
1629
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
1630
1630
|
/**
|
|
1631
1631
|
* Forbid importing modules from parent directories.
|
|
1632
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1632
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-parent-imports.md
|
|
1633
1633
|
*/
|
|
1634
1634
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
1635
1635
|
/**
|
|
1636
1636
|
* Forbid importing a default export by a different name.
|
|
1637
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1637
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-rename-default.md
|
|
1638
1638
|
*/
|
|
1639
1639
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
1640
1640
|
/**
|
|
1641
1641
|
* Enforce which files can be imported in a given folder.
|
|
1642
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1642
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-restricted-paths.md
|
|
1643
1643
|
*/
|
|
1644
1644
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
1645
1645
|
/**
|
|
1646
1646
|
* Forbid a module from importing itself.
|
|
1647
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1647
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-self-import.md
|
|
1648
1648
|
*/
|
|
1649
1649
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
1650
1650
|
/**
|
|
1651
1651
|
* Forbid unassigned imports.
|
|
1652
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1652
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unassigned-import.md
|
|
1653
1653
|
*/
|
|
1654
1654
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
1655
1655
|
/**
|
|
1656
1656
|
* Ensure imports point to a file/module that can be resolved.
|
|
1657
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1657
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unresolved.md
|
|
1658
1658
|
*/
|
|
1659
1659
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
1660
1660
|
/**
|
|
1661
1661
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1662
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1662
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unused-modules.md
|
|
1663
1663
|
*/
|
|
1664
1664
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
1665
1665
|
/**
|
|
1666
1666
|
* Forbid unnecessary path segments in import and require statements.
|
|
1667
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1667
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-useless-path-segments.md
|
|
1668
1668
|
*/
|
|
1669
1669
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
1670
1670
|
/**
|
|
1671
1671
|
* Forbid webpack loader syntax in imports.
|
|
1672
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1672
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-webpack-loader-syntax.md
|
|
1673
1673
|
*/
|
|
1674
1674
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1675
1675
|
/**
|
|
1676
1676
|
* Enforce a convention in module import order.
|
|
1677
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1677
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/order.md
|
|
1678
1678
|
*/
|
|
1679
1679
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
1680
1680
|
/**
|
|
1681
1681
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1682
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1682
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-default-export.md
|
|
1683
1683
|
*/
|
|
1684
1684
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
1685
1685
|
/**
|
|
1686
1686
|
* Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
|
|
1687
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1687
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-namespace-import.md
|
|
1688
1688
|
*/
|
|
1689
1689
|
'import/prefer-namespace-import'?: Linter.RuleEntry<ImportPreferNamespaceImport>
|
|
1690
1690
|
/**
|
|
1691
1691
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1692
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1692
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/unambiguous.md
|
|
1693
1693
|
*/
|
|
1694
1694
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
1695
1695
|
/**
|
package/dist/types.d.ts
CHANGED
|
@@ -1458,238 +1458,238 @@ Backward pagination arguments
|
|
|
1458
1458
|
'import-zod/prefer-zod-namespace'?: Linter.RuleEntry<[]>
|
|
1459
1459
|
/**
|
|
1460
1460
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1461
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1461
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/consistent-type-specifier-style.md
|
|
1462
1462
|
*/
|
|
1463
1463
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
1464
1464
|
/**
|
|
1465
1465
|
* Ensure a default export is present, given a default import.
|
|
1466
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1466
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/default.md
|
|
1467
1467
|
*/
|
|
1468
1468
|
'import/default'?: Linter.RuleEntry<[]>
|
|
1469
1469
|
/**
|
|
1470
1470
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1471
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1471
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/dynamic-import-chunkname.md
|
|
1472
1472
|
*/
|
|
1473
1473
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1476
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1476
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/export.md
|
|
1477
1477
|
*/
|
|
1478
1478
|
'import/export'?: Linter.RuleEntry<[]>
|
|
1479
1479
|
/**
|
|
1480
1480
|
* Ensure all exports appear after other statements.
|
|
1481
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1481
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/exports-last.md
|
|
1482
1482
|
*/
|
|
1483
1483
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
1484
1484
|
/**
|
|
1485
1485
|
* Ensure consistent use of file extension within the import path.
|
|
1486
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1486
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/extensions.md
|
|
1487
1487
|
*/
|
|
1488
1488
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
1489
1489
|
/**
|
|
1490
1490
|
* Ensure all imports appear before other statements.
|
|
1491
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1491
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/first.md
|
|
1492
1492
|
*/
|
|
1493
1493
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
1494
1494
|
/**
|
|
1495
1495
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1496
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1496
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/group-exports.md
|
|
1497
1497
|
*/
|
|
1498
1498
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
1499
1499
|
/**
|
|
1500
1500
|
* Replaced by `import-x/first`.
|
|
1501
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1501
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/imports-first.md
|
|
1502
1502
|
* @deprecated
|
|
1503
1503
|
*/
|
|
1504
1504
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
1505
1505
|
/**
|
|
1506
1506
|
* Enforce the maximum number of dependencies a module can have.
|
|
1507
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1507
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/max-dependencies.md
|
|
1508
1508
|
*/
|
|
1509
1509
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
1510
1510
|
/**
|
|
1511
1511
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1512
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1512
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/named.md
|
|
1513
1513
|
*/
|
|
1514
1514
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
1515
1515
|
/**
|
|
1516
1516
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1517
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1517
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/namespace.md
|
|
1518
1518
|
*/
|
|
1519
1519
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
1520
1520
|
/**
|
|
1521
1521
|
* Enforce a newline after import statements.
|
|
1522
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1522
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/newline-after-import.md
|
|
1523
1523
|
*/
|
|
1524
1524
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
1525
1525
|
/**
|
|
1526
1526
|
* Forbid import of modules using absolute paths.
|
|
1527
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1527
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-absolute-path.md
|
|
1528
1528
|
*/
|
|
1529
1529
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
1530
1530
|
/**
|
|
1531
1531
|
* Forbid AMD `require` and `define` calls.
|
|
1532
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1532
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-amd.md
|
|
1533
1533
|
*/
|
|
1534
1534
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
1535
1535
|
/**
|
|
1536
1536
|
* Forbid anonymous values as default exports.
|
|
1537
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1537
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-anonymous-default-export.md
|
|
1538
1538
|
*/
|
|
1539
1539
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
1540
1540
|
/**
|
|
1541
1541
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1542
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1542
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-commonjs.md
|
|
1543
1543
|
*/
|
|
1544
1544
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
1545
1545
|
/**
|
|
1546
1546
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1547
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1547
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-cycle.md
|
|
1548
1548
|
*/
|
|
1549
1549
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
1550
1550
|
/**
|
|
1551
1551
|
* Forbid default exports.
|
|
1552
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1552
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-default-export.md
|
|
1553
1553
|
*/
|
|
1554
1554
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
1555
1555
|
/**
|
|
1556
1556
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1557
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1557
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-deprecated.md
|
|
1558
1558
|
*/
|
|
1559
1559
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1560
1560
|
/**
|
|
1561
1561
|
* Forbid repeated import of the same module in multiple places.
|
|
1562
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1562
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-duplicates.md
|
|
1563
1563
|
*/
|
|
1564
1564
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
1565
1565
|
/**
|
|
1566
1566
|
* Forbid `require()` calls with expressions.
|
|
1567
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1567
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-dynamic-require.md
|
|
1568
1568
|
*/
|
|
1569
1569
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
1570
1570
|
/**
|
|
1571
1571
|
* Forbid empty named import blocks.
|
|
1572
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1572
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-empty-named-blocks.md
|
|
1573
1573
|
*/
|
|
1574
1574
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1575
1575
|
/**
|
|
1576
1576
|
* Forbid the use of extraneous packages.
|
|
1577
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1577
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-extraneous-dependencies.md
|
|
1578
1578
|
*/
|
|
1579
1579
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
1580
1580
|
/**
|
|
1581
1581
|
* Forbid import statements with CommonJS module.exports.
|
|
1582
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1582
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-import-module-exports.md
|
|
1583
1583
|
*/
|
|
1584
1584
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
1585
1585
|
/**
|
|
1586
1586
|
* Forbid importing the submodules of other modules.
|
|
1587
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1587
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-internal-modules.md
|
|
1588
1588
|
*/
|
|
1589
1589
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
1590
1590
|
/**
|
|
1591
1591
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1592
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1592
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-mutable-exports.md
|
|
1593
1593
|
*/
|
|
1594
1594
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1595
1595
|
/**
|
|
1596
1596
|
* Forbid use of exported name as identifier of default export.
|
|
1597
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1597
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default.md
|
|
1598
1598
|
*/
|
|
1599
1599
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1600
1600
|
/**
|
|
1601
1601
|
* Forbid use of exported name as property of default export.
|
|
1602
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1602
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default-member.md
|
|
1603
1603
|
*/
|
|
1604
1604
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1605
1605
|
/**
|
|
1606
1606
|
* Forbid named default exports.
|
|
1607
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1607
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-default.md
|
|
1608
1608
|
*/
|
|
1609
1609
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
1610
1610
|
/**
|
|
1611
1611
|
* Forbid named exports.
|
|
1612
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1612
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-export.md
|
|
1613
1613
|
*/
|
|
1614
1614
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
1615
1615
|
/**
|
|
1616
1616
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1617
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1617
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-namespace.md
|
|
1618
1618
|
*/
|
|
1619
1619
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
1620
1620
|
/**
|
|
1621
1621
|
* Forbid Node.js builtin modules.
|
|
1622
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1622
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-nodejs-modules.md
|
|
1623
1623
|
*/
|
|
1624
1624
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
1625
1625
|
/**
|
|
1626
1626
|
* Forbid importing packages through relative paths.
|
|
1627
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1627
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-packages.md
|
|
1628
1628
|
*/
|
|
1629
1629
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
1630
1630
|
/**
|
|
1631
1631
|
* Forbid importing modules from parent directories.
|
|
1632
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1632
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-parent-imports.md
|
|
1633
1633
|
*/
|
|
1634
1634
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
1635
1635
|
/**
|
|
1636
1636
|
* Forbid importing a default export by a different name.
|
|
1637
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1637
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-rename-default.md
|
|
1638
1638
|
*/
|
|
1639
1639
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
1640
1640
|
/**
|
|
1641
1641
|
* Enforce which files can be imported in a given folder.
|
|
1642
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1642
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-restricted-paths.md
|
|
1643
1643
|
*/
|
|
1644
1644
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
1645
1645
|
/**
|
|
1646
1646
|
* Forbid a module from importing itself.
|
|
1647
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1647
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-self-import.md
|
|
1648
1648
|
*/
|
|
1649
1649
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
1650
1650
|
/**
|
|
1651
1651
|
* Forbid unassigned imports.
|
|
1652
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1652
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unassigned-import.md
|
|
1653
1653
|
*/
|
|
1654
1654
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
1655
1655
|
/**
|
|
1656
1656
|
* Ensure imports point to a file/module that can be resolved.
|
|
1657
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1657
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unresolved.md
|
|
1658
1658
|
*/
|
|
1659
1659
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
1660
1660
|
/**
|
|
1661
1661
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1662
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1662
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unused-modules.md
|
|
1663
1663
|
*/
|
|
1664
1664
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
1665
1665
|
/**
|
|
1666
1666
|
* Forbid unnecessary path segments in import and require statements.
|
|
1667
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1667
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-useless-path-segments.md
|
|
1668
1668
|
*/
|
|
1669
1669
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
1670
1670
|
/**
|
|
1671
1671
|
* Forbid webpack loader syntax in imports.
|
|
1672
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1672
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-webpack-loader-syntax.md
|
|
1673
1673
|
*/
|
|
1674
1674
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1675
1675
|
/**
|
|
1676
1676
|
* Enforce a convention in module import order.
|
|
1677
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1677
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/order.md
|
|
1678
1678
|
*/
|
|
1679
1679
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
1680
1680
|
/**
|
|
1681
1681
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1682
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1682
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-default-export.md
|
|
1683
1683
|
*/
|
|
1684
1684
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
1685
1685
|
/**
|
|
1686
1686
|
* Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
|
|
1687
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1687
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-namespace-import.md
|
|
1688
1688
|
*/
|
|
1689
1689
|
'import/prefer-namespace-import'?: Linter.RuleEntry<ImportPreferNamespaceImport>
|
|
1690
1690
|
/**
|
|
1691
1691
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1692
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1692
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/unambiguous.md
|
|
1693
1693
|
*/
|
|
1694
1694
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
1695
1695
|
/**
|
package/dist/types.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { banner_plugin_default as default } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { banner_plugin_default as default } from '../chunk-5AZBVWFB.js';
|
|
2
|
+
import '../chunk-GRP5M6FC.js';
|
|
3
|
+
import '../chunk-W6Z5TA6S.js';
|
|
4
|
+
import '../chunk-OS5BWNO4.js';
|
package/dist/utils/combine.js
CHANGED
package/dist/utils/constants.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ACRONYMS_LIST, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CODE_BLOCK, GLOB_CODE_FILE, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MDX, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ACRONYMS_LIST, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CODE_BLOCK, GLOB_CODE_FILE, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MDX, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML } from '../chunk-W6Z5TA6S.js';
|
|
2
|
+
import '../chunk-OS5BWNO4.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { basename, correctPaths, dirname, extname, format, isAbsolute, joinPaths, normalizeString, normalizeWindowsPath, parse, relative, resolve, sep, toNamespacedPath } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { basename, correctPaths, dirname, extname, format, isAbsolute, joinPaths, normalizeString, normalizeWindowsPath, parse, relative, resolve, sep, toNamespacedPath } from '../chunk-QSL7N72D.js';
|
|
2
|
+
import '../chunk-OS5BWNO4.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { findWorkspaceRoot, findWorkspaceRootSafe } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { findWorkspaceRoot, findWorkspaceRootSafe } from '../chunk-7CNAMNPQ.js';
|
|
2
|
+
import '../chunk-QSL7N72D.js';
|
|
3
|
+
import '../chunk-OS5BWNO4.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { formatConfig } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { formatConfig } from '../chunk-IMYHP6YO.js';
|
|
2
|
+
import '../chunk-OS5BWNO4.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { getFileBanner } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { getFileBanner } from '../chunk-GRP5M6FC.js';
|
|
2
|
+
import '../chunk-W6Z5TA6S.js';
|
|
3
|
+
import '../chunk-OS5BWNO4.js';
|
package/dist/utils/helpers.cjs
CHANGED
|
@@ -8,7 +8,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
8
8
|
|
|
9
9
|
var process__default = /*#__PURE__*/_interopDefault(process);
|
|
10
10
|
|
|
11
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
11
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__bcb7786b551c5e2378cdfe9100187f4c/node_modules/tsup/assets/cjs_shims.js
|
|
12
12
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
13
13
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
14
14
|
var scopeUrl = url.fileURLToPath(new URL(".", importMetaUrl));
|
package/dist/utils/helpers.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ensurePackages, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, parserPlain, renameRules } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ensurePackages, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, parserPlain, renameRules } from '../chunk-N2OBSANH.js';
|
|
2
|
+
import '../chunk-OS5BWNO4.js';
|
package/dist/utils/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ACRONYMS_LIST, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CODE_BLOCK, GLOB_CODE_FILE, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MDX, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML } from '../chunk-
|
|
2
|
-
export { formatConfig } from '../chunk-
|
|
3
|
-
import { init_esm_shims } from '../chunk-
|
|
1
|
+
export { ACRONYMS_LIST, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CODE_BLOCK, GLOB_CODE_FILE, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_MDX, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML } from '../chunk-W6Z5TA6S.js';
|
|
2
|
+
export { formatConfig } from '../chunk-IMYHP6YO.js';
|
|
3
|
+
import { init_esm_shims } from '../chunk-OS5BWNO4.js';
|
|
4
4
|
|
|
5
5
|
// src/utils/index.ts
|
|
6
6
|
init_esm_shims();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { checkTsConfigPath, getTsConfigPath } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { checkTsConfigPath, getTsConfigPath } from '../chunk-TMDYSCHP.js';
|
|
2
|
+
import '../chunk-7CNAMNPQ.js';
|
|
3
|
+
import '../chunk-QSL7N72D.js';
|
|
4
|
+
import '../chunk-OS5BWNO4.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.169.
|
|
3
|
+
"version": "0.169.118",
|
|
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,20 +141,20 @@
|
|
|
141
141
|
"@eslint/eslintrc": "^3.3.5",
|
|
142
142
|
"@eslint/markdown": "^6.6.0",
|
|
143
143
|
"@nx/eslint-plugin": "22.5.1",
|
|
144
|
-
"@storm-software/config": "^1.135.
|
|
145
|
-
"@storm-software/config-tools": "^1.189.
|
|
144
|
+
"@storm-software/config": "^1.135.30",
|
|
145
|
+
"@storm-software/config-tools": "^1.189.29",
|
|
146
146
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
147
147
|
"@typescript-eslint/eslint-plugin": "^8.57.0",
|
|
148
148
|
"@typescript-eslint/parser": "^8.57.0",
|
|
149
149
|
"@typescript-eslint/utils": "^8.57.0",
|
|
150
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
150
|
+
"@vitest/eslint-plugin": "^1.6.12",
|
|
151
151
|
"chalk": "^4.1.2",
|
|
152
152
|
"defu": "6.1.4",
|
|
153
153
|
"eslint-config-flat-gitignore": "^2.2.1",
|
|
154
154
|
"eslint-config-prettier": "^10.1.8",
|
|
155
155
|
"eslint-flat-config-utils": "^2.1.4",
|
|
156
156
|
"eslint-merge-processors": "^2.0.0",
|
|
157
|
-
"eslint-plugin-import-x": "^4.16.
|
|
157
|
+
"eslint-plugin-import-x": "^4.16.2",
|
|
158
158
|
"eslint-plugin-jsdoc": "^50.8.0",
|
|
159
159
|
"eslint-plugin-json": "^4.0.1",
|
|
160
160
|
"eslint-plugin-jsonc": "^2.21.1",
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
"@stylistic/eslint-plugin-migrate": "^4.4.1",
|
|
196
196
|
"@types/eslint": "^9.6.1",
|
|
197
197
|
"@types/eslint__js": "^8.42.3",
|
|
198
|
-
"@types/node": "^25.
|
|
198
|
+
"@types/node": "^25.5.0",
|
|
199
199
|
"@unocss/eslint-plugin": "^65.5.0",
|
|
200
200
|
"astro-eslint-parser": "^1.3.0",
|
|
201
201
|
"esbuild": "^0.25.12",
|
|
@@ -239,5 +239,5 @@
|
|
|
239
239
|
"prettier-plugin-astro": "^0.14.0"
|
|
240
240
|
},
|
|
241
241
|
"publishConfig": { "access": "public" },
|
|
242
|
-
"gitHead": "
|
|
242
|
+
"gitHead": "62a73f8e71fcdde5f3c54464e81eef515cc4c755"
|
|
243
243
|
}
|