diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 6f7d69f118d..36323edbf63 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -407,3 +407,26 @@ When running commands like `install`, `update`, `build`, `rebuild`, etc., by def 3. Logging and Diagnostics - Use `--verbose` parameter for detailed logs - Verify command parameter correctness + +# 7. Lint Policy + +## 7.1 The repo's universal lint config and the strict-codegen rules + +The repo's universal ESLint rule set is the rig overlay +`rigs/decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/_common.js` +(`localCommonConfig`), composed after the published `@rushstack/eslint-config` profile for +every project in the repository. The "strict-codegen" rules (small functions/files, named +constants, nullish coalescing, strict import hygiene, no `eval`) live in that file, marked +with `// strict-codegen` comments; they roll out at 'warn' and ratchet to 'error' as +packages onboard via bulk suppressions. + +## 7.2 Suppressions are disallowed + +- Do NOT add `eslint-disable` comments or any inline ESLint config. +- Do NOT add `ignores` entries to ESLint configs to hide violations. +- Pre-existing violations may only be recorded in `.eslint-bulk-suppressions.json` via the + `@rushstack/eslint-bulk` CLI (`eslint-bulk suppress` / `eslint-bulk prune`). The file is a + ratchet: it may shrink in a PR, but may not grow except in a dedicated onboarding PR. + +See [AGENTS.md](../AGENTS.md) for the full lint policy, rollout phases, and the list of +deferred strict rules. diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 00000000000..dec20f777c7 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,65 @@ +# Rushstack agent instructions + +For Rush monorepo conventions (commands, subspaces, caching, project selection), see +[.github/copilot-instructions.md](.github/copilot-instructions.md). + +## Lint policy + +### Strict rules ("strict-codegen") live in the repo's universal lint config + +The repo's universal ESLint rule set is the rig overlay at +[`rigs/decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/_common.js`](rigs/decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/_common.js) +(`localCommonConfig`). It is composed after the published `@rushstack/eslint-config` profile +and applies to every project in the repository (consumed directly via the rig or via +`local-eslint-config`, which copies it at build time). + +The "strict-codegen" rules (small functions/files, named constants, nullish coalescing, +strict import hygiene, no `eval`) live there, marked with `// strict-codegen` comments. +Rollout status and remaining phases: + +1. **warn phase — DONE.** Rules run at `'warn'` repo-wide; the bulk-suppressions patch is + wired into every project's eslint config. +2. **onboarding — DONE.** Every package's pre-existing violations are recorded in its + `.eslint-bulk-suppressions.json` via `@rushstack/eslint-bulk`. +3. **error phase — NEXT.** Flip the marked rules to `'error'` in `_common.js` (small diff); + builds stay green because suppressions are severity-independent. +4. **noInlineConfig phase — LAST.** First strip remaining inline `eslint-disable` comments + repo-wide (they cannot be bulk-suppressed once inert) and re-run + `eslint-bulk suppress --all .` per package to capture the unmasked violations; then + enable `linterOptions: { noInlineConfig: true, reportUnusedDisableDirectives: 'error' }` + in the overlay. + +### Suppressions are disallowed + +- Do NOT add `eslint-disable` comments or any inline ESLint config to source files. Once + the noInlineConfig phase lands this is also mechanically enforced: such comments become + inert (they suppress nothing) and are flagged, while the violations they target remain + build-breaking errors. +- Do NOT add `ignores` entries to ESLint configs to hide violations. +- The only sanctioned mechanism for pre-existing violations is the bulk suppressions file + (`.eslint-bulk-suppressions.json`), managed exclusively with the + [`@rushstack/eslint-bulk`](https://www.npmjs.com/package/@rushstack/eslint-bulk) CLI: + + ```sh + # Record all current violations as bulk suppressions (run in the project folder) + eslint-bulk suppress --all . + + # After fixing code, drop suppressions that are no longer needed + eslint-bulk prune . + ``` + + Treat `.eslint-bulk-suppressions.json` as a ratchet: it may only shrink in a PR, never + grow, unless the PR's sole purpose is onboarding the package to the strict rules. + +- `@rushstack/no-new-null` stays at the repo-wide `'warn'`: packages that must express + JSON's `null` in payload types (e.g. wire codecs with a recursive JSON-value union) record + bulk suppressions for it instead of disabling the rule. + +### Deferred strict rules + +These zero-tolerance rules are intentionally **not** enabled yet, pending dedicated rollouts: + +- **no-inline-type-import** (banning inline `type` specifiers in favor of top-level + `import type` statements): conflicts with the repo's house style of inline type specifiers + (`import { type X, Y }`), which the universal config enforces via + `@typescript-eslint/consistent-type-imports` with `fixStyle: 'inline-type-imports'`. diff --git a/apps/api-documenter/.eslint-bulk-suppressions.json b/apps/api-documenter/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..dfd82f75dae --- /dev/null +++ b/apps/api-documenter/.eslint-bulk-suppressions.json @@ -0,0 +1,1124 @@ +{ + "suppressions": [ + { + "file": "src/cli/ApiDocumenterCommandLine.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/BaseAction.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/BaseAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/BaseAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/BaseAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/BaseAction.ts", + "scopeId": ".BaseAction._applyInheritDoc", + "rule": "complexity" + }, + { + "file": "src/cli/BaseAction.ts", + "scopeId": ".BaseAction._applyInheritDoc", + "rule": "max-depth" + }, + { + "file": "src/cli/BaseAction.ts", + "scopeId": ".BaseAction._applyInheritDoc", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/BaseAction.ts", + "scopeId": ".BaseAction.buildApiModel", + "rule": "complexity" + }, + { + "file": "src/cli/GenerateAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/GenerateAction.ts", + "scopeId": ".GenerateAction.onExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/cli/GenerateAction.ts", + "scopeId": ".GenerateAction.onExecuteAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/MarkdownAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/YamlAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/YamlAction.ts", + "scopeId": ".YamlAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/DocumenterConfig.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/documenters/DocumenterConfig.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/documenters/DocumenterConfig.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/documenters/ExperimentalYamlDocumenter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/documenters/ExperimentalYamlDocumenter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/documenters/ExperimentalYamlDocumenter.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/documenters/ExperimentalYamlDocumenter.ts", + "scopeId": ".ExperimentalYamlDocumenter._buildTocItems2", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/ExperimentalYamlDocumenter.ts", + "scopeId": ".ExperimentalYamlDocumenter._buildTocItems2", + "rule": "complexity" + }, + { + "file": "src/documenters/ExperimentalYamlDocumenter.ts", + "scopeId": ".ExperimentalYamlDocumenter._buildTocItems2", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/ExperimentalYamlDocumenter.ts", + "scopeId": ".ExperimentalYamlDocumenter._filterItem", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/ExperimentalYamlDocumenter.ts", + "scopeId": ".ExperimentalYamlDocumenter._filterItem", + "rule": "complexity" + }, + { + "file": "src/documenters/ExperimentalYamlDocumenter.ts", + "scopeId": ".ExperimentalYamlDocumenter._filterItem", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/ExperimentalYamlDocumenter.ts", + "scopeId": ".ExperimentalYamlDocumenter._findInlineTagByName", + "rule": "complexity" + }, + { + "file": "src/documenters/ExperimentalYamlDocumenter.ts", + "scopeId": ".ExperimentalYamlDocumenter._generateTocPointersMap", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/ExperimentalYamlDocumenter.ts", + "scopeId": ".ExperimentalYamlDocumenter._generateTocPointersMap", + "rule": "complexity" + }, + { + "file": "src/documenters/ExperimentalYamlDocumenter.ts", + "scopeId": ".ExperimentalYamlDocumenter._generateTocPointersMap", + "rule": "max-depth" + }, + { + "file": "src/documenters/ExperimentalYamlDocumenter.ts", + "scopeId": ".ExperimentalYamlDocumenter._shouldNotIncludeInPointersMap", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/IConfigFile.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._appendAndMergeSection", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._appendExcerptTokenWithHyperlinks", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._appendExcerptTokenWithHyperlinks", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._createDescriptionCell", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._createDescriptionCell", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._createModifiersCell", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._createModifiersCell", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._getFilenameForApiItem", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._getFilenameForApiItem", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._getFilenameForApiItem", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._getMembersAndWriteIncompleteWarning", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._getMembersAndWriteIncompleteWarning", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeApiItemPage", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeApiItemPage", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeApiItemPage", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeBreadcrumb", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeBreadcrumb", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeClassTables", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeClassTables", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeClassTables", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeDefaultValueSection", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeDefaultValueSection", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeDefaultValueSection", + "rule": "max-depth" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeEnumTables", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeHeritageTypes", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeHeritageTypes", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeHeritageTypes", + "rule": "max-depth" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeHeritageTypes", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeInterfaceTables", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeInterfaceTables", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeInterfaceTables", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeModelTable", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeModelTable", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writePackageOrNamespaceTables", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writePackageOrNamespaceTables", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writePackageOrNamespaceTables", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeParameterTables", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeParameterTables", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeParameterTables", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeRemarksSection", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeRemarksSection", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeRemarksSection", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeThrowsSection", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeThrowsSection", + "rule": "complexity" + }, + { + "file": "src/documenters/MarkdownDocumenter.ts", + "scopeId": ".MarkdownDocumenter._writeThrowsSection", + "rule": "max-depth" + }, + { + "file": "src/documenters/OfficeYamlDocumenter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/documenters/OfficeYamlDocumenter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/documenters/OfficeYamlDocumenter.ts", + "scopeId": ".OfficeYamlDocumenter.onCustomizeYamlItem", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/documenters/OfficeYamlDocumenter.ts", + "scopeId": ".OfficeYamlDocumenter.onCustomizeYamlItem", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._buildTocItems", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._buildTocItems", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._ensureYamlReferences", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._flattenNamespaces", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._flattenNamespaces", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._flattenNamespaces", + "rule": "max-depth" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._flattenNamespaces", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._generateYamlItem", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._generateYamlItem", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._generateYamlItem", + "rule": "max-depth" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._generateYamlItem", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._getLogicalChildren", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._getLogicalChildren", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._getTocItemName", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._getTocItemName", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._getYamlFilePath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._getYamlFilePath", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._getYamlItemName", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._getYamlItemName", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._initApiItemsRecursive", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._populateYamlClassOrInterface", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._populateYamlClassOrInterface", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._populateYamlClassOrInterface", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._populateYamlFunctionLike", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._populateYamlFunctionLike", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._populateYamlTypeParameters", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._recordYamlReference", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._recordYamlReference", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._recordYamlReference", + "rule": "max-depth" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._recordYamlReference", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._recordYamlReference", + "rule": "max-params" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._renderInheritance", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._renderInheritance", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._renderInheritance", + "rule": "max-depth" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._renderType", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._renderType", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._renderType", + "rule": "max-lines-per-function" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._shouldEmbed", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._shouldInclude", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._visitApiItems", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._visitApiItems", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._visitApiItems", + "rule": "complexity" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._visitApiItems", + "rule": "max-depth" + }, + { + "file": "src/documenters/YamlDocumenter.ts", + "scopeId": ".YamlDocumenter._visitApiItems", + "rule": "max-lines-per-function" + }, + { + "file": "src/markdown/CustomMarkdownEmitter.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/markdown/CustomMarkdownEmitter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/markdown/CustomMarkdownEmitter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/markdown/CustomMarkdownEmitter.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/markdown/CustomMarkdownEmitter.ts", + "scopeId": ".CustomMarkdownEmitter.writeLinkTagWithCodeDestination", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/markdown/CustomMarkdownEmitter.ts", + "scopeId": ".CustomMarkdownEmitter.writeLinkTagWithCodeDestination", + "rule": "complexity" + }, + { + "file": "src/markdown/CustomMarkdownEmitter.ts", + "scopeId": ".CustomMarkdownEmitter.writeLinkTagWithCodeDestination", + "rule": "max-lines-per-function" + }, + { + "file": "src/markdown/CustomMarkdownEmitter.ts", + "scopeId": ".CustomMarkdownEmitter.writeNode", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/markdown/CustomMarkdownEmitter.ts", + "scopeId": ".CustomMarkdownEmitter.writeNode", + "rule": "complexity" + }, + { + "file": "src/markdown/CustomMarkdownEmitter.ts", + "scopeId": ".CustomMarkdownEmitter.writeNode", + "rule": "max-depth" + }, + { + "file": "src/markdown/CustomMarkdownEmitter.ts", + "scopeId": ".CustomMarkdownEmitter.writeNode", + "rule": "max-lines-per-function" + }, + { + "file": "src/markdown/MarkdownEmitter.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/markdown/MarkdownEmitter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/markdown/MarkdownEmitter.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/markdown/MarkdownEmitter.ts", + "scopeId": ".MarkdownEmitter.writeLinkTagWithUrlDestination", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/markdown/MarkdownEmitter.ts", + "scopeId": ".MarkdownEmitter.writeNode", + "rule": "complexity" + }, + { + "file": "src/markdown/MarkdownEmitter.ts", + "scopeId": ".MarkdownEmitter.writeNode", + "rule": "max-lines-per-function" + }, + { + "file": "src/markdown/MarkdownEmitter.ts", + "scopeId": ".MarkdownEmitter.writeNodes", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/markdown/MarkdownEmitter.ts", + "scopeId": ".MarkdownEmitter.writePlainText", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/markdown/MarkdownEmitter.ts", + "scopeId": ".MarkdownEmitter.writePlainText", + "rule": "complexity" + }, + { + "file": "src/markdown/MarkdownEmitter.ts", + "scopeId": ".MarkdownEmitter.writePlainText", + "rule": "max-lines-per-function" + }, + { + "file": "src/markdown/test/CustomMarkdownEmitter.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/markdown/test/CustomMarkdownEmitter.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/markdown/test/CustomMarkdownEmitter.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/nodes/CustomDocNodeKind.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/nodes/CustomDocNodeKind.ts", + "scopeId": ".CustomDocNodes.configuration", + "rule": "max-lines-per-function" + }, + { + "file": "src/nodes/DocHeading.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/nodes/DocHeading.ts", + "scopeId": ".DocHeading.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/nodes/DocHeading.ts", + "scopeId": ".DocHeading.constructor", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/nodes/DocHeading.ts", + "scopeId": ".DocHeading.constructor", + "rule": "complexity" + }, + { + "file": "src/nodes/DocNoteBox.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/nodes/DocTable.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/nodes/DocTable.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/nodes/DocTable.ts", + "scopeId": ".DocTable.constructor", + "rule": "complexity" + }, + { + "file": "src/nodes/DocTableCell.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/nodes/DocTableRow.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/plugin/IApiDocumenterPluginManifest.ts", + "scopeId": ".IApiDocumenterPluginManifest", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/plugin/MarkdownDocumenterFeature.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/plugin/MarkdownDocumenterFeature.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/plugin/PluginLoader.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/plugin/PluginLoader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/plugin/PluginLoader.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/plugin/PluginLoader.ts", + "scopeId": ".PluginLoader.load", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/plugin/PluginLoader.ts", + "scopeId": ".PluginLoader.load", + "rule": "complexity" + }, + { + "file": "src/plugin/PluginLoader.ts", + "scopeId": ".PluginLoader.load", + "rule": "max-depth" + }, + { + "file": "src/plugin/PluginLoader.ts", + "scopeId": ".PluginLoader.load", + "rule": "max-lines-per-function" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".IndentedWriter._writeLinePart", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".IndentedWriter._writeLinePart", + "rule": "complexity" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".IndentedWriter._writeNewLine", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".IndentedWriter.constructor", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".IndentedWriter.ensureSkippedLine", + "rule": "complexity" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".IndentedWriter.increaseIndent", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".IndentedWriter.peekLastCharacter", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".IndentedWriter.peekSecondLastCharacter", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".IndentedWriter.peekSecondLastCharacter", + "rule": "complexity" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".IndentedWriter.write", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".IndentedWriter.write", + "rule": "complexity" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".IndentedWriter.writeLine", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".IndentedWriter.writeLine", + "rule": "complexity" + }, + { + "file": "src/utils/IndentedWriter.ts", + "scopeId": ".IndentedWriter.writeTentative", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".assignPackageModelFields", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convert", + "rule": "complexity" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convert", + "rule": "max-lines-per-function" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertCommonYamlModel", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertCommonYamlModel", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertCommonYamlModel", + "rule": "complexity" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertCommonYamlModel", + "rule": "max-lines-per-function" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertSelfTypeToXref", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertSelfTypeToXref", + "rule": "complexity" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertSelfTypeToXref", + "rule": "max-depth" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertSelfTypeToXref", + "rule": "max-lines-per-function" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertToEnumSDP", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertToEnumSDP", + "rule": "complexity" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertToPackageSDP", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertToPackageSDP", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertToPackageSDP", + "rule": "complexity" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertToPackageSDP", + "rule": "max-lines-per-function" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertToSDP", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertToSDP", + "rule": "complexity" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertToTypeSDP", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertToTypeSDP", + "rule": "complexity" + }, + { + "file": "src/utils/ToSdpConvertHelper.ts", + "scopeId": ".convertToTypeSDP", + "rule": "max-lines-per-function" + }, + { + "file": "src/utils/Utilities.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/yaml/ISDPYamlFile.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/yaml/IYamlApiFile.ts", + "scopeId": ".", + "rule": "max-lines" + } + ] +} \ No newline at end of file diff --git a/apps/api-documenter/eslint.config.js b/apps/api-documenter/eslint.config.js index ceb5a1bee40..385baceff3b 100644 --- a/apps/api-documenter/eslint.config.js +++ b/apps/api-documenter/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/apps/api-extractor/.eslint-bulk-suppressions.json b/apps/api-extractor/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..e27f6f94755 --- /dev/null +++ b/apps/api-extractor/.eslint-bulk-suppressions.json @@ -0,0 +1,2464 @@ +{ + "suppressions": [ + { + "file": "src/aedoc/PackageDocComment.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/aedoc/PackageDocComment.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/aedoc/PackageDocComment.ts", + "scopeId": ".PackageDocComment.tryFindInSourceFile", + "rule": "complexity" + }, + { + "file": "src/aedoc/PackageDocComment.ts", + "scopeId": ".PackageDocComment.tryFindInSourceFile", + "rule": "max-depth" + }, + { + "file": "src/aedoc/PackageDocComment.ts", + "scopeId": ".PackageDocComment.tryFindInSourceFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/AstDeclaration.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/analyzer/AstDeclaration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/analyzer/AstDeclaration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/analyzer/AstDeclaration.ts", + "scopeId": ".AstDeclaration._notifyReferencedAstEntity", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstDeclaration.ts", + "scopeId": ".AstDeclaration.constructor", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstDeclaration.ts", + "scopeId": ".AstDeclaration.findChildrenWithName", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/AstDeclaration.ts", + "scopeId": ".AstDeclaration.findChildrenWithName", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstDeclaration.ts", + "scopeId": ".AstDeclaration.getDump", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstDeclaration.ts", + "scopeId": ".AstDeclaration.isSupportedSyntaxKind", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstDeclaration.ts", + "scopeId": ".AstDeclaration.isSupportedSyntaxKind", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/AstImport.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/analyzer/AstImport.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/analyzer/AstImport.ts", + "scopeId": ".AstImport.getKey", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/AstImport.ts", + "scopeId": ".AstImport.getKey", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstModule.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/analyzer/AstNamespaceImport.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/analyzer/AstReferenceResolver.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/analyzer/AstReferenceResolver.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/analyzer/AstReferenceResolver.ts", + "scopeId": ".AstReferenceResolver._selectDeclaration", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/AstReferenceResolver.ts", + "scopeId": ".AstReferenceResolver._selectDeclaration", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstReferenceResolver.ts", + "scopeId": ".AstReferenceResolver._selectDeclaration", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/AstReferenceResolver.ts", + "scopeId": ".AstReferenceResolver._selectUsingIndexSelector", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/AstReferenceResolver.ts", + "scopeId": ".AstReferenceResolver._selectUsingIndexSelector", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstReferenceResolver.ts", + "scopeId": ".AstReferenceResolver._selectUsingIndexSelector", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/AstReferenceResolver.ts", + "scopeId": ".AstReferenceResolver._selectUsingSystemSelector", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/AstReferenceResolver.ts", + "scopeId": ".AstReferenceResolver._selectUsingSystemSelector", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstReferenceResolver.ts", + "scopeId": ".AstReferenceResolver._selectUsingSystemSelector", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/AstReferenceResolver.ts", + "scopeId": ".AstReferenceResolver._tryDisambiguateAncillaryMatches", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstReferenceResolver.ts", + "scopeId": ".AstReferenceResolver.resolve", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/AstReferenceResolver.ts", + "scopeId": ".AstReferenceResolver.resolve", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstReferenceResolver.ts", + "scopeId": ".AstReferenceResolver.resolve", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/AstSymbol.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable._analyzeAstSymbol", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable._analyzeAstSymbol", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable._analyzeChildTree", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable._analyzeChildTree", + "rule": "max-depth" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable._analyzeChildTree", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable._fetchAstDeclaration", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable._fetchAstDeclaration", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable._fetchAstSymbol", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable._fetchAstSymbol", + "rule": "max-depth" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable._fetchAstSymbol", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable._fetchEntityForNode", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable.constructor", + "rule": "max-params" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable.getChildAstDeclarationByNode", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable.getLocalNameForSymbol", + "rule": "complexity" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable.getLocalNameForSymbol", + "rule": "max-depth" + }, + { + "file": "src/analyzer/AstSymbolTable.ts", + "scopeId": ".AstSymbolTable.getLocalNameForSymbol", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._collectAllExportsRecursive", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._collectAllExportsRecursive", + "rule": "complexity" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._collectAllExportsRecursive", + "rule": "max-depth" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._collectAllExportsRecursive", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._fetchAstImport", + "rule": "complexity" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._fetchSpecifierAstModule", + "rule": "complexity" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._fetchSpecifierAstModule", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._getModuleSymbolFromSourceFile", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._getModuleSymbolFromSourceFile", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._getModuleSymbolFromSourceFile", + "rule": "complexity" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._getModuleSymbolFromSourceFile", + "rule": "max-depth" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._getModuleSymbolFromSourceFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._isExternalModulePath", + "rule": "complexity" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._isExternalModulePath", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._tryGetExportOfAstModule", + "rule": "complexity" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._tryGetExportOfAstModule", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._tryMatchExportDeclaration", + "rule": "complexity" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._tryMatchExportDeclaration", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._tryMatchImportDeclaration", + "rule": "complexity" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer._tryMatchImportDeclaration", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer.fetchAstModuleFromSourceFile", + "rule": "complexity" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer.fetchAstModuleFromSourceFile", + "rule": "max-depth" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer.fetchAstModuleFromSourceFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer.fetchReferencedAstEntity", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer.fetchReferencedAstEntity", + "rule": "complexity" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer.fetchReferencedAstEntity", + "rule": "max-depth" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer.fetchReferencedAstEntity", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer.fetchReferencedAstEntityFromImportTypeNode", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer.fetchReferencedAstEntityFromImportTypeNode", + "rule": "complexity" + }, + { + "file": "src/analyzer/ExportAnalyzer.ts", + "scopeId": ".ExportAnalyzer.fetchReferencedAstEntityFromImportTypeNode", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/PackageMetadataManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/analyzer/PackageMetadataManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/analyzer/PackageMetadataManager.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/analyzer/PackageMetadataManager.ts", + "scopeId": ".PackageMetadataManager.tryFetchPackageMetadata", + "rule": "complexity" + }, + { + "file": "src/analyzer/PackageMetadataManager.ts", + "scopeId": ".PackageMetadataManager.tryFetchPackageMetadata", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/PackageMetadataManager.ts", + "scopeId": "._resolveTsdocMetadataPathFromPackageJson", + "rule": "complexity" + }, + { + "file": "src/analyzer/PackageMetadataManager.ts", + "scopeId": "._tryResolveTsdocMetadataFromExportsField", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/PackageMetadataManager.ts", + "scopeId": "._tryResolveTsdocMetadataFromExportsField", + "rule": "complexity" + }, + { + "file": "src/analyzer/PackageMetadataManager.ts", + "scopeId": "._tryResolveTsdocMetadataFromExportsField", + "rule": "max-depth" + }, + { + "file": "src/analyzer/PackageMetadataManager.ts", + "scopeId": "._tryResolveTsdocMetadataFromExportsField", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/PackageMetadataManager.ts", + "scopeId": "._tryResolveTsdocMetadataFromTypesVersionsField", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/PackageMetadataManager.ts", + "scopeId": "._tryResolveTsdocMetadataFromTypesVersionsField", + "rule": "complexity" + }, + { + "file": "src/analyzer/PackageMetadataManager.ts", + "scopeId": "._tryResolveTsdocMetadataFromTypesVersionsField", + "rule": "max-depth" + }, + { + "file": "src/analyzer/PackageMetadataManager.ts", + "scopeId": "._tryResolveTsdocMetadataFromTypesVersionsField", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/SourceFileLocationFormatter.ts", + "scopeId": ".SourceFileLocationFormatter.formatDeclaration", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/SourceFileLocationFormatter.ts", + "scopeId": ".SourceFileLocationFormatter.formatPath", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/analyzer/SourceFileLocationFormatter.ts", + "scopeId": ".SourceFileLocationFormatter.formatPath", + "rule": "complexity" + }, + { + "file": "src/analyzer/SourceFileLocationFormatter.ts", + "scopeId": ".SourceFileLocationFormatter.formatPath", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span._getTrimmed", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span._write", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span._write", + "rule": "complexity" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span._writeModifiedText", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span._writeModifiedText", + "rule": "complexity" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span._writeModifiedText", + "rule": "max-depth" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span._writeModifiedText", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span.constructor", + "rule": "complexity" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span.constructor", + "rule": "max-depth" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span.getDump", + "rule": "complexity" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span.getLastInnerSeparator", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span.getModifiedDump", + "rule": "complexity" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span.getModifiedDump", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span.prefix", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".Span.suffix", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".SpanModification.prefix", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/analyzer/Span.ts", + "scopeId": ".SpanModification.suffix", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/analyzer/SyntaxHelpers.ts", + "scopeId": ".SyntaxHelpers.isSafeUnquotedMemberIdentifier", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/SyntaxHelpers.ts", + "scopeId": ".SyntaxHelpers.isSafeUnquotedMemberIdentifier", + "rule": "complexity" + }, + { + "file": "src/analyzer/SyntaxHelpers.ts", + "scopeId": ".SyntaxHelpers.makeCamelCaseIdentifier", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/SyntaxHelpers.ts", + "scopeId": ".SyntaxHelpers.makeCamelCaseIdentifier", + "rule": "complexity" + }, + { + "file": "src/analyzer/TypeScriptHelpers.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/analyzer/TypeScriptHelpers.ts", + "scopeId": ".TypeScriptHelpers.findFirstChildNode", + "rule": "complexity" + }, + { + "file": "src/analyzer/TypeScriptHelpers.ts", + "scopeId": ".TypeScriptHelpers.followAliases", + "rule": "complexity" + }, + { + "file": "src/analyzer/TypeScriptHelpers.ts", + "scopeId": ".TypeScriptHelpers.getModuleSpecifier", + "rule": "complexity" + }, + { + "file": "src/analyzer/TypeScriptHelpers.ts", + "scopeId": ".TypeScriptHelpers.isAmbient", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/TypeScriptHelpers.ts", + "scopeId": ".TypeScriptHelpers.isAmbient", + "rule": "complexity" + }, + { + "file": "src/analyzer/TypeScriptHelpers.ts", + "scopeId": ".TypeScriptHelpers.isFollowableAlias", + "rule": "complexity" + }, + { + "file": "src/analyzer/TypeScriptHelpers.ts", + "scopeId": ".TypeScriptHelpers.matchAncestor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/TypeScriptHelpers.ts", + "scopeId": ".TypeScriptHelpers.matchAncestor", + "rule": "complexity" + }, + { + "file": "src/analyzer/TypeScriptHelpers.ts", + "scopeId": ".TypeScriptHelpers.tryDecodeWellKnownSymbolName", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/TypeScriptHelpers.ts", + "scopeId": ".TypeScriptHelpers.tryGetADeclaration", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/TypeScriptInternals.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/analyzer/TypeScriptInternals.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/analyzer/TypeScriptInternals.ts", + "scopeId": ".TypeScriptInternals.getGlobalVariableAnalyzer", + "rule": "complexity" + }, + { + "file": "src/analyzer/TypeScriptInternals.ts", + "scopeId": ".TypeScriptInternals.tryGetSymbolForDeclaration", + "rule": "complexity" + }, + { + "file": "src/analyzer/test/PackageMetadataManager.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/analyzer/test/PackageMetadataManager.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/analyzer/test/PackageMetadataManager.test.ts", + "scopeId": ".firstArgument", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/analyzer/test/SyntaxHelpers.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/CompilerState.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/CompilerState.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/CompilerState.ts", + "scopeId": ".CompilerState.create", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/CompilerState.ts", + "scopeId": ".CompilerState.create", + "rule": "complexity" + }, + { + "file": "src/api/CompilerState.ts", + "scopeId": ".CompilerState.create", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/CompilerState.ts", + "scopeId": "._createCompilerHost", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/CompilerState.ts", + "scopeId": "._createCompilerHost", + "rule": "complexity" + }, + { + "file": "src/api/CompilerState.ts", + "scopeId": "._createCompilerHost", + "rule": "max-depth" + }, + { + "file": "src/api/CompilerState.ts", + "scopeId": "._createCompilerHost", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/CompilerState.ts", + "scopeId": "._generateFilePathsForAnalysis", + "rule": "complexity" + }, + { + "file": "src/api/Extractor.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/Extractor.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/Extractor.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/Extractor.ts", + "scopeId": ".Extractor.invoke", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/Extractor.ts", + "scopeId": ".Extractor.invoke", + "rule": "complexity" + }, + { + "file": "src/api/Extractor.ts", + "scopeId": ".Extractor.invoke", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/Extractor.ts", + "scopeId": "._checkCompilerCompatibility", + "rule": "complexity" + }, + { + "file": "src/api/Extractor.ts", + "scopeId": "._checkCompilerCompatibility", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/Extractor.ts", + "scopeId": "._writeApiReport", + "rule": "complexity" + }, + { + "file": "src/api/Extractor.ts", + "scopeId": "._writeApiReport", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/Extractor.ts", + "scopeId": "._writeApiReport", + "rule": "max-params" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".ExtractorConfig.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".ExtractorConfig.getDiagnosticDump", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".ExtractorConfig.loadFile", + "rule": "complexity" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".ExtractorConfig.loadFile", + "rule": "max-depth" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".ExtractorConfig.loadFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".ExtractorConfig.prepare", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".ExtractorConfig.prepare", + "rule": "complexity" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".ExtractorConfig.prepare", + "rule": "max-depth" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".ExtractorConfig.prepare", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".ExtractorConfig.tryLoadForFolder", + "rule": "complexity" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".ExtractorConfig.tryLoadForFolder", + "rule": "max-depth" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": ".ExtractorConfig.tryLoadForFolder", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": "._expandStringWithTokens", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": "._expandStringWithTokens", + "rule": "complexity" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": "._expandStringWithTokens", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": "._rejectAnyTokensInPath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": "._rejectAnyTokensInPath", + "rule": "complexity" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": "._resolveConfigFileRelativePath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": "._resolveConfigFileRelativePaths", + "rule": "complexity" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": "._resolveConfigFileRelativePaths", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": "._validateTagsToReport", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": "._validateTagsToReport", + "rule": "complexity" + }, + { + "file": "src/api/ExtractorConfig.ts", + "scopeId": "._validateTagsToReport", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/ExtractorMessage.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/ExtractorMessage.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/ExtractorMessage.ts", + "scopeId": ".ExtractorMessage.formatMessageWithLocation", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/ExtractorMessage.ts", + "scopeId": ".ExtractorMessage.logLevel", + "rule": "complexity" + }, + { + "file": "src/api/ExtractorMessageId.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/IConfigFile.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/test/Extractor-custom-tags.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/ApiExtractorCommandLine.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/ApiExtractorCommandLine.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/ApiExtractorCommandLine.ts", + "scopeId": ".ApiExtractorCommandLine.onExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/cli/InitAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/RunAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/RunAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/RunAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/RunAction.ts", + "scopeId": ".RunAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/RunAction.ts", + "scopeId": ".RunAction.onExecuteAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/RunAction.ts", + "scopeId": ".RunAction.onExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/cli/RunAction.ts", + "scopeId": ".RunAction.onExecuteAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/ApiItemMetadata.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/collector/ApiItemMetadata.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._addAncillaryDeclaration", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._addAncillaryDeclaration", + "rule": "complexity" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._addAncillaryDeclaration", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._calculateApiItemMetadata", + "rule": "complexity" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._calculateApiItemMetadata", + "rule": "max-depth" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._calculateApiItemMetadata", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._calculateDeclarationMetadataForDeclarations", + "rule": "complexity" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._calculateDeclarationMetadataForDeclarations", + "rule": "max-depth" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._calculateDeclarationMetadataForDeclarations", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._collectReferenceDirectivesFromSourceFiles", + "rule": "complexity" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._collectReferenceDirectivesFromSourceFiles", + "rule": "max-depth" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._collectReferenceDirectivesFromSourceFiles", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._createCollectorEntity", + "rule": "complexity" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._fetchSymbolMetadata", + "rule": "complexity" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._fetchSymbolMetadata", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._makeUniqueNames", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._makeUniqueNames", + "rule": "complexity" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._makeUniqueNames", + "rule": "max-depth" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._makeUniqueNames", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._parseTsdocForAstDeclaration", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._parseTsdocForAstDeclaration", + "rule": "complexity" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._parseTsdocForAstDeclaration", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._recursivelyCreateEntities", + "rule": "complexity" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector._recursivelyCreateEntities", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector.analyze", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector.analyze", + "rule": "complexity" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector.analyze", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector.constructor", + "rule": "complexity" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector.getOverloadIndex", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector.getOverloadIndex", + "rule": "complexity" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector.getSortKeyIgnoringUnderscore", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": ".Collector.tryFetchMetadataForAstEntity", + "rule": "complexity" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": "._resolveBundledPackagePatterns", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": "._resolveBundledPackagePatterns", + "rule": "complexity" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": "._resolveBundledPackagePatterns", + "rule": "max-depth" + }, + { + "file": "src/collector/Collector.ts", + "scopeId": "._resolveBundledPackagePatterns", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/CollectorEntity.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/collector/CollectorEntity.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/collector/CollectorEntity.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/collector/CollectorEntity.ts", + "scopeId": ".CollectorEntity.addExportName", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/CollectorEntity.ts", + "scopeId": ".CollectorEntity.consumable", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/CollectorEntity.ts", + "scopeId": ".CollectorEntity.consumable", + "rule": "complexity" + }, + { + "file": "src/collector/CollectorEntity.ts", + "scopeId": ".CollectorEntity.exported", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/CollectorEntity.ts", + "scopeId": ".CollectorEntity.exported", + "rule": "complexity" + }, + { + "file": "src/collector/CollectorEntity.ts", + "scopeId": ".CollectorEntity.exportedFromEntryPoint", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/CollectorEntity.ts", + "scopeId": ".CollectorEntity.getFirstExportingConsumableParent", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/CollectorEntity.ts", + "scopeId": ".CollectorEntity.getFirstExportingConsumableParent", + "rule": "complexity" + }, + { + "file": "src/collector/CollectorEntity.ts", + "scopeId": ".CollectorEntity.getSortKey", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/collector/CollectorEntity.ts", + "scopeId": ".CollectorEntity.shouldInlineExport", + "rule": "complexity" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".MessageRouter", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".MessageRouter._applyMessagesConfig", + "rule": "complexity" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".MessageRouter._applyMessagesConfig", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".MessageRouter._getRuleForMessage", + "rule": "complexity" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".MessageRouter._handleMessage", + "rule": "complexity" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".MessageRouter._handleMessage", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".MessageRouter._sortMessagesForOutput", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".MessageRouter.addAnalyzerIssue", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".MessageRouter.addAnalyzerIssueForPosition", + "rule": "max-params" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".MessageRouter.addCompilerDiagnostic", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".MessageRouter.addCompilerDiagnostic", + "rule": "complexity" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".MessageRouter.buildJsonDumpObject", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".MessageRouter.fetchAssociatedMessagesForReviewFile", + "rule": "complexity" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".MessageRouter.fetchUnassociatedMessagesForReviewFile", + "rule": "complexity" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": ".MessageRouter.handleRemainingNonConsoleMessages", + "rule": "complexity" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": "._buildJsonDumpObject", + "rule": "complexity" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": "._buildJsonDumpObject", + "rule": "max-depth" + }, + { + "file": "src/collector/MessageRouter.ts", + "scopeId": "._buildJsonDumpObject", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/SourceMapper.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/collector/SourceMapper.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/collector/SourceMapper.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/collector/SourceMapper.ts", + "scopeId": ".SourceMapper._getMappedSourceLocation", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/SourceMapper.ts", + "scopeId": ".SourceMapper._getMappedSourceLocation", + "rule": "complexity" + }, + { + "file": "src/collector/SourceMapper.ts", + "scopeId": ".SourceMapper._getMappedSourceLocation", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/SourceMapper.ts", + "scopeId": ".SourceMapper._getSourceMap", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/SourceMapper.ts", + "scopeId": ".SourceMapper._getSourceMap", + "rule": "complexity" + }, + { + "file": "src/collector/SourceMapper.ts", + "scopeId": ".SourceMapper._getSourceMap", + "rule": "max-lines-per-function" + }, + { + "file": "src/collector/SourceMapper.ts", + "scopeId": ".SourceMapper.getSourceLocation.sourceLocation", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/SourceMapper.ts", + "scopeId": "._compareMappingItem", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/SourceMapper.ts", + "scopeId": "._findNearestMappingItem", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/collector/SourceMapper.ts", + "scopeId": "._findNearestMappingItem", + "rule": "complexity" + }, + { + "file": "src/enhancers/DocCommentEnhancer.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/enhancers/DocCommentEnhancer.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/enhancers/DocCommentEnhancer.ts", + "scopeId": ".DocCommentEnhancer._analyzeApiItem", + "rule": "complexity" + }, + { + "file": "src/enhancers/DocCommentEnhancer.ts", + "scopeId": ".DocCommentEnhancer._analyzeNeedsDocumentation", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/enhancers/DocCommentEnhancer.ts", + "scopeId": ".DocCommentEnhancer._analyzeNeedsDocumentation", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/enhancers/DocCommentEnhancer.ts", + "scopeId": ".DocCommentEnhancer._analyzeNeedsDocumentation", + "rule": "complexity" + }, + { + "file": "src/enhancers/DocCommentEnhancer.ts", + "scopeId": ".DocCommentEnhancer._analyzeNeedsDocumentation", + "rule": "max-depth" + }, + { + "file": "src/enhancers/DocCommentEnhancer.ts", + "scopeId": ".DocCommentEnhancer._analyzeNeedsDocumentation", + "rule": "max-lines-per-function" + }, + { + "file": "src/enhancers/DocCommentEnhancer.ts", + "scopeId": ".DocCommentEnhancer._applyInheritDoc", + "rule": "complexity" + }, + { + "file": "src/enhancers/DocCommentEnhancer.ts", + "scopeId": ".DocCommentEnhancer._applyInheritDoc", + "rule": "max-lines-per-function" + }, + { + "file": "src/enhancers/DocCommentEnhancer.ts", + "scopeId": ".DocCommentEnhancer._checkForBrokenLinksRecursive", + "rule": "complexity" + }, + { + "file": "src/enhancers/DocCommentEnhancer.ts", + "scopeId": ".DocCommentEnhancer._checkForBrokenLinksRecursive", + "rule": "max-depth" + }, + { + "file": "src/enhancers/DocCommentEnhancer.ts", + "scopeId": ".DocCommentEnhancer.analyze", + "rule": "complexity" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": ".ValidationEnhancer.analyze", + "rule": "complexity" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": ".ValidationEnhancer.analyze", + "rule": "max-depth" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": ".ValidationEnhancer.analyze", + "rule": "max-lines-per-function" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": "._checkForInconsistentReleaseTags", + "rule": "complexity" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": "._checkForInconsistentReleaseTags", + "rule": "max-lines-per-function" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": "._checkForInternalUnderscore", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": "._checkForInternalUnderscore", + "rule": "complexity" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": "._checkForInternalUnderscore", + "rule": "max-lines-per-function" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": "._checkReferences", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": "._checkReferences", + "rule": "complexity" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": "._checkReferences", + "rule": "max-lines-per-function" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": "._isEcmaScriptSymbol", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": "._isEcmaScriptSymbol", + "rule": "complexity" + }, + { + "file": "src/enhancers/ValidationEnhancer.ts", + "scopeId": "._isEcmaScriptSymbol", + "rule": "max-depth" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._captureParameters", + "rule": "complexity" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._captureTypeParameters", + "rule": "complexity" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._isReadonly", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._isReadonly", + "rule": "complexity" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiCallSignature", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiClass", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiClass", + "rule": "complexity" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiClass", + "rule": "max-depth" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiClass", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiConstructSignature", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiConstructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiConstructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiEnum", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiEnumMember", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiFunction", + "rule": "complexity" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiFunction", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiIndexSignature", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiInterface", + "rule": "complexity" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiInterface", + "rule": "max-depth" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiInterface", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiMethod", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiMethod", + "rule": "complexity" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiMethod", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiMethodSignature", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiMethodSignature", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiNamespace", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiProperty", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiProperty", + "rule": "complexity" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiProperty", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiPropertySignature", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiPropertySignature", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiTypeAlias", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiVariable", + "rule": "complexity" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processApiVariable", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processAstEntity", + "rule": "complexity" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processAstEntity", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processAstNamespaceImport", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processDeclaration", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processDeclaration", + "rule": "complexity" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator._processDeclaration", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiModelGenerator.ts", + "scopeId": ".ApiModelGenerator.buildApiPackage", + "rule": "complexity" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": ".ApiReportGenerator.generateReviewFileContent", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": ".ApiReportGenerator.generateReviewFileContent", + "rule": "complexity" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": ".ApiReportGenerator.generateReviewFileContent", + "rule": "max-depth" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": ".ApiReportGenerator.generateReviewFileContent", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": ".ApiReportGenerator.generateReviewFileContent.capitalizeFirstLetter", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": "._getAedocSynopsis", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": "._getAedocSynopsis", + "rule": "complexity" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": "._getAedocSynopsis", + "rule": "max-depth" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": "._getAedocSynopsis", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": "._modifySpan", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": "._modifySpan", + "rule": "complexity" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": "._modifySpan", + "rule": "max-depth" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": "._modifySpan", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": "._modifySpan", + "rule": "max-params" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": "._modifySpanForPreapproved", + "rule": "complexity" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": "._modifySpanForPreapproved", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": "._shouldIncludeDeclaration", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ApiReportGenerator.ts", + "scopeId": "._shouldIncludeReleaseTag", + "rule": "complexity" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": ".DeclarationReferenceGenerator._getNavigationToSymbol", + "rule": "complexity" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": ".DeclarationReferenceGenerator._getNavigationToSymbol", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": ".DeclarationReferenceGenerator._getPackageName", + "rule": "complexity" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": ".DeclarationReferenceGenerator._getParentReference", + "rule": "complexity" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": ".DeclarationReferenceGenerator._getParentReference", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": ".DeclarationReferenceGenerator._sourceFileToModuleSource", + "rule": "complexity" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": ".DeclarationReferenceGenerator._symbolToDeclarationReference", + "rule": "complexity" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": ".DeclarationReferenceGenerator._symbolToDeclarationReference", + "rule": "max-depth" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": ".DeclarationReferenceGenerator._symbolToDeclarationReference", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": ".DeclarationReferenceGenerator.getDeclarationReferenceForIdentifier", + "rule": "complexity" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": "._getMeaningOfSymbol", + "rule": "complexity" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": "._getMeaningOfSymbol", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": "._isInExpressionContext", + "rule": "complexity" + }, + { + "file": "src/generators/DeclarationReferenceGenerator.ts", + "scopeId": "._isSameSymbol", + "rule": "complexity" + }, + { + "file": "src/generators/DtsEmitHelpers.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/generators/DtsEmitHelpers.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/generators/DtsEmitHelpers.ts", + "scopeId": ".DtsEmitHelpers.emitImport", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/DtsEmitHelpers.ts", + "scopeId": ".DtsEmitHelpers.emitImport", + "rule": "complexity" + }, + { + "file": "src/generators/DtsEmitHelpers.ts", + "scopeId": ".DtsEmitHelpers.emitImport", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/DtsEmitHelpers.ts", + "scopeId": ".DtsEmitHelpers.emitStarExports", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/DtsEmitHelpers.ts", + "scopeId": ".DtsEmitHelpers.forEachParameterToNormalize", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/DtsEmitHelpers.ts", + "scopeId": ".DtsEmitHelpers.forEachParameterToNormalize", + "rule": "complexity" + }, + { + "file": "src/generators/DtsEmitHelpers.ts", + "scopeId": ".DtsEmitHelpers.forEachParameterToNormalize", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/DtsEmitHelpers.ts", + "scopeId": ".DtsEmitHelpers.isExportKeywordInNamespaceExportDeclaration", + "rule": "complexity" + }, + { + "file": "src/generators/DtsEmitHelpers.ts", + "scopeId": ".DtsEmitHelpers.modifyImportTypeSpan", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/DtsEmitHelpers.ts", + "scopeId": ".DtsEmitHelpers.modifyImportTypeSpan", + "rule": "complexity" + }, + { + "file": "src/generators/DtsEmitHelpers.ts", + "scopeId": ".DtsEmitHelpers.modifyImportTypeSpan", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/DtsEmitHelpers.ts", + "scopeId": ".DtsEmitHelpers.normalizeParameterNames", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/DtsRollupGenerator.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/generators/DtsRollupGenerator.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/generators/DtsRollupGenerator.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/generators/DtsRollupGenerator.ts", + "scopeId": "._generateTypingsFileContent", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/DtsRollupGenerator.ts", + "scopeId": "._generateTypingsFileContent", + "rule": "complexity" + }, + { + "file": "src/generators/DtsRollupGenerator.ts", + "scopeId": "._generateTypingsFileContent", + "rule": "max-depth" + }, + { + "file": "src/generators/DtsRollupGenerator.ts", + "scopeId": "._generateTypingsFileContent", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/DtsRollupGenerator.ts", + "scopeId": "._modifySpan", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/DtsRollupGenerator.ts", + "scopeId": "._modifySpan", + "rule": "complexity" + }, + { + "file": "src/generators/DtsRollupGenerator.ts", + "scopeId": "._modifySpan", + "rule": "max-depth" + }, + { + "file": "src/generators/DtsRollupGenerator.ts", + "scopeId": "._modifySpan", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/DtsRollupGenerator.ts", + "scopeId": "._modifySpan", + "rule": "max-params" + }, + { + "file": "src/generators/DtsRollupGenerator.ts", + "scopeId": "._shouldIncludeReleaseTag", + "rule": "complexity" + }, + { + "file": "src/generators/ExcerptBuilder.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/generators/ExcerptBuilder.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/generators/ExcerptBuilder.ts", + "scopeId": ".ExcerptBuilder.addBlankLine", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ExcerptBuilder.ts", + "scopeId": ".ExcerptBuilder.addDeclaration", + "rule": "complexity" + }, + { + "file": "src/generators/ExcerptBuilder.ts", + "scopeId": ".ExcerptBuilder.addDeclaration", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ExcerptBuilder.ts", + "scopeId": "._appendToken", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ExcerptBuilder.ts", + "scopeId": "._buildSpan", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/ExcerptBuilder.ts", + "scopeId": "._buildSpan", + "rule": "complexity" + }, + { + "file": "src/generators/ExcerptBuilder.ts", + "scopeId": "._buildSpan", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/ExcerptBuilder.ts", + "scopeId": "._isDeclaration", + "rule": "complexity" + }, + { + "file": "src/generators/IndentedWriter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/generators/IndentedWriter.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/generators/IndentedWriter.ts", + "scopeId": ".IndentedWriter._writeLinePart", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/IndentedWriter.ts", + "scopeId": ".IndentedWriter._writeLinePart", + "rule": "complexity" + }, + { + "file": "src/generators/IndentedWriter.ts", + "scopeId": ".IndentedWriter._writeNewLine", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/IndentedWriter.ts", + "scopeId": ".IndentedWriter._writeNewLine", + "rule": "complexity" + }, + { + "file": "src/generators/IndentedWriter.ts", + "scopeId": ".IndentedWriter.constructor", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/generators/IndentedWriter.ts", + "scopeId": ".IndentedWriter.increaseIndent", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/generators/IndentedWriter.ts", + "scopeId": ".IndentedWriter.peekLastCharacter", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/IndentedWriter.ts", + "scopeId": ".IndentedWriter.peekSecondLastCharacter", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/IndentedWriter.ts", + "scopeId": ".IndentedWriter.peekSecondLastCharacter", + "rule": "complexity" + }, + { + "file": "src/generators/IndentedWriter.ts", + "scopeId": ".IndentedWriter.write", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/IndentedWriter.ts", + "scopeId": ".IndentedWriter.write", + "rule": "complexity" + }, + { + "file": "src/generators/IndentedWriter.ts", + "scopeId": ".IndentedWriter.writeLine", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/condenseTokens.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/generators/condenseTokens.ts", + "scopeId": ".condenseTokens", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/condenseTokens.ts", + "scopeId": ".condenseTokens", + "rule": "complexity" + }, + { + "file": "src/generators/condenseTokens.ts", + "scopeId": ".condenseTokens", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/test/IndentedWriter.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/generators/test/condenseTokens.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/test/condenseTokens.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/generators/test/condenseTokens.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/generators/test/condenseTokens.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/test/condenseTokens.test.ts", + "scopeId": ".condenseTokensReference", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/test/condenseTokens.test.ts", + "scopeId": ".condenseTokensReference", + "rule": "complexity" + }, + { + "file": "src/generators/test/condenseTokens.test.ts", + "scopeId": ".condenseTokensReference", + "rule": "max-lines-per-function" + }, + { + "file": "src/generators/test/condenseTokens.test.ts", + "scopeId": ".makeToken", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generators/test/condenseTokens.test.ts", + "scopeId": ".makeToken", + "rule": "complexity" + }, + { + "file": "src/generators/test/condenseTokens.test.ts", + "scopeId": ".nextRandom", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "import/order" + } + ] +} \ No newline at end of file diff --git a/apps/api-extractor/eslint.config.js b/apps/api-extractor/eslint.config.js index 2b99226b7c4..16d7d5538ad 100644 --- a/apps/api-extractor/eslint.config.js +++ b/apps/api-extractor/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/apps/cpu-profile-summarizer/.eslint-bulk-suppressions.json b/apps/cpu-profile-summarizer/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..a3c137a9839 --- /dev/null +++ b/apps/cpu-profile-summarizer/.eslint-bulk-suppressions.json @@ -0,0 +1,89 @@ +{ + "suppressions": [ + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/start.ts", + "scopeId": ".CpuProfileSummarizerCommandLineParser.onExecuteAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/start.ts", + "scopeId": ".CpuProfileSummarizerCommandLineParser.onExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/start.ts", + "scopeId": ".findProfiles", + "rule": "complexity" + }, + { + "file": "src/start.ts", + "scopeId": ".processProfilesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/start.ts", + "scopeId": ".writeSummaryToTsv", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/types.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/worker.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/worker.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/worker.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/worker.ts", + "scopeId": ".addProfileToSummary", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/worker.ts", + "scopeId": ".addProfileToSummary", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/worker.ts", + "scopeId": ".addProfileToSummary", + "rule": "complexity" + }, + { + "file": "src/worker.ts", + "scopeId": ".addProfileToSummary", + "rule": "max-depth" + }, + { + "file": "src/worker.ts", + "scopeId": ".addProfileToSummary", + "rule": "max-lines-per-function" + }, + { + "file": "src/worker.ts", + "scopeId": ".messageHandler", + "rule": "complexity" + } + ] +} \ No newline at end of file diff --git a/apps/cpu-profile-summarizer/eslint.config.js b/apps/cpu-profile-summarizer/eslint.config.js index ceb5a1bee40..385baceff3b 100644 --- a/apps/cpu-profile-summarizer/eslint.config.js +++ b/apps/cpu-profile-summarizer/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/apps/heft/.eslint-bulk-suppressions.json b/apps/heft/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..a6a840ecb62 --- /dev/null +++ b/apps/heft/.eslint-bulk-suppressions.json @@ -0,0 +1,1359 @@ +{ + "suppressions": [ + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".HeftActionRunner._executeOnceAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".HeftActionRunner._generateOperations", + "rule": "complexity" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".HeftActionRunner._generateOperations", + "rule": "max-depth" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".HeftActionRunner._generateOperations", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".HeftActionRunner.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".HeftActionRunner.defineParameters", + "rule": "complexity" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".HeftActionRunner.defineParameters", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".HeftActionRunner.executeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": "._getOrCreateTaskOperation", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": "._startLifecycleAsync", + "rule": "complexity" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": "._startLifecycleAsync", + "rule": "max-depth" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": "._startLifecycleAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".ensureCliAbortSignal", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".initializeHeft", + "rule": "complexity" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".runWithLoggingAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".runWithLoggingAsync", + "rule": "complexity" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".runWithLoggingAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/HeftActionRunner.ts", + "scopeId": ".runWithLoggingAsync", + "rule": "max-params" + }, + { + "file": "src/cli/HeftCommandLineParser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/HeftCommandLineParser.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/HeftCommandLineParser.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/HeftCommandLineParser.ts", + "scopeId": ".HeftCommandLineParser._reportErrorAndSetExitCodeAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/HeftCommandLineParser.ts", + "scopeId": ".HeftCommandLineParser._reportErrorAndSetExitCodeAsync", + "rule": "complexity" + }, + { + "file": "src/cli/HeftCommandLineParser.ts", + "scopeId": ".HeftCommandLineParser.constructor", + "rule": "complexity" + }, + { + "file": "src/cli/HeftCommandLineParser.ts", + "scopeId": ".HeftCommandLineParser.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/HeftCommandLineParser.ts", + "scopeId": ".HeftCommandLineParser.executeAsync", + "rule": "complexity" + }, + { + "file": "src/cli/HeftCommandLineParser.ts", + "scopeId": ".HeftCommandLineParser.executeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/HeftCommandLineParser.ts", + "scopeId": ".HeftCommandLineParser.onExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/AliasAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/actions/CleanAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/CleanAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/CleanAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/actions/CleanAction.ts", + "scopeId": ".CleanAction._cleanFilesAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/CleanAction.ts", + "scopeId": ".CleanAction._cleanFilesAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/CleanAction.ts", + "scopeId": ".CleanAction.selectedPhases", + "rule": "complexity" + }, + { + "file": "src/cli/actions/IHeftAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/PhaseAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/PhaseAction.ts", + "scopeId": ".PhaseAction.constructor", + "rule": "complexity" + }, + { + "file": "src/cli/actions/PhaseAction.ts", + "scopeId": ".PhaseAction.selectedPhases", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/actions/RunAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/RunAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/RunAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/actions/RunAction.ts", + "scopeId": ".RunAction.constructor", + "rule": "complexity" + }, + { + "file": "src/cli/actions/RunAction.ts", + "scopeId": ".RunAction.selectedPhases", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/actions/RunAction.ts", + "scopeId": ".expandPhases", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/RunAction.ts", + "scopeId": ".expandPhases", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/RunAction.ts", + "scopeId": ".expandPhases", + "rule": "max-params" + }, + { + "file": "src/configuration/HeftConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/configuration/HeftConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/configuration/HeftConfiguration.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/configuration/HeftConfiguration.ts", + "scopeId": ".HeftConfiguration._checkForRigAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/configuration/HeftConfiguration.ts", + "scopeId": ".HeftConfiguration.initialize", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/configuration/HeftConfiguration.ts", + "scopeId": ".HeftConfiguration.projectConfigFolderPath", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/configuration/HeftConfiguration.ts", + "scopeId": ".HeftConfiguration.rigPackageResolver", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/configuration/HeftConfiguration.ts", + "scopeId": ".HeftConfiguration.slashNormalizedBuildFolderPath", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/configuration/HeftConfiguration.ts", + "scopeId": ".HeftConfiguration.tempFolderPath", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/configuration/HeftPluginConfiguration.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/configuration/HeftPluginConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/configuration/HeftPluginConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/configuration/HeftPluginConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/configuration/HeftPluginConfiguration.ts", + "scopeId": ".HeftPluginConfiguration._getLifecyclePluginDefinitions", + "rule": "complexity" + }, + { + "file": "src/configuration/HeftPluginConfiguration.ts", + "scopeId": ".HeftPluginConfiguration._getTaskPluginDefinitions", + "rule": "complexity" + }, + { + "file": "src/configuration/HeftPluginConfiguration.ts", + "scopeId": ".HeftPluginConfiguration._validate", + "rule": "complexity" + }, + { + "file": "src/configuration/HeftPluginConfiguration.ts", + "scopeId": ".HeftPluginConfiguration._validate", + "rule": "max-lines-per-function" + }, + { + "file": "src/configuration/HeftPluginConfiguration.ts", + "scopeId": ".HeftPluginConfiguration.getPluginDefinitionBySpecifier", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/configuration/HeftPluginConfiguration.ts", + "scopeId": ".HeftPluginConfiguration.getPluginDefinitionBySpecifier", + "rule": "complexity" + }, + { + "file": "src/configuration/HeftPluginConfiguration.ts", + "scopeId": ".HeftPluginConfiguration.tryGetLifecyclePluginDefinitionByName", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/configuration/HeftPluginConfiguration.ts", + "scopeId": ".HeftPluginConfiguration.tryGetTaskPluginDefinitionByName", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/configuration/HeftPluginDefinition.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/configuration/HeftPluginDefinition.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/configuration/HeftPluginDefinition.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/configuration/HeftPluginDefinition.ts", + "scopeId": ".HeftPluginDefinitionBase.constructor", + "rule": "complexity" + }, + { + "file": "src/configuration/HeftPluginDefinition.ts", + "scopeId": ".HeftPluginDefinitionBase.loadPluginAsync", + "rule": "complexity" + }, + { + "file": "src/configuration/HeftPluginDefinition.ts", + "scopeId": ".HeftPluginDefinitionBase.loadPluginAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/configuration/HeftPluginDefinition.ts", + "scopeId": ".HeftPluginDefinitionBase.validateOptions", + "rule": "complexity" + }, + { + "file": "src/configuration/RigPackageResolver.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/configuration/RigPackageResolver.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/configuration/RigPackageResolver.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/configuration/RigPackageResolver.ts", + "scopeId": ".RigPackageResolver._resolvePackageInnerAsync", + "rule": "complexity" + }, + { + "file": "src/configuration/RigPackageResolver.ts", + "scopeId": ".RigPackageResolver._resolvePackageInnerAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/metrics/MetricsCollector.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/metrics/MetricsCollector.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/metrics/MetricsCollector.ts", + "scopeId": ".MetricsCollector.recordAsync", + "rule": "complexity" + }, + { + "file": "src/metrics/MetricsCollector.ts", + "scopeId": ".MetricsCollector.recordAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/metrics/MetricsCollector.ts", + "scopeId": ".MetricsCollector.recordAsync.metricData", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/metrics/MetricsCollector.ts", + "scopeId": ".MetricsCollector.setStartTime", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/metrics/MetricsCollector.ts", + "scopeId": ".MetricsCollector.setStartTime", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/operations/runners/PhaseOperationRunner.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/operations/runners/PhaseOperationRunner.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/operations/runners/PhaseOperationRunner.ts", + "scopeId": ".PhaseOperationRunner.executeAsync", + "rule": "complexity" + }, + { + "file": "src/operations/runners/PhaseOperationRunner.ts", + "scopeId": ".PhaseOperationRunner.executeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/operations/runners/TaskOperationRunner.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/operations/runners/TaskOperationRunner.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/operations/runners/TaskOperationRunner.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/operations/runners/TaskOperationRunner.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/operations/runners/TaskOperationRunner.ts", + "scopeId": ".TaskOperationRunner._executeTaskAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/operations/runners/TaskOperationRunner.ts", + "scopeId": ".TaskOperationRunner._executeTaskAsync", + "rule": "complexity" + }, + { + "file": "src/operations/runners/TaskOperationRunner.ts", + "scopeId": ".TaskOperationRunner._executeTaskAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/HeftLifecycle.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/HeftLifecycle.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/HeftLifecycle.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/pluginFramework/HeftLifecycle.ts", + "scopeId": ".HeftLifecycle.applyPluginsInternalAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pluginFramework/HeftLifecycle.ts", + "scopeId": ".HeftLifecycle.applyPluginsInternalAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/pluginFramework/HeftLifecycle.ts", + "scopeId": ".HeftLifecycle.applyPluginsInternalAsync", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/HeftLifecycle.ts", + "scopeId": ".HeftLifecycle.applyPluginsInternalAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/HeftLifecycle.ts", + "scopeId": ".HeftLifecycle.ensureInitializedAsync", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/HeftLifecycle.ts", + "scopeId": ".HeftLifecycle.ensureInitializedAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/HeftLifecycleSession.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/HeftLifecycleSession.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/HeftLifecycleSession.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/pluginFramework/HeftParameterManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/HeftParameterManager.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/pluginFramework/HeftParameterManager.ts", + "scopeId": ".HeftParameterManager._addParametersToProvider", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/HeftParameterManager.ts", + "scopeId": ".HeftParameterManager._addParametersToProvider", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/HeftParameterManager.ts", + "scopeId": ".HeftParameterManager.defaultParameters", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/pluginFramework/HeftParameterManager.ts", + "scopeId": ".HeftParameterManager.getParametersForPlugin", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/HeftParameterManager.ts", + "scopeId": ".HeftParameterManager.getParametersForPlugin", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/HeftPhase.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/pluginFramework/HeftPhase.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/HeftPhase.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/HeftPhase.ts", + "scopeId": ".HeftPhase._ensureTasks", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/HeftPhase.ts", + "scopeId": ".HeftPhase.cleanFiles", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/pluginFramework/HeftPhase.ts", + "scopeId": ".HeftPhase.consumingPhases", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/HeftPhase.ts", + "scopeId": ".HeftPhase.dependencyPhases", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/HeftPhaseSession.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/HeftPhaseSession.ts", + "scopeId": ".HeftPhaseSession.applyPluginsInternalAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pluginFramework/HeftPhaseSession.ts", + "scopeId": ".HeftPhaseSession.applyPluginsInternalAsync", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/HeftPhaseSession.ts", + "scopeId": ".HeftPhaseSession.applyPluginsInternalAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/HeftPluginHost.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/HeftPluginHost.ts", + "scopeId": ".HeftPluginHost.requestAccessToPluginByName", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/HeftPluginHost.ts", + "scopeId": ".HeftPluginHost.resolvePluginAccessRequests", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/HeftTask.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/pluginFramework/HeftTask.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/HeftTask.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/HeftTask.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/pluginFramework/HeftTask.ts", + "scopeId": ".HeftTask.consumingTasks", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/HeftTask.ts", + "scopeId": ".HeftTask.dependencyTasks", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/HeftTask.ts", + "scopeId": ".HeftTask.getPluginAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/pluginFramework/HeftTaskSession.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/HeftTaskSession.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/HeftTaskSession.ts", + "scopeId": ".HeftTaskSession.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/IHeftPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/IncrementalBuildInfo.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/IncrementalBuildInfo.ts", + "scopeId": ".deserializeBuildInfo", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/IncrementalBuildInfo.ts", + "scopeId": ".deserializeBuildInfo", + "rule": "max-depth" + }, + { + "file": "src/pluginFramework/IncrementalBuildInfo.ts", + "scopeId": ".deserializeBuildInfo", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/IncrementalBuildInfo.ts", + "scopeId": ".serializeBuildInfo", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/IncrementalBuildInfo.ts", + "scopeId": ".serializeBuildInfo", + "rule": "max-depth" + }, + { + "file": "src/pluginFramework/IncrementalBuildInfo.ts", + "scopeId": ".serializeBuildInfo", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/InternalHeftSession.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/pluginFramework/InternalHeftSession.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/InternalHeftSession.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/InternalHeftSession.ts", + "scopeId": ".InternalHeftSession._ensurePhases", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/InternalHeftSession.ts", + "scopeId": ".InternalHeftSession.actionReferencesByAlias", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/pluginFramework/InternalHeftSession.ts", + "scopeId": ".InternalHeftSession.initializeAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pluginFramework/InternalHeftSession.ts", + "scopeId": ".InternalHeftSession.initializeAsync", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/InternalHeftSession.ts", + "scopeId": ".InternalHeftSession.initializeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/InternalHeftSession.ts", + "scopeId": ".InternalHeftSession.lifecycle", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/pluginFramework/StaticFileSystemAdapter.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/pluginFramework/StaticFileSystemAdapter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/StaticFileSystemAdapter.ts", + "scopeId": ".StaticFileSystemAdapter", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/StaticFileSystemAdapter.ts", + "scopeId": ".StaticFileSystemAdapter", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/StaticFileSystemAdapter.ts", + "scopeId": ".StaticFileSystemAdapter.addFile", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/StaticFileSystemAdapter.ts", + "scopeId": ".StaticFileSystemAdapter.addFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/logging/LoggingManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/logging/MockScopedLogger.ts", + "scopeId": ".MockScopedLogger.hasErrors", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pluginFramework/logging/ScopedLogger.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/logging/ScopedLogger.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/pluginFramework/logging/ScopedLogger.ts", + "scopeId": ".ScopedLogger.hasErrors", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pluginFramework/tests/IncrementalBuildInfo.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/tests/IncrementalBuildInfo.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/tests/IncrementalBuildInfo.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/plugins/CopyFilesPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/plugins/CopyFilesPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/plugins/CopyFilesPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/plugins/CopyFilesPlugin.ts", + "scopeId": "._copyFilesInnerAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/plugins/CopyFilesPlugin.ts", + "scopeId": "._copyFilesInnerAsync", + "rule": "complexity" + }, + { + "file": "src/plugins/CopyFilesPlugin.ts", + "scopeId": "._copyFilesInnerAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/plugins/CopyFilesPlugin.ts", + "scopeId": "._getCopyDescriptorsAsync", + "rule": "complexity" + }, + { + "file": "src/plugins/CopyFilesPlugin.ts", + "scopeId": "._getCopyDescriptorsAsync", + "rule": "max-depth" + }, + { + "file": "src/plugins/CopyFilesPlugin.ts", + "scopeId": "._getCopyDescriptorsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/plugins/CopyFilesPlugin.ts", + "scopeId": ".copyFilesAsync", + "rule": "max-params" + }, + { + "file": "src/plugins/DeleteFilesPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/plugins/DeleteFilesPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/plugins/DeleteFilesPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/plugins/DeleteFilesPlugin.ts", + "scopeId": "._deleteFilesInnerAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/plugins/DeleteFilesPlugin.ts", + "scopeId": "._deleteFilesInnerAsync", + "rule": "complexity" + }, + { + "file": "src/plugins/DeleteFilesPlugin.ts", + "scopeId": "._deleteFilesInnerAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/plugins/DeleteFilesPlugin.ts", + "scopeId": "._getPathsToDeleteAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/plugins/FileGlobSpecifier.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/plugins/FileGlobSpecifier.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/plugins/FileGlobSpecifier.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/plugins/FileGlobSpecifier.ts", + "scopeId": ".getFileSelectionSpecifierPathsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/plugins/FileGlobSpecifier.ts", + "scopeId": ".getIncludedGlobPatterns", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/plugins/FileGlobSpecifier.ts", + "scopeId": ".getIncludedGlobPatterns", + "rule": "complexity" + }, + { + "file": "src/plugins/FileGlobSpecifier.ts", + "scopeId": ".getIncludedGlobPatterns", + "rule": "max-lines-per-function" + }, + { + "file": "src/plugins/NodeServicePlugin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/plugins/NodeServicePlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/plugins/NodeServicePlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/plugins/NodeServicePlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/plugins/NodeServicePlugin.ts", + "scopeId": ".NodeServicePlugin._loadStageConfigurationAsync", + "rule": "complexity" + }, + { + "file": "src/plugins/NodeServicePlugin.ts", + "scopeId": ".NodeServicePlugin._loadStageConfigurationAsync", + "rule": "max-depth" + }, + { + "file": "src/plugins/NodeServicePlugin.ts", + "scopeId": ".NodeServicePlugin._loadStageConfigurationAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/plugins/NodeServicePlugin.ts", + "scopeId": ".NodeServicePlugin._startChild", + "rule": "complexity" + }, + { + "file": "src/plugins/NodeServicePlugin.ts", + "scopeId": ".NodeServicePlugin._startChild", + "rule": "max-lines-per-function" + }, + { + "file": "src/plugins/NodeServicePlugin.ts", + "scopeId": ".NodeServicePlugin._stopChildAsync", + "rule": "complexity" + }, + { + "file": "src/plugins/NodeServicePlugin.ts", + "scopeId": ".NodeServicePlugin._stopChildAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/plugins/NodeServicePlugin.ts", + "scopeId": ".NodeServicePlugin.apply", + "rule": "complexity" + }, + { + "file": "src/plugins/RunScriptPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/plugins/RunScriptPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/startWithVersionSelector.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/startWithVersionSelector.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/startWithVersionSelector.ts", + "scopeId": ".tryGetPackageFolderFor", + "rule": "complexity" + }, + { + "file": "src/startWithVersionSelector.ts", + "scopeId": ".tryStartLocalHeft", + "rule": "complexity" + }, + { + "file": "src/startWithVersionSelector.ts", + "scopeId": ".tryStartLocalHeft", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/CliUtilities.ts", + "scopeId": ".getToolParameterNamesFromArgs", + "rule": "complexity" + }, + { + "file": "src/utilities/Constants.ts", + "scopeId": ".Constants", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/CoreConfigFiles.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utilities/CoreConfigFiles.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/utilities/CoreConfigFiles.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/CoreConfigFiles.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/utilities/CoreConfigFiles.ts", + "scopeId": ".CoreConfigFiles.loadHeftConfigurationFileForProjectAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/CoreConfigFiles.ts", + "scopeId": ".CoreConfigFiles.loadHeftConfigurationFileForProjectAsync", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/utilities/CoreConfigFiles.ts", + "scopeId": ".CoreConfigFiles.loadHeftConfigurationFileForProjectAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/CoreConfigFiles.ts", + "scopeId": ".CoreConfigFiles.loadHeftConfigurationFileForProjectAsync.pluginPackageResolver", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utilities/CoreConfigFiles.ts", + "scopeId": ".CoreConfigFiles.loadHeftConfigurationFileForProjectAsync.pluginPackageResolver", + "rule": "complexity" + }, + { + "file": "src/utilities/CoreConfigFiles.ts", + "scopeId": ".CoreConfigFiles.tryLoadNodeServiceConfigurationFileAsync", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities._ensureGitMinimumVersion", + "rule": "complexity" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities._executeGitCommandAndCaptureOutputAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities._executeGitCommandAndCaptureOutputAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities._executeGitCommandAndCaptureOutputAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities._findIgnoreMatcherForFilePath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities._findIgnoreMatcherForFilePath", + "rule": "complexity" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities._findIgnoreMatcherForFilePath", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities._getIgnoreMatchersAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities._getIgnoreMatchersAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities._getIgnoreMatchersAsync", + "rule": "max-depth" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities._getIgnoreMatchersAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities._parseGitVersion", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities._tryReadGitIgnoreFileAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities._tryReadGitIgnoreFileAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities.getGitInfo", + "rule": "complexity" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities.getGitVersion", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities.getGitVersion", + "rule": "complexity" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities.isPathUnderGitWorkingTree", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities.isPathUnderGitWorkingTree", + "rule": "complexity" + }, + { + "file": "src/utilities/GitUtilities.ts", + "scopeId": ".GitUtilities.tryCreateGitignoreFilterAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/WatchFileSystemAdapter.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utilities/WatchFileSystemAdapter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/WatchFileSystemAdapter.ts", + "scopeId": ".WatchFileSystemAdapter", + "rule": "complexity" + }, + { + "file": "src/utilities/WatchFileSystemAdapter.ts", + "scopeId": ".WatchFileSystemAdapter.getStateAndTrack", + "rule": "complexity" + }, + { + "file": "src/utilities/WatchFileSystemAdapter.ts", + "scopeId": ".WatchFileSystemAdapter.getStateAndTrackAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/WatchFileSystemAdapter.ts", + "scopeId": ".WatchFileSystemAdapter.lstat", + "rule": "complexity" + }, + { + "file": "src/utilities/WatchFileSystemAdapter.ts", + "scopeId": ".WatchFileSystemAdapter.lstatSync", + "rule": "complexity" + }, + { + "file": "src/utilities/WatchFileSystemAdapter.ts", + "scopeId": ".WatchFileSystemAdapter.readdir", + "rule": "complexity" + }, + { + "file": "src/utilities/WatchFileSystemAdapter.ts", + "scopeId": ".WatchFileSystemAdapter.readdir", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/WatchFileSystemAdapter.ts", + "scopeId": ".WatchFileSystemAdapter.stat", + "rule": "complexity" + }, + { + "file": "src/utilities/WatchFileSystemAdapter.ts", + "scopeId": ".WatchFileSystemAdapter.statSync", + "rule": "complexity" + }, + { + "file": "src/utilities/WatchFileSystemAdapter.ts", + "scopeId": ".WatchFileSystemAdapter.watch", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/WatchFileSystemAdapter.ts", + "scopeId": ".WatchFileSystemAdapter.watch", + "rule": "complexity" + }, + { + "file": "src/utilities/test/GitUtilities.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/apps/heft/eslint.config.js b/apps/heft/eslint.config.js index e54effd122a..d4ba303ef90 100644 --- a/apps/heft/eslint.config.js +++ b/apps/heft/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/apps/lockfile-explorer-web/.eslint-bulk-suppressions.json b/apps/lockfile-explorer-web/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..143a574f57b --- /dev/null +++ b/apps/lockfile-explorer-web/.eslint-bulk-suppressions.json @@ -0,0 +1,374 @@ +{ + "suppressions": [ + { + "file": "src/App.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/App.tsx", + "scopeId": ".App", + "rule": "max-lines-per-function" + }, + { + "file": "src/components/ConnectionModal/index.tsx", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/components/ConnectionModal/index.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/components/ConnectionModal/index.tsx", + "scopeId": ".ConnectionModal", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/components/ConnectionModal/index.tsx", + "scopeId": ".ConnectionModal", + "rule": "complexity" + }, + { + "file": "src/components/ConnectionModal/index.tsx", + "scopeId": ".ConnectionModal", + "rule": "max-lines-per-function" + }, + { + "file": "src/containers/BookmarksSidebar/index.tsx", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/containers/BookmarksSidebar/index.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/containers/BookmarksSidebar/index.tsx", + "scopeId": ".BookmarksSidebar", + "rule": "max-lines-per-function" + }, + { + "file": "src/containers/LockfileEntryDetailsView/index.tsx", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/containers/LockfileEntryDetailsView/index.tsx", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/containers/LockfileEntryDetailsView/index.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/containers/LockfileEntryDetailsView/index.tsx", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/containers/LockfileEntryDetailsView/index.tsx", + "scopeId": ".LockfileEntryDetailsView", + "rule": "complexity" + }, + { + "file": "src/containers/LockfileEntryDetailsView/index.tsx", + "scopeId": ".LockfileEntryDetailsView", + "rule": "max-depth" + }, + { + "file": "src/containers/LockfileEntryDetailsView/index.tsx", + "scopeId": ".LockfileEntryDetailsView", + "rule": "max-lines-per-function" + }, + { + "file": "src/containers/LockfileEntryDetailsView/index.tsx", + "scopeId": ".LockfileEntryDetailsView.getDependencyInfo", + "rule": "complexity" + }, + { + "file": "src/containers/LockfileEntryDetailsView/index.tsx", + "scopeId": ".LockfileEntryDetailsView.renderDependencyMetadata", + "rule": "complexity" + }, + { + "file": "src/containers/LockfileEntryDetailsView/index.tsx", + "scopeId": ".LockfileEntryDetailsView.renderDependencyMetadata", + "rule": "max-lines-per-function" + }, + { + "file": "src/containers/LockfileEntryDetailsView/index.tsx", + "scopeId": ".LockfileEntryDetailsView.renderPeerDependencies", + "rule": "complexity" + }, + { + "file": "src/containers/LockfileEntryDetailsView/index.tsx", + "scopeId": ".LockfileEntryDetailsView.renderPeerDependencies", + "rule": "max-lines-per-function" + }, + { + "file": "src/containers/LockfileViewer/index.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/containers/LockfileViewer/index.tsx", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/containers/LockfileViewer/index.tsx", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/containers/LockfileViewer/index.tsx", + "scopeId": ".LockfileEntryLi", + "rule": "complexity" + }, + { + "file": "src/containers/LockfileViewer/index.tsx", + "scopeId": ".LockfileEntryLi", + "rule": "max-lines-per-function" + }, + { + "file": "src/containers/LockfileViewer/index.tsx", + "scopeId": ".LockfileViewer", + "rule": "complexity" + }, + { + "file": "src/containers/LockfileViewer/index.tsx", + "scopeId": ".LockfileViewer", + "rule": "max-lines-per-function" + }, + { + "file": "src/containers/LockfileViewer/index.tsx", + "scopeId": ".LockfileViewer.getEntriesToShow", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/containers/LockfileViewer/index.tsx", + "scopeId": ".LockfileViewer.getEntriesToShow", + "rule": "complexity" + }, + { + "file": "src/containers/LockfileViewer/index.tsx", + "scopeId": ".LockfileViewer.getEntriesToShow", + "rule": "max-lines-per-function" + }, + { + "file": "src/containers/LogoPanel/index.tsx", + "scopeId": ".LogoPanel", + "rule": "max-lines-per-function" + }, + { + "file": "src/containers/PackageJsonViewer/CodeBox.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/containers/PackageJsonViewer/index.tsx", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/containers/PackageJsonViewer/index.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/containers/PackageJsonViewer/index.tsx", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/containers/PackageJsonViewer/index.tsx", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/containers/PackageJsonViewer/index.tsx", + "scopeId": ".PackageJsonViewer", + "rule": "max-lines-per-function" + }, + { + "file": "src/containers/PackageJsonViewer/index.tsx", + "scopeId": ".PackageJsonViewer.renderDep", + "rule": "complexity" + }, + { + "file": "src/containers/PackageJsonViewer/index.tsx", + "scopeId": ".PackageJsonViewer.renderDep", + "rule": "max-lines-per-function" + }, + { + "file": "src/containers/PackageJsonViewer/index.tsx", + "scopeId": ".PackageJsonViewer.renderFile", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/containers/PackageJsonViewer/index.tsx", + "scopeId": ".PackageJsonViewer.renderFile", + "rule": "complexity" + }, + { + "file": "src/containers/PackageJsonViewer/index.tsx", + "scopeId": ".PackageJsonViewer.renderFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/containers/SelectedEntryPreview/index.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/containers/SelectedEntryPreview/index.tsx", + "scopeId": ".SelectedEntryPreview", + "rule": "max-lines-per-function" + }, + { + "file": "src/containers/SelectedEntryPreview/index.tsx", + "scopeId": ".SelectedEntryPreview.renderButtonRow", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/helpers/displaySpecChanges.ts", + "scopeId": ".displaySpecChanges", + "rule": "complexity" + }, + { + "file": "src/helpers/isEntryModified.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/helpers/isEntryModified.ts", + "scopeId": ".isEntryModified", + "rule": "complexity" + }, + { + "file": "src/helpers/lfxApiClient.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/helpers/lfxApiClient.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/helpers/lfxApiClient.ts", + "scopeId": ".readWorkspaceConfigAsync", + "rule": "complexity" + }, + { + "file": "src/helpers/localStorage.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/helpers/localStorage.ts", + "scopeId": ".getFilterFromLocalStorage", + "rule": "complexity" + }, + { + "file": "src/packlets/lfx-shared/LfxGraph.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/packlets/lfx-shared/LfxGraph.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/packlets/lfx-shared/lfxGraphSerializer.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/packlets/lfx-shared/lfxGraphSerializer.ts", + "scopeId": ".deserializeFromJson", + "rule": "complexity" + }, + { + "file": "src/packlets/lfx-shared/lfxGraphSerializer.ts", + "scopeId": ".deserializeFromJson", + "rule": "max-lines-per-function" + }, + { + "file": "src/packlets/lfx-shared/lfxGraphSerializer.ts", + "scopeId": ".serializeToJson", + "rule": "complexity" + }, + { + "file": "src/packlets/lfx-shared/lfxGraphSerializer.ts", + "scopeId": ".serializeToJson", + "rule": "max-lines-per-function" + }, + { + "file": "src/parsing/compareSpec.ts", + "scopeId": ".compareSpec", + "rule": "complexity" + }, + { + "file": "src/parsing/compareSpec.ts", + "scopeId": ".compareSpec", + "rule": "max-lines-per-function" + }, + { + "file": "src/parsing/readLockfile.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/store/hooks.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/store/slices/entrySlice.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/store/slices/entrySlice.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/store/slices/entrySlice.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/store/slices/entrySlice.ts", + "scopeId": ".reducers.forwardStack", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/store/slices/entrySlice.ts", + "scopeId": ".reducers.popStack", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/store/slices/entrySlice.ts", + "scopeId": ".reducers.popStack", + "rule": "complexity" + }, + { + "file": "src/store/slices/entrySlice.ts", + "scopeId": ".selectCurrentEntry", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/store/slices/workspaceSlice.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/apps/lockfile-explorer-web/eslint.config.js b/apps/lockfile-explorer-web/eslint.config.js index 9765c392aa3..d41d3e2d182 100644 --- a/apps/lockfile-explorer-web/eslint.config.js +++ b/apps/lockfile-explorer-web/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-web-rig/profiles/app/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-web-rig/profiles/app/includes/eslint/flat/profile/web-app'); const reactMixin = require('local-web-rig/profiles/app/includes/eslint/flat/mixins/react'); const packletsMixin = require('local-web-rig/profiles/app/includes/eslint/flat/mixins/packlets'); diff --git a/apps/lockfile-explorer/.eslint-bulk-suppressions.json b/apps/lockfile-explorer/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..229c0236881 --- /dev/null +++ b/apps/lockfile-explorer/.eslint-bulk-suppressions.json @@ -0,0 +1,519 @@ +{ + "suppressions": [ + { + "file": "src/cli/explorer/ExplorerCommandLineParser.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/cli/explorer/ExplorerCommandLineParser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/explorer/ExplorerCommandLineParser.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/explorer/ExplorerCommandLineParser.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/explorer/ExplorerCommandLineParser.ts", + "scopeId": ".ExplorerCommandLineParser.onExecuteAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/explorer/ExplorerCommandLineParser.ts", + "scopeId": ".ExplorerCommandLineParser.onExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/cli/explorer/ExplorerCommandLineParser.ts", + "scopeId": ".ExplorerCommandLineParser.onExecuteAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/lint/LintCommandLineParser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/lint/LintCommandLineParser.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/lint/actions/CheckAction.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/cli/lint/actions/CheckAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/lint/actions/CheckAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/lint/actions/CheckAction.ts", + "scopeId": ".CheckAction._checkVersionCompatibilityAsync", + "rule": "complexity" + }, + { + "file": "src/cli/lint/actions/CheckAction.ts", + "scopeId": ".CheckAction._checkVersionCompatibilityAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/lint/actions/CheckAction.ts", + "scopeId": ".CheckAction._checkVersionCompatibilityAsync", + "rule": "max-params" + }, + { + "file": "src/cli/lint/actions/CheckAction.ts", + "scopeId": ".CheckAction._performVersionRestrictionCheckAsync", + "rule": "complexity" + }, + { + "file": "src/cli/lint/actions/CheckAction.ts", + "scopeId": ".CheckAction._searchAndValidateDependenciesAsync", + "rule": "complexity" + }, + { + "file": "src/cli/lint/actions/CheckAction.ts", + "scopeId": ".CheckAction._searchAndValidateDependenciesAsync", + "rule": "max-depth" + }, + { + "file": "src/cli/lint/actions/CheckAction.ts", + "scopeId": ".CheckAction._searchAndValidateDependenciesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/lint/actions/CheckAction.ts", + "scopeId": ".CheckAction.onExecuteAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/lint/actions/CheckAction.ts", + "scopeId": ".CheckAction.onExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/cli/lint/actions/CheckAction.ts", + "scopeId": ".CheckAction.onExecuteAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/lint/actions/InitAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/test/CommandLineHelp.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/test/CommandLineHelp.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/graph/PnpmfileRunner.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/graph/PnpmfileRunner.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/graph/PnpmfileRunner.ts", + "scopeId": ".PnpmfileRunner", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/graph/PnpmfileRunner.ts", + "scopeId": ".PnpmfileRunner.constructor", + "rule": "complexity" + }, + { + "file": "src/graph/PnpmfileRunner.ts", + "scopeId": ".PnpmfileRunner.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".PnpmLockfileVersion", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".createPackageLockfileDependency", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".createPackageLockfileDependency", + "rule": "complexity" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".createPackageLockfileDependency", + "rule": "max-lines-per-function" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".createPackageLockfileEntry", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".createPackageLockfileEntry", + "rule": "complexity" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".createPackageLockfileEntry", + "rule": "max-lines-per-function" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".createProjectLockfileEntry", + "rule": "max-lines-per-function" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".generateLockfileGraph", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".generateLockfileGraph", + "rule": "complexity" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".generateLockfileGraph", + "rule": "max-depth" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".generateLockfileGraph", + "rule": "max-lines-per-function" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".parsePackageDependencies", + "rule": "complexity" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".parsePackageDependencies", + "rule": "max-lines-per-function" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".parsePackageDependencies.createDependency", + "rule": "complexity" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".parseProjectDependencies54", + "rule": "complexity" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".parseProjectDependencies54", + "rule": "max-lines-per-function" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".parseProjectDependencies60", + "rule": "complexity" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".parseProjectDependencies60", + "rule": "max-lines-per-function" + }, + { + "file": "src/graph/lfxGraphLoader.ts", + "scopeId": ".parseProjectDependencies60", + "rule": "max-params" + }, + { + "file": "src/graph/lockfilePath.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/graph/lockfilePath.ts", + "scopeId": ".getAbsolute", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/graph/lockfilePath.ts", + "scopeId": ".getAbsolute", + "rule": "complexity" + }, + { + "file": "src/graph/lockfilePath.ts", + "scopeId": ".getAbsolute", + "rule": "max-lines-per-function" + }, + { + "file": "src/graph/lockfilePath.ts", + "scopeId": ".getBaseNameOf", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/graph/lockfilePath.ts", + "scopeId": ".getBaseNameOf", + "rule": "complexity" + }, + { + "file": "src/graph/lockfilePath.ts", + "scopeId": ".getParentOf", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/graph/lockfilePath.ts", + "scopeId": ".getParentOf", + "rule": "complexity" + }, + { + "file": "src/graph/lockfilePath.ts", + "scopeId": ".join", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/graph/lockfilePath.ts", + "scopeId": ".join", + "rule": "complexity" + }, + { + "file": "src/graph/pnpmfileRunnerWorkerThread.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/graph/pnpmfileRunnerWorkerThread.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/graph/pnpmfileRunnerWorkerThread.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/graph/pnpmfileRunnerWorkerThread.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/graph/test/PnpmfileRunner.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/graph/test/PnpmfileRunner.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/graph/test/graphTestHelpers.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/graph/test/lockfile.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/graph/test/lockfile.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/graph/test/lockfile.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/graph/test/lockfilePath.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/graph/test/serializeToJson.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/graph/test/serializeToJson.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/graph/test/serializeToJson.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/graph/test/serializeToJson.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/state/index.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/utils/PackageUpdateChecker.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/PackageUpdateChecker.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utils/PackageUpdateChecker.ts", + "scopeId": ".PackageUpdateChecker.constructor", + "rule": "complexity" + }, + { + "file": "src/utils/PackageUpdateChecker.ts", + "scopeId": ".PackageUpdateChecker.tryGetUpdateAsync", + "rule": "complexity" + }, + { + "file": "src/utils/PackageUpdateChecker.ts", + "scopeId": ".PackageUpdateChecker.tryGetUpdateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utils/PackageUpdateChecker.ts", + "scopeId": "._tryFetchLatestVersionAsync", + "rule": "complexity" + }, + { + "file": "src/utils/constants.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/constants.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/utils/init.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/utils/init.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utils/init.ts", + "scopeId": ".init", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/init.ts", + "scopeId": ".init", + "rule": "complexity" + }, + { + "file": "src/utils/init.ts", + "scopeId": ".init", + "rule": "max-lines-per-function" + }, + { + "file": "src/utils/shrinkwrap.ts", + "scopeId": ".convertLockfileV6DepPathToV5DepPath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/shrinkwrap.ts", + "scopeId": ".convertLockfileV6DepPathToV5DepPath", + "rule": "complexity" + }, + { + "file": "src/utils/shrinkwrap.ts", + "scopeId": ".getShrinkwrapFileMajorVersion", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/shrinkwrap.ts", + "scopeId": ".getShrinkwrapFileMajorVersion", + "rule": "complexity" + }, + { + "file": "src/utils/shrinkwrap.ts", + "scopeId": ".parseDependencyPath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/shrinkwrap.ts", + "scopeId": ".splicePackageWithVersion", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/test/PackageUpdateChecker.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utils/test/PackageUpdateChecker.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utils/test/PackageUpdateChecker.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/utils/test/PackageUpdateChecker.test.ts", + "scopeId": ".makeCacheEntry", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/apps/lockfile-explorer/eslint.config.js b/apps/lockfile-explorer/eslint.config.js index ceb5a1bee40..385baceff3b 100644 --- a/apps/lockfile-explorer/eslint.config.js +++ b/apps/lockfile-explorer/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/apps/playwright-browser-tunnel/.eslint-bulk-suppressions.json b/apps/playwright-browser-tunnel/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..0b232bc2e18 --- /dev/null +++ b/apps/playwright-browser-tunnel/.eslint-bulk-suppressions.json @@ -0,0 +1,214 @@ +{ + "suppressions": [ + { + "file": "src/HttpServer.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/HttpServer.ts", + "scopeId": ".HttpServer.listenAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LaunchOptionsValidator.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/LaunchOptionsValidator.ts", + "scopeId": ".LaunchOptionsValidator.readAllowlistAsync", + "rule": "complexity" + }, + { + "file": "src/LaunchOptionsValidator.ts", + "scopeId": ".LaunchOptionsValidator.readAllowlistAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/LaunchOptionsValidator.ts", + "scopeId": ".LaunchOptionsValidator.validateLaunchOptionsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LaunchOptionsValidator.ts", + "scopeId": ".LaunchOptionsValidator.validateLaunchOptionsAsync", + "rule": "complexity" + }, + { + "file": "src/LaunchOptionsValidator.ts", + "scopeId": ".LaunchOptionsValidator.validateLaunchOptionsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/LaunchOptionsValidator.ts", + "scopeId": ".LaunchOptionsValidator.writeAllowlistAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".PlaywrightTunnel._getPlaywrightBrowserServerProxyAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".PlaywrightTunnel._initPlaywrightBrowserTunnelAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".PlaywrightTunnel._initPlaywrightBrowserTunnelAsync.onMessageHandler", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".PlaywrightTunnel._initPlaywrightBrowserTunnelAsync.onMessageHandler", + "rule": "complexity" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".PlaywrightTunnel._initPlaywrightBrowserTunnelAsync.onMessageHandler", + "rule": "max-depth" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".PlaywrightTunnel._initPlaywrightBrowserTunnelAsync.onMessageHandler", + "rule": "max-lines-per-function" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".PlaywrightTunnel._pollConnectionAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".PlaywrightTunnel._setupForwardingAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".PlaywrightTunnel._validateHandshake", + "rule": "complexity" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".PlaywrightTunnel._validateHandshake", + "rule": "max-lines-per-function" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".PlaywrightTunnel._waitForIncomingConnectionAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".PlaywrightTunnel.constructor", + "rule": "complexity" + }, + { + "file": "src/PlaywrightBrowserTunnel.ts", + "scopeId": ".PlaywrightTunnel.startAsync", + "rule": "complexity" + }, + { + "file": "src/tunneledBrowserConnection/TunneledBrowser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/tunneledBrowserConnection/TunneledBrowser.ts", + "scopeId": ".createTunneledBrowserAsync", + "rule": "complexity" + }, + { + "file": "src/tunneledBrowserConnection/TunneledBrowser.ts", + "scopeId": ".createTunneledBrowserAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/tunneledBrowserConnection/TunneledBrowserConnection.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/tunneledBrowserConnection/TunneledBrowserConnection.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/tunneledBrowserConnection/TunneledBrowserConnection.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/tunneledBrowserConnection/TunneledBrowserConnection.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/tunneledBrowserConnection/TunneledBrowserConnection.ts", + "scopeId": ".tunneledBrowserConnection", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/tunneledBrowserConnection/TunneledBrowserConnection.ts", + "scopeId": ".tunneledBrowserConnection", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/tunneledBrowserConnection/TunneledBrowserConnection.ts", + "scopeId": ".tunneledBrowserConnection", + "rule": "complexity" + }, + { + "file": "src/tunneledBrowserConnection/TunneledBrowserConnection.ts", + "scopeId": ".tunneledBrowserConnection", + "rule": "max-depth" + }, + { + "file": "src/tunneledBrowserConnection/TunneledBrowserConnection.ts", + "scopeId": ".tunneledBrowserConnection", + "rule": "max-lines-per-function" + }, + { + "file": "src/tunneledBrowserConnection/TunneledBrowserConnection.ts", + "scopeId": ".tunneledBrowserConnection.maybeSendHandshake", + "rule": "complexity" + }, + { + "file": "src/utilities.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities.ts", + "scopeId": ".WebSocketCloseCode", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities.ts", + "scopeId": ".getWebSocketReadyStateString", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities.ts", + "scopeId": ".getWebSocketReadyStateString", + "rule": "complexity" + } + ] +} \ No newline at end of file diff --git a/apps/playwright-browser-tunnel/eslint.config.js b/apps/playwright-browser-tunnel/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/apps/playwright-browser-tunnel/eslint.config.js +++ b/apps/playwright-browser-tunnel/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/apps/rundown/.eslint-bulk-suppressions.json b/apps/rundown/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..bdedd7d1157 --- /dev/null +++ b/apps/rundown/.eslint-bulk-suppressions.json @@ -0,0 +1,104 @@ +{ + "suppressions": [ + { + "file": "src/Rundown.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Rundown.ts", + "scopeId": ".Rundown._spawnLauncherAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Rundown.ts", + "scopeId": ".Rundown._spawnLauncherAsync", + "rule": "complexity" + }, + { + "file": "src/Rundown.ts", + "scopeId": ".Rundown._spawnLauncherAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Rundown.ts", + "scopeId": ".Rundown.invokeAsync", + "rule": "complexity" + }, + { + "file": "src/Rundown.ts", + "scopeId": ".Rundown.writeInspectReport", + "rule": "complexity" + }, + { + "file": "src/Rundown.ts", + "scopeId": ".Rundown.writeInspectReport", + "rule": "max-depth" + }, + { + "file": "src/Rundown.ts", + "scopeId": ".Rundown.writeInspectReport", + "rule": "max-lines-per-function" + }, + { + "file": "src/Rundown.ts", + "scopeId": ".Rundown.writeSnapshotReport", + "rule": "complexity" + }, + { + "file": "src/cli/BaseReportAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/InspectAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/RundownCommandLine.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/SnapshotAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/launcher.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/launcher.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/launcher.ts", + "scopeId": ".Launcher._sendIpcTraceBatch", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/launcher.ts", + "scopeId": ".Launcher.installHook", + "rule": "max-lines-per-function" + }, + { + "file": "src/launcher.ts", + "scopeId": ".Launcher.installHook.hookedRequire", + "rule": "complexity" + }, + { + "file": "src/launcher.ts", + "scopeId": ".Launcher.installHook.hookedRequire", + "rule": "max-depth" + }, + { + "file": "src/launcher.ts", + "scopeId": ".Launcher.installHook.hookedRequire", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/apps/rundown/eslint.config.js b/apps/rundown/eslint.config.js index ceb5a1bee40..385baceff3b 100644 --- a/apps/rundown/eslint.config.js +++ b/apps/rundown/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/apps/rush-mcp-server/.eslint-bulk-suppressions.json b/apps/rush-mcp-server/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..4726bc2a8f4 --- /dev/null +++ b/apps/rush-mcp-server/.eslint-bulk-suppressions.json @@ -0,0 +1,194 @@ +{ + "suppressions": [ + { + "file": "src/pluginFramework/RushMcpPluginLoader.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/pluginFramework/RushMcpPluginLoader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/RushMcpPluginLoader.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/RushMcpPluginLoader.ts", + "scopeId": ".RushMcpPluginLoader.loadAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pluginFramework/RushMcpPluginLoader.ts", + "scopeId": ".RushMcpPluginLoader.loadAsync", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/RushMcpPluginLoader.ts", + "scopeId": ".RushMcpPluginLoader.loadAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/RushMcpPluginSession.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/zodTypes.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/server.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/server.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/start.ts", + "scopeId": ".main", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/tools/base.tool.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/tools/conflict-resolver.tool.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/tools/migrate-project.tool.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/tools/migrate-project.tool.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/tools/migrate-project.tool.ts", + "scopeId": ".RushMigrateProjectTool.executeAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/tools/migrate-project.tool.ts", + "scopeId": ".RushMigrateProjectTool.executeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/tools/project-details.tool.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/tools/project-details.tool.ts", + "scopeId": ".RushProjectDetailsTool.executeAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/tools/project-details.tool.ts", + "scopeId": ".RushProjectDetailsTool.executeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/tools/rush-command-validator.tool.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/tools/rush-command-validator.tool.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/tools/rush-command-validator.tool.ts", + "scopeId": ".RushCommandValidatorTool.executeAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/tools/rush-command-validator.tool.ts", + "scopeId": ".RushCommandValidatorTool.executeAsync", + "rule": "complexity" + }, + { + "file": "src/tools/rush-command-validator.tool.ts", + "scopeId": ".RushCommandValidatorTool.executeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/tools/workspace-details.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/tools/workspace-details.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/tools/workspace-details.ts", + "scopeId": ".RushWorkspaceDetailsTool._getRobotReadableWorkspaceDetails", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/tools/workspace-details.ts", + "scopeId": ".RushWorkspaceDetailsTool._getRobotReadableWorkspaceDetails", + "rule": "complexity" + }, + { + "file": "src/tools/workspace-details.ts", + "scopeId": ".RushWorkspaceDetailsTool._getRobotReadableWorkspaceDetails", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/command-runner.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/command-runner.ts", + "scopeId": "._executeCommandAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/command-runner.ts", + "scopeId": "._executeCommandAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/command-runner.ts", + "scopeId": "._executeCommandAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/command-runner.ts", + "scopeId": "._resolveCommand", + "rule": "complexity" + }, + { + "file": "src/utilities/log.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/apps/rush-mcp-server/eslint.config.js b/apps/rush-mcp-server/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/apps/rush-mcp-server/eslint.config.js +++ b/apps/rush-mcp-server/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/apps/rush-serve-dashboard/.eslint-bulk-suppressions.json b/apps/rush-serve-dashboard/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..5ae9ea86835 --- /dev/null +++ b/apps/rush-serve-dashboard/.eslint-bulk-suppressions.json @@ -0,0 +1,914 @@ +{ + "suppressions": [ + { + "file": "src/dashboard.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/dashboard.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/dashboard.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/dashboard.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/dashboard.ts", + "scopeId": ".applyStaticStyles", + "rule": "max-lines-per-function" + }, + { + "file": "src/dashboard.ts", + "scopeId": ".handleMessage", + "rule": "complexity" + }, + { + "file": "src/dashboard.ts", + "scopeId": ".handleMessage", + "rule": "max-lines-per-function" + }, + { + "file": "src/dashboard.ts", + "scopeId": ".wireActions", + "rule": "max-lines-per-function" + }, + { + "file": "src/dashboard.ts", + "scopeId": ".wireActions.hasSelection", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/ansiSgrParser.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/modules/ansiSgrParser.ts", + "scopeId": ".AnsiSgrParser._ansiStateToStyle", + "rule": "complexity" + }, + { + "file": "src/modules/ansiSgrParser.ts", + "scopeId": ".AnsiSgrParser._applySgr", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/ansiSgrParser.ts", + "scopeId": ".AnsiSgrParser._applySgr", + "rule": "complexity" + }, + { + "file": "src/modules/ansiSgrParser.ts", + "scopeId": ".AnsiSgrParser._applySgr", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/ansiSgrParser.ts", + "scopeId": ".AnsiSgrParser._parseSgrParams", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/ansiSgrParser.ts", + "scopeId": ".AnsiSgrParser._parseSgrParams", + "rule": "complexity" + }, + { + "file": "src/modules/ansiSgrParser.ts", + "scopeId": ".AnsiSgrParser.process", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/ansiSgrParser.ts", + "scopeId": ".AnsiSgrParser.process", + "rule": "complexity" + }, + { + "file": "src/modules/ansiSgrParser.ts", + "scopeId": ".AnsiSgrParser.process", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/dashboardMutations.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/modules/dashboardWebSocket.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/modules/dashboardWebSocket.ts", + "scopeId": ".createDashboardWebSocketController", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/dashboardWebSocket.ts", + "scopeId": ".createDashboardWebSocketController.connect", + "rule": "complexity" + }, + { + "file": "src/modules/dashboardWebSocket.ts", + "scopeId": ".createDashboardWebSocketController.connect", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/dashboardWebSocket.ts", + "scopeId": ".createDashboardWebSocketController.disconnect", + "rule": "complexity" + }, + { + "file": "src/modules/dashboardWebSocket.ts", + "scopeId": ".createDashboardWebSocketController.scheduleReconnect", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/graphFiltering.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/modules/graphFiltering.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/modules/graphFiltering.ts", + "scopeId": ".computeFilterSetsCore", + "rule": "complexity" + }, + { + "file": "src/modules/graphFiltering.ts", + "scopeId": ".computeFilterSetsCore", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/graphFiltering.ts", + "scopeId": ".pruneGraphOperations", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/graphFiltering.ts", + "scopeId": ".pruneGraphOperations", + "rule": "complexity" + }, + { + "file": "src/modules/graphFiltering.ts", + "scopeId": ".pruneGraphOperations", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/graphFiltering.ts", + "scopeId": ".pruneGraphOperations.resolveDeps", + "rule": "complexity" + }, + { + "file": "src/modules/graphSelection.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/modules/graphSelection.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/modules/graphSelection.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/modules/graphSelection.ts", + "scopeId": ".createGraphSelectionController", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/graphSelection.ts", + "scopeId": ".createGraphSelectionController._beginDragSelection", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/graphSelection.ts", + "scopeId": ".createGraphSelectionController._beginDragSelection", + "rule": "complexity" + }, + { + "file": "src/modules/graphSelection.ts", + "scopeId": ".createGraphSelectionController._expandSelectionConsumers", + "rule": "complexity" + }, + { + "file": "src/modules/graphSelection.ts", + "scopeId": ".createGraphSelectionController._expandSelectionConsumers", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/graphSelection.ts", + "scopeId": ".createGraphSelectionController._expandSelectionDependencies", + "rule": "complexity" + }, + { + "file": "src/modules/graphSelection.ts", + "scopeId": ".createGraphSelectionController._updateDragModifierMode", + "rule": "complexity" + }, + { + "file": "src/modules/graphSelection.ts", + "scopeId": ".createGraphSelectionController._updateMarquee", + "rule": "complexity" + }, + { + "file": "src/modules/graphSelection.ts", + "scopeId": ".createGraphSelectionController._updateMarquee", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/graphSelection.ts", + "scopeId": ".createGraphSelectionController._wireGraphMarqueeSelection", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.buildGraph", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.buildGraph", + "rule": "complexity" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.buildGraph", + "rule": "max-depth" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.buildGraph", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.buildGraph.criticalPathLen", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.buildGraph.criticalPathLen", + "rule": "complexity" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.buildGraph.getReachable", + "rule": "complexity" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.computeGraphOperations", + "rule": "complexity" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.computeLevels", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.computeLevels", + "rule": "complexity" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.computeLevels", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.dimColor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.dimColor", + "rule": "complexity" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.getStatusColors", + "rule": "complexity" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.updateGraph", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.updateGraph", + "rule": "complexity" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.updateGraph", + "rule": "max-depth" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.updateGraph", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/graphView.ts", + "scopeId": ".createGraphViewController.updateGraph.quadratic", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/leftBar.ts", + "scopeId": ".wireLeftBarActions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/leftBar.ts", + "scopeId": ".wireLeftBarActions", + "rule": "complexity" + }, + { + "file": "src/modules/leftBar.ts", + "scopeId": ".wireLeftBarActions", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/mainBar.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/modules/mainBar.ts", + "scopeId": ".isTextEditingTarget", + "rule": "complexity" + }, + { + "file": "src/modules/mainBar.ts", + "scopeId": ".wireMainBarActions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/mainBar.ts", + "scopeId": ".wireMainBarActions", + "rule": "complexity" + }, + { + "file": "src/modules/mainBar.ts", + "scopeId": ".wireMainBarActions", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".createPhaseLegendController", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".createPhaseLegendController.computePhaseSummaries", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".createPhaseLegendController.computePhaseSummaries", + "rule": "complexity" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".createPhaseLegendController.computePhaseSummaries", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".createPhaseLegendController.renderLegend", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".createPhaseLegendController.renderLegend", + "rule": "complexity" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".createPhaseLegendController.renderLegend", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".createPhaseLegendController.renderLegend.makeNodeBox", + "rule": "complexity" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".createPhaseLegendController.renderPhasePane", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".createPhaseLegendController.renderPhasePane", + "rule": "complexity" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".createPhaseLegendController.renderPhasePane", + "rule": "max-depth" + }, + { + "file": "src/modules/phaseLegend.ts", + "scopeId": ".createPhaseLegendController.renderPhasePane", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/selectionBar.ts", + "scopeId": ".createSelectionBarController", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/selectionBar.ts", + "scopeId": ".createSelectionBarController.updateSelectionUI", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/selectionBar.ts", + "scopeId": ".createSelectionBarController.updateSelectionUI", + "rule": "complexity" + }, + { + "file": "src/modules/selectionBar.ts", + "scopeId": ".createSelectionBarController.updateSelectionUI", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/statusHelpers.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/modules/statusHelpers.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/modules/statusHelpers.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/modules/statusHelpers.ts", + "scopeId": ".buildRunPolicyText", + "rule": "complexity" + }, + { + "file": "src/modules/statusHelpers.ts", + "scopeId": ".computeDisplayStatus", + "rule": "complexity" + }, + { + "file": "src/modules/statusHelpers.ts", + "scopeId": ".enabledGlyph", + "rule": "complexity" + }, + { + "file": "src/modules/statusHelpers.ts", + "scopeId": ".getStatusColors", + "rule": "complexity" + }, + { + "file": "src/modules/tableView.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/modules/tableView.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/modules/tableView.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/modules/tableView.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/modules/tableView.ts", + "scopeId": ".createTableViewController", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/tableView.ts", + "scopeId": ".createTableViewController.buildPivotData", + "rule": "complexity" + }, + { + "file": "src/modules/tableView.ts", + "scopeId": ".createTableViewController.handleMultiSelectGroup", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/tableView.ts", + "scopeId": ".createTableViewController.handleMultiSelectGroup", + "rule": "complexity" + }, + { + "file": "src/modules/tableView.ts", + "scopeId": ".createTableViewController.handlePivotCellClick", + "rule": "complexity" + }, + { + "file": "src/modules/tableView.ts", + "scopeId": ".createTableViewController.handlePivotCellClick", + "rule": "max-depth" + }, + { + "file": "src/modules/tableView.ts", + "scopeId": ".createTableViewController.handlePivotCellClick", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/tableView.ts", + "scopeId": ".createTableViewController.renderTable", + "rule": "complexity" + }, + { + "file": "src/modules/tableView.ts", + "scopeId": ".createTableViewController.renderTable", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/terminalPane.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/modules/terminalPane.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/modules/terminalPane.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/modules/terminalPane.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/modules/terminalPane.ts", + "scopeId": "._appendChunk", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/terminalPane.ts", + "scopeId": "._appendChunk", + "rule": "complexity" + }, + { + "file": "src/modules/terminalPane.ts", + "scopeId": "._appendChunk", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/terminalPane.ts", + "scopeId": "._wireResizer", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modules/terminalPane.ts", + "scopeId": "._wireResizer", + "rule": "complexity" + }, + { + "file": "src/modules/terminalPane.ts", + "scopeId": "._wireResizer", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/terminalPane.ts", + "scopeId": "._wireToggle", + "rule": "complexity" + }, + { + "file": "src/modules/terminalPane.ts", + "scopeId": "._wireToggle", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/topBar.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/modules/topBar.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/modules/topBar.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/modules/topBar.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/modules/topBar.ts", + "scopeId": ".computeWsUrl", + "rule": "complexity" + }, + { + "file": "src/modules/topBar.ts", + "scopeId": ".overallStatusText", + "rule": "complexity" + }, + { + "file": "src/modules/topBar.ts", + "scopeId": ".setConnected", + "rule": "complexity" + }, + { + "file": "src/modules/topBar.ts", + "scopeId": ".setConnected", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/topBar.ts", + "scopeId": ".updateManagerState", + "rule": "complexity" + }, + { + "file": "src/modules/topBar.ts", + "scopeId": ".updateManagerState", + "rule": "max-lines-per-function" + }, + { + "file": "src/modules/topBar.ts", + "scopeId": ".updateStatusPill", + "rule": "complexity" + }, + { + "file": "src/modules/urlState.ts", + "scopeId": ".loadDashboardUrlState", + "rule": "complexity" + }, + { + "file": "src/modules/viewBar.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/modules/viewBar.ts", + "scopeId": "._applyViewVisibility", + "rule": "complexity" + }, + { + "file": "src/modules/viewBar.ts", + "scopeId": ".wireViewBar", + "rule": "complexity" + }, + { + "file": "src/modules/viewBar.ts", + "scopeId": ".wireViewBar", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/actionWiring.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/actionWiring.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/actionWiring.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/actionWiring.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/actionWiring.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/actionWiring.test.ts", + "scopeId": ".getRefs", + "rule": "complexity" + }, + { + "file": "src/test/dashboard.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/dashboard.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/dashboard.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/dashboard.test.ts", + "scopeId": ".MockWebSocket", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/dashboardState.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/dashboardState.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/test/dashboardState.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/dashboardState.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/dashboardWebSocket.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/dashboardWebSocket.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/dashboardWebSocket.test.ts", + "scopeId": ".MockWebSocket", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/graphSelection.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/graphSelection.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/graphView.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/graphView.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/test/graphView.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/graphView.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/outputPanels.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/outputPanels.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/test/outputPanels.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/outputPanels.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/outputPanels.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/tableView.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/tableView.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/test/tableView.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/tableView.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/viewBar.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/viewBar.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/viewBar.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/apps/rush-serve-dashboard/eslint.config.js b/apps/rush-serve-dashboard/eslint.config.js index 72fe2a29d25..c585ccc99fb 100644 --- a/apps/rush-serve-dashboard/eslint.config.js +++ b/apps/rush-serve-dashboard/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-web-rig/profiles/app/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-web-rig/profiles/app/includes/eslint/flat/profile/web-app'); module.exports = [ diff --git a/apps/rush/.eslint-bulk-suppressions.json b/apps/rush/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..e1ab922207b --- /dev/null +++ b/apps/rush/.eslint-bulk-suppressions.json @@ -0,0 +1,94 @@ +{ + "suppressions": [ + { + "file": "src/MinimalRushConfiguration.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/MinimalRushConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/RushCommandSelector.ts", + "scopeId": ".RushCommandSelector.execute", + "rule": "complexity" + }, + { + "file": "src/RushCommandSelector.ts", + "scopeId": ".RushCommandSelector.execute", + "rule": "max-lines-per-function" + }, + { + "file": "src/RushCommandSelector.ts", + "scopeId": "._failWithError", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RushCommandSelector.ts", + "scopeId": "._getCommandName", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RushCommandSelector.ts", + "scopeId": "._getCommandName", + "rule": "complexity" + }, + { + "file": "src/RushVersionSelector.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/RushVersionSelector.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/RushVersionSelector.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/RushVersionSelector.ts", + "scopeId": ".RushVersionSelector.ensureRushVersionInstalledAsync", + "rule": "complexity" + }, + { + "file": "src/RushVersionSelector.ts", + "scopeId": ".RushVersionSelector.ensureRushVersionInstalledAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/start-dev.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/start-dev.ts", + "scopeId": ".includePlugin", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/apps/rush/eslint.config.js b/apps/rush/eslint.config.js index ceb5a1bee40..385baceff3b 100644 --- a/apps/rush/eslint.config.js +++ b/apps/rush/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/apps/rush/src/start.ts b/apps/rush/src/start.ts index bf8d5927230..9cb311b75f9 100644 --- a/apps/rush/src/start.ts +++ b/apps/rush/src/start.ts @@ -5,7 +5,8 @@ // we check to see if the Node.js version is too old. If, for whatever reason, Rush crashes with // an old Node.js version when evaluating one of the more complex imports, we'll at least // shown a meaningful error message. -// eslint-disable-next-line import/order +// (The import/order violation for this intentional early import is recorded in +// .eslint-bulk-suppressions.json) import { NodeJsCompatibility } from '@microsoft/rush-lib/lib/logic/NodeJsCompatibility'; if (NodeJsCompatibility.reportAncientIncompatibleVersion()) { diff --git a/apps/trace-import/.eslint-bulk-suppressions.json b/apps/trace-import/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..34c1eb9bdf0 --- /dev/null +++ b/apps/trace-import/.eslint-bulk-suppressions.json @@ -0,0 +1,84 @@ +{ + "suppressions": [ + { + "file": "src/TraceImportCommandLineParser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/TraceImportCommandLineParser.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/TraceImportCommandLineParser.ts", + "scopeId": ".TraceImportCommandLineParser.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/TraceImportCommandLineParser.ts", + "scopeId": ".TraceImportCommandLineParser.onExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/traceImport.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/traceImport.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/traceImport.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/traceImport.ts", + "scopeId": ".logInputField", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/traceImport.ts", + "scopeId": ".logOutputField", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/traceImport.ts", + "scopeId": ".traceImportInner", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/traceImport.ts", + "scopeId": ".traceImportInner", + "rule": "complexity" + }, + { + "file": "src/traceImport.ts", + "scopeId": ".traceImportInner", + "rule": "max-depth" + }, + { + "file": "src/traceImport.ts", + "scopeId": ".traceImportInner", + "rule": "max-lines-per-function" + }, + { + "file": "src/traceImport.ts", + "scopeId": ".traceTypeScriptPackage", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/traceImport.ts", + "scopeId": ".traceTypeScriptPackage", + "rule": "complexity" + }, + { + "file": "src/traceImport.ts", + "scopeId": ".traceTypeScriptPackage", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/apps/trace-import/eslint.config.js b/apps/trace-import/eslint.config.js index ceb5a1bee40..385baceff3b 100644 --- a/apps/trace-import/eslint.config.js +++ b/apps/trace-import/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/apps/zipsync/.eslint-bulk-suppressions.json b/apps/zipsync/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..144e06f7274 --- /dev/null +++ b/apps/zipsync/.eslint-bulk-suppressions.json @@ -0,0 +1,604 @@ +{ + "suppressions": [ + { + "file": "src/cli/ZipSyncCommandLineParser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/ZipSyncCommandLineParser.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/ZipSyncCommandLineParser.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/ZipSyncCommandLineParser.ts", + "scopeId": ".ZipSyncCommandLineParser.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/ZipSyncCommandLineParser.ts", + "scopeId": ".ZipSyncCommandLineParser.onExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/cli/ZipSyncCommandLineParser.ts", + "scopeId": ".ZipSyncCommandLineParser.onExecuteAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/compress.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/compress.ts", + "scopeId": ".createIncrementalZlib", + "rule": "complexity" + }, + { + "file": "src/compress.ts", + "scopeId": ".createIncrementalZlib", + "rule": "max-lines-per-function" + }, + { + "file": "src/compress.ts", + "scopeId": ".createIncrementalZlib.update.processInputChunk", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/compress.ts", + "scopeId": ".createIncrementalZlib.update.processInputChunk", + "rule": "complexity" + }, + { + "file": "src/compress.ts", + "scopeId": ".createIncrementalZlib.update.processInputChunk", + "rule": "max-lines-per-function" + }, + { + "file": "src/crc32.ts", + "scopeId": ".fallbackCrc32", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/crc32.ts", + "scopeId": ".initCrcTable", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/crc32.ts", + "scopeId": ".initCrcTable", + "rule": "complexity" + }, + { + "file": "src/fs.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/fs.ts", + "scopeId": ".rmdirSync", + "rule": "complexity" + }, + { + "file": "src/fs.ts", + "scopeId": ".unlinkSync", + "rule": "complexity" + }, + { + "file": "src/hash.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/hash.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/hash.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/hash.ts", + "scopeId": ".computeFileHash", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/hash.ts", + "scopeId": ".computeFileHash", + "rule": "complexity" + }, + { + "file": "src/pack.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pack.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pack.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/pack.ts", + "scopeId": ".pack", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pack.ts", + "scopeId": ".pack", + "rule": "complexity" + }, + { + "file": "src/pack.ts", + "scopeId": ".pack", + "rule": "max-lines-per-function" + }, + { + "file": "src/pack.ts", + "scopeId": ".pack.writeChunkToZip", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pack.ts", + "scopeId": ".pack.writeChunkToZip", + "rule": "complexity" + }, + { + "file": "src/pack.ts", + "scopeId": ".pack.writeFileEntry", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pack.ts", + "scopeId": ".pack.writeFileEntry", + "rule": "complexity" + }, + { + "file": "src/pack.ts", + "scopeId": ".pack.writeFileEntry", + "rule": "max-lines-per-function" + }, + { + "file": "src/pack.ts", + "scopeId": ".pack.writeFileEntry.readInputInChunks", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/packWorker.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/packWorker.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/packWorker.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/packWorker.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/packWorker.ts", + "scopeId": ".handleMessage", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/packWorker.ts", + "scopeId": ".handleMessage", + "rule": "complexity" + }, + { + "file": "src/packWorker.ts", + "scopeId": ".handleMessage", + "rule": "max-lines-per-function" + }, + { + "file": "src/packWorkerAsync.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/packWorkerAsync.ts", + "scopeId": ".packWorkerAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/packWorkerAsync.ts", + "scopeId": ".packWorkerAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/perf.ts", + "scopeId": ".emitSummary", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/perf.ts", + "scopeId": ".emitSummary", + "rule": "complexity" + }, + { + "file": "src/perf.ts", + "scopeId": ".formatDuration", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/perf.ts", + "scopeId": ".getDuration", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".bench", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".bench", + "rule": "complexity" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".bench", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".bench.verifyUnpack", + "rule": "complexity" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".bench.verifyUnpack", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".bench.verifyUnpack.buildMap.walk", + "rule": "complexity" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".benchZipSyncScenario", + "rule": "complexity" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".benchZipSyncScenario", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".buildGroupTable", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".buildGroupTable", + "rule": "complexity" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".buildGroupTable", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".buildGroupTable.formatBytes", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".buildGroupTable.formatBytes", + "rule": "complexity" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".detectIterations", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".detectIterations", + "rule": "complexity" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".isZipAvailable", + "rule": "complexity" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".percentile", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/benchmark.test.ts", + "scopeId": ".setupDemoDataAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/crc32.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/index.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/index.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/index.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/testUtils.ts", + "scopeId": ".getDemoDataDirectoryDisposable", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/workerAsync.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/workerAsync.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/unpack.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/unpack.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/unpack.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/unpack.ts", + "scopeId": ".unpack", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/unpack.ts", + "scopeId": ".unpack", + "rule": "complexity" + }, + { + "file": "src/unpack.ts", + "scopeId": ".unpack", + "rule": "max-depth" + }, + { + "file": "src/unpack.ts", + "scopeId": ".unpack", + "rule": "max-lines-per-function" + }, + { + "file": "src/unpack.ts", + "scopeId": ".unpack.extractFileFromZip", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/unpack.ts", + "scopeId": ".unpack.extractFileFromZip", + "rule": "complexity" + }, + { + "file": "src/unpack.ts", + "scopeId": ".unpack.extractFileFromZip", + "rule": "max-lines-per-function" + }, + { + "file": "src/unpack.ts", + "scopeId": ".unpack.shouldExtract", + "rule": "complexity" + }, + { + "file": "src/unpack.ts", + "scopeId": ".unpack.shouldExtract", + "rule": "max-depth" + }, + { + "file": "src/unpackWorker.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/unpackWorker.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/unpackWorker.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/unpackWorker.ts", + "scopeId": ".handleMessage", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/unpackWorker.ts", + "scopeId": ".handleMessage", + "rule": "complexity" + }, + { + "file": "src/unpackWorker.ts", + "scopeId": ".handleMessage", + "rule": "max-lines-per-function" + }, + { + "file": "src/unpackWorkerAsync.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/unpackWorkerAsync.ts", + "scopeId": ".unpackWorkerAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/unpackWorkerAsync.ts", + "scopeId": ".unpackWorkerAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/zipSyncUtils.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".dosDateTime", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".findEndOfCentralDirectory", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".getFileFromZip", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".parseCentralDirectoryHeader", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".parseCentralDirectoryHeader", + "rule": "max-lines-per-function" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".parseCentralDirectoryHeader.header", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".parseLocalFileHeader", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".parseLocalFileHeader.header", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".writeCentralDirectoryHeader", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".writeCentralDirectoryHeader", + "rule": "max-lines-per-function" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".writeDataDescriptor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".writeEndOfCentralDirectory", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".writeLocalFileHeader", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/zipUtils.ts", + "scopeId": ".writeLocalFileHeader", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/apps/zipsync/eslint.config.js b/apps/zipsync/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/apps/zipsync/eslint.config.js +++ b/apps/zipsync/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/build-tests-samples/heft-node-basic-tutorial/eslint.config.js b/build-tests-samples/heft-node-basic-tutorial/eslint.config.js index 3d80b5cc649..ee83aba5703 100644 --- a/build-tests-samples/heft-node-basic-tutorial/eslint.config.js +++ b/build-tests-samples/heft-node-basic-tutorial/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-eslint-config/flat/profile/node'); module.exports = [ diff --git a/build-tests-samples/heft-node-jest-tutorial/.eslint-bulk-suppressions.json b/build-tests-samples/heft-node-jest-tutorial/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..31abcf7564d --- /dev/null +++ b/build-tests-samples/heft-node-jest-tutorial/.eslint-bulk-suppressions.json @@ -0,0 +1,19 @@ +{ + "suppressions": [ + { + "file": "src/guide/01-automatic-mock.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/guide/02-manual-mock/SoundPlayerConsumer.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/guide/03-factory-constructor-mock.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/build-tests-samples/heft-node-jest-tutorial/eslint.config.js b/build-tests-samples/heft-node-jest-tutorial/eslint.config.js index 3d80b5cc649..ee83aba5703 100644 --- a/build-tests-samples/heft-node-jest-tutorial/eslint.config.js +++ b/build-tests-samples/heft-node-jest-tutorial/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-eslint-config/flat/profile/node'); module.exports = [ diff --git a/build-tests-samples/heft-node-rig-tutorial/eslint.config.js b/build-tests-samples/heft-node-rig-tutorial/eslint.config.js index 3d80b5cc649..ee83aba5703 100644 --- a/build-tests-samples/heft-node-rig-tutorial/eslint.config.js +++ b/build-tests-samples/heft-node-rig-tutorial/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-eslint-config/flat/profile/node'); module.exports = [ diff --git a/build-tests-samples/heft-serverless-stack-tutorial/eslint.config.js b/build-tests-samples/heft-serverless-stack-tutorial/eslint.config.js index 3d80b5cc649..ee83aba5703 100644 --- a/build-tests-samples/heft-serverless-stack-tutorial/eslint.config.js +++ b/build-tests-samples/heft-serverless-stack-tutorial/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-eslint-config/flat/profile/node'); module.exports = [ diff --git a/build-tests-samples/heft-storybook-v6-react-tutorial-storykit/eslint.config.js b/build-tests-samples/heft-storybook-v6-react-tutorial-storykit/eslint.config.js index 03f094b356b..27b39e3d6e2 100644 --- a/build-tests-samples/heft-storybook-v6-react-tutorial-storykit/eslint.config.js +++ b/build-tests-samples/heft-storybook-v6-react-tutorial-storykit/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-web-rig/profiles/library/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-web-rig/profiles/library/includes/eslint/flat/profile/web-app'); const friendlyLocalsMixin = require('local-web-rig/profiles/library/includes/eslint/flat/mixins/friendly-locals'); diff --git a/build-tests-samples/heft-storybook-v6-react-tutorial/.eslint-bulk-suppressions.json b/build-tests-samples/heft-storybook-v6-react-tutorial/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..010f2c98f93 --- /dev/null +++ b/build-tests-samples/heft-storybook-v6-react-tutorial/.eslint-bulk-suppressions.json @@ -0,0 +1,29 @@ +{ + "suppressions": [ + { + "file": "src/ExampleApp.tsx", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/ToggleSwitch.stories.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/ToggleSwitch.stories.tsx", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/ToggleSwitch.tsx", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ToggleSwitch.tsx", + "scopeId": ".ToggleSwitch.render", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/build-tests-samples/heft-storybook-v6-react-tutorial/eslint.config.js b/build-tests-samples/heft-storybook-v6-react-tutorial/eslint.config.js index e5eaf3c624a..b1413ebab75 100644 --- a/build-tests-samples/heft-storybook-v6-react-tutorial/eslint.config.js +++ b/build-tests-samples/heft-storybook-v6-react-tutorial/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-eslint-config/flat/profile/web-app'); const reactMixin = require('local-eslint-config/flat/mixins/react'); diff --git a/build-tests-samples/heft-storybook-v9-react-tutorial-storykit/eslint.config.js b/build-tests-samples/heft-storybook-v9-react-tutorial-storykit/eslint.config.js index 03f094b356b..27b39e3d6e2 100644 --- a/build-tests-samples/heft-storybook-v9-react-tutorial-storykit/eslint.config.js +++ b/build-tests-samples/heft-storybook-v9-react-tutorial-storykit/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-web-rig/profiles/library/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-web-rig/profiles/library/includes/eslint/flat/profile/web-app'); const friendlyLocalsMixin = require('local-web-rig/profiles/library/includes/eslint/flat/mixins/friendly-locals'); diff --git a/build-tests-samples/heft-storybook-v9-react-tutorial/.eslint-bulk-suppressions.json b/build-tests-samples/heft-storybook-v9-react-tutorial/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..e9e9f5be9c1 --- /dev/null +++ b/build-tests-samples/heft-storybook-v9-react-tutorial/.eslint-bulk-suppressions.json @@ -0,0 +1,19 @@ +{ + "suppressions": [ + { + "file": "src/ExampleApp.tsx", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/ToggleSwitch.tsx", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ToggleSwitch.tsx", + "scopeId": ".ToggleSwitch.render", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/build-tests-samples/heft-storybook-v9-react-tutorial/eslint.config.js b/build-tests-samples/heft-storybook-v9-react-tutorial/eslint.config.js index e5eaf3c624a..b1413ebab75 100644 --- a/build-tests-samples/heft-storybook-v9-react-tutorial/eslint.config.js +++ b/build-tests-samples/heft-storybook-v9-react-tutorial/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-eslint-config/flat/profile/web-app'); const reactMixin = require('local-eslint-config/flat/mixins/react'); diff --git a/build-tests-samples/heft-web-rig-app-tutorial/.eslint-bulk-suppressions.json b/build-tests-samples/heft-web-rig-app-tutorial/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..0faf807e97a --- /dev/null +++ b/build-tests-samples/heft-web-rig-app-tutorial/.eslint-bulk-suppressions.json @@ -0,0 +1,14 @@ +{ + "suppressions": [ + { + "file": "src/ExampleApp.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/ExampleApp.tsx", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/build-tests-samples/heft-web-rig-app-tutorial/eslint.config.js b/build-tests-samples/heft-web-rig-app-tutorial/eslint.config.js index e5eaf3c624a..b1413ebab75 100644 --- a/build-tests-samples/heft-web-rig-app-tutorial/eslint.config.js +++ b/build-tests-samples/heft-web-rig-app-tutorial/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-eslint-config/flat/profile/web-app'); const reactMixin = require('local-eslint-config/flat/mixins/react'); diff --git a/build-tests-samples/heft-web-rig-library-tutorial/.eslint-bulk-suppressions.json b/build-tests-samples/heft-web-rig-library-tutorial/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..89fd0da3fa0 --- /dev/null +++ b/build-tests-samples/heft-web-rig-library-tutorial/.eslint-bulk-suppressions.json @@ -0,0 +1,14 @@ +{ + "suppressions": [ + { + "file": "src/ToggleSwitch.tsx", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ToggleSwitch.tsx", + "scopeId": ".ToggleSwitch.render", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/build-tests-samples/heft-web-rig-library-tutorial/eslint.config.js b/build-tests-samples/heft-web-rig-library-tutorial/eslint.config.js index e5eaf3c624a..b1413ebab75 100644 --- a/build-tests-samples/heft-web-rig-library-tutorial/eslint.config.js +++ b/build-tests-samples/heft-web-rig-library-tutorial/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-eslint-config/flat/profile/web-app'); const reactMixin = require('local-eslint-config/flat/mixins/react'); diff --git a/build-tests-samples/heft-webpack-basic-tutorial/.eslint-bulk-suppressions.json b/build-tests-samples/heft-webpack-basic-tutorial/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..e9e9f5be9c1 --- /dev/null +++ b/build-tests-samples/heft-webpack-basic-tutorial/.eslint-bulk-suppressions.json @@ -0,0 +1,19 @@ +{ + "suppressions": [ + { + "file": "src/ExampleApp.tsx", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/ToggleSwitch.tsx", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ToggleSwitch.tsx", + "scopeId": ".ToggleSwitch.render", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/build-tests-samples/heft-webpack-basic-tutorial/eslint.config.js b/build-tests-samples/heft-webpack-basic-tutorial/eslint.config.js index e5eaf3c624a..b1413ebab75 100644 --- a/build-tests-samples/heft-webpack-basic-tutorial/eslint.config.js +++ b/build-tests-samples/heft-webpack-basic-tutorial/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-eslint-config/flat/profile/web-app'); const reactMixin = require('local-eslint-config/flat/mixins/react'); diff --git a/build-tests-subspace/rush-lib-test/eslint.config.js b/build-tests-subspace/rush-lib-test/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/build-tests-subspace/rush-lib-test/eslint.config.js +++ b/build-tests-subspace/rush-lib-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/build-tests-subspace/rush-sdk-test/eslint.config.js b/build-tests-subspace/rush-sdk-test/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/build-tests-subspace/rush-sdk-test/eslint.config.js +++ b/build-tests-subspace/rush-sdk-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/build-tests-subspace/typescript-newest-test/eslint.config.js b/build-tests-subspace/typescript-newest-test/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/build-tests-subspace/typescript-newest-test/eslint.config.js +++ b/build-tests-subspace/typescript-newest-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/build-tests/api-documenter-scenarios/.eslint-bulk-suppressions.json b/build-tests/api-documenter-scenarios/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..268b0e11d6c --- /dev/null +++ b/build-tests/api-documenter-scenarios/.eslint-bulk-suppressions.json @@ -0,0 +1,19 @@ +{ + "suppressions": [ + { + "file": "src/inheritedMembers/index.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/runScenarios.ts", + "scopeId": ".runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/runScenarios.ts", + "scopeId": ".runAsync.afterApiExtractorAsync", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/build-tests/api-documenter-scenarios/eslint.config.js b/build-tests/api-documenter-scenarios/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/build-tests/api-documenter-scenarios/eslint.config.js +++ b/build-tests/api-documenter-scenarios/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/build-tests/api-documenter-test/.eslint-bulk-suppressions.json b/build-tests/api-documenter-test/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..3f15a4aea6a --- /dev/null +++ b/build-tests/api-documenter-test/.eslint-bulk-suppressions.json @@ -0,0 +1,24 @@ +{ + "suppressions": [ + { + "file": "src/DocClass1.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/DocEnums.ts", + "scopeId": ".DocEnum", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/snapshot.test.ts", + "scopeId": ".runApiDocumenterAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/snapshot.test.ts", + "scopeId": ".runApiDocumenterAsync", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/build-tests/api-documenter-test/eslint.config.js b/build-tests/api-documenter-test/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/build-tests/api-documenter-test/eslint.config.js +++ b/build-tests/api-documenter-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/build-tests/eslint-9-test/.eslint-bulk-suppressions.json b/build-tests/eslint-9-test/.eslint-bulk-suppressions.json index 961e6033858..f1072a390a7 100644 --- a/build-tests/eslint-9-test/.eslint-bulk-suppressions.json +++ b/build-tests/eslint-9-test/.eslint-bulk-suppressions.json @@ -6,4 +6,4 @@ "rule": "@typescript-eslint/naming-convention" } ] -} +} \ No newline at end of file diff --git a/build-tests/eslint-bulk-suppressions-test-flat/client/.eslint-bulk-suppressions-9.37.0.json b/build-tests/eslint-bulk-suppressions-test-flat/client/.eslint-bulk-suppressions-9.37.0.json index 070dbc8562a..91d328cc92e 100644 --- a/build-tests/eslint-bulk-suppressions-test-flat/client/.eslint-bulk-suppressions-9.37.0.json +++ b/build-tests/eslint-bulk-suppressions-test-flat/client/.eslint-bulk-suppressions-9.37.0.json @@ -1,5 +1,10 @@ { "suppressions": [ + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, { "file": "src/index.ts", "scopeId": ".", @@ -146,4 +151,4 @@ "rule": "@typescript-eslint/explicit-function-return-type" } ] -} +} \ No newline at end of file diff --git a/build-tests/eslint-bulk-suppressions-test-flat/client/.eslint-bulk-suppressions.json b/build-tests/eslint-bulk-suppressions-test-flat/client/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..be55be27ddc --- /dev/null +++ b/build-tests/eslint-bulk-suppressions-test-flat/client/.eslint-bulk-suppressions.json @@ -0,0 +1,9 @@ +{ + "suppressions": [ + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/build-tests/esm-node-import-test/.eslint-bulk-suppressions.json b/build-tests/esm-node-import-test/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..234c6b99060 --- /dev/null +++ b/build-tests/esm-node-import-test/.eslint-bulk-suppressions.json @@ -0,0 +1,9 @@ +{ + "suppressions": [ + { + "file": "src/test/start.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/build-tests/esm-node-import-test/eslint.config.cjs b/build-tests/esm-node-import-test/eslint.config.cjs index 87132f43292..0f47d7e24bf 100644 --- a/build-tests/esm-node-import-test/eslint.config.cjs +++ b/build-tests/esm-node-import-test/eslint.config.cjs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/build-tests/heft-example-lifecycle-plugin/.eslint-bulk-suppressions.json b/build-tests/heft-example-lifecycle-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..b2b314a94ba --- /dev/null +++ b/build-tests/heft-example-lifecycle-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,19 @@ +{ + "suppressions": [ + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/index.ts", + "scopeId": ".ExampleLifecyclePlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/index.ts", + "scopeId": ".ExampleLifecyclePlugin.apply", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/build-tests/heft-example-lifecycle-plugin/eslint.config.js b/build-tests/heft-example-lifecycle-plugin/eslint.config.js index a05a76dc048..d6cddbb4c30 100644 --- a/build-tests/heft-example-lifecycle-plugin/eslint.config.js +++ b/build-tests/heft-example-lifecycle-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-eslint-config/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-eslint-config/flat/mixins/friendly-locals'); diff --git a/build-tests/heft-example-plugin-01/.eslint-bulk-suppressions.json b/build-tests/heft-example-plugin-01/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..087584825d0 --- /dev/null +++ b/build-tests/heft-example-plugin-01/.eslint-bulk-suppressions.json @@ -0,0 +1,9 @@ +{ + "suppressions": [ + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/build-tests/heft-example-plugin-01/eslint.config.js b/build-tests/heft-example-plugin-01/eslint.config.js index a05a76dc048..d6cddbb4c30 100644 --- a/build-tests/heft-example-plugin-01/eslint.config.js +++ b/build-tests/heft-example-plugin-01/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-eslint-config/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-eslint-config/flat/mixins/friendly-locals'); diff --git a/build-tests/heft-example-plugin-02/.eslint-bulk-suppressions.json b/build-tests/heft-example-plugin-02/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..087584825d0 --- /dev/null +++ b/build-tests/heft-example-plugin-02/.eslint-bulk-suppressions.json @@ -0,0 +1,9 @@ +{ + "suppressions": [ + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/build-tests/heft-example-plugin-02/eslint.config.js b/build-tests/heft-example-plugin-02/eslint.config.js index a05a76dc048..d6cddbb4c30 100644 --- a/build-tests/heft-example-plugin-02/eslint.config.js +++ b/build-tests/heft-example-plugin-02/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-eslint-config/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-eslint-config/flat/mixins/friendly-locals'); diff --git a/build-tests/heft-fastify-test/.eslint-bulk-suppressions.json b/build-tests/heft-fastify-test/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..9a11aeb0806 --- /dev/null +++ b/build-tests/heft-fastify-test/.eslint-bulk-suppressions.json @@ -0,0 +1,14 @@ +{ + "suppressions": [ + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/start.ts", + "scopeId": ".MyApp._startAsync", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/build-tests/heft-fastify-test/eslint.config.js b/build-tests/heft-fastify-test/eslint.config.js index 3d80b5cc649..ee83aba5703 100644 --- a/build-tests/heft-fastify-test/eslint.config.js +++ b/build-tests/heft-fastify-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-eslint-config/flat/profile/node'); module.exports = [ diff --git a/build-tests/heft-jest-preset-test/eslint.config.js b/build-tests/heft-jest-preset-test/eslint.config.js index 3d80b5cc649..ee83aba5703 100644 --- a/build-tests/heft-jest-preset-test/eslint.config.js +++ b/build-tests/heft-jest-preset-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-eslint-config/flat/profile/node'); module.exports = [ diff --git a/build-tests/heft-jest-reporters-test/.eslint-bulk-suppressions.json b/build-tests/heft-jest-reporters-test/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..2f7fd053738 --- /dev/null +++ b/build-tests/heft-jest-reporters-test/.eslint-bulk-suppressions.json @@ -0,0 +1,9 @@ +{ + "suppressions": [ + { + "file": "src/test/customJestReporter.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/build-tests/heft-jest-reporters-test/eslint.config.js b/build-tests/heft-jest-reporters-test/eslint.config.js index 3d80b5cc649..ee83aba5703 100644 --- a/build-tests/heft-jest-reporters-test/eslint.config.js +++ b/build-tests/heft-jest-reporters-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-eslint-config/flat/profile/node'); module.exports = [ diff --git a/build-tests/heft-json-schema-typings-plugin-test/.eslint-bulk-suppressions.json b/build-tests/heft-json-schema-typings-plugin-test/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..884c0298ad3 --- /dev/null +++ b/build-tests/heft-json-schema-typings-plugin-test/.eslint-bulk-suppressions.json @@ -0,0 +1,14 @@ +{ + "suppressions": [ + { + "file": "src/test/JsonSchemaTypingsGenerator.test.ts", + "scopeId": ".getFolderItemsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/JsonSchemaTypingsGenerator.test.ts", + "scopeId": ".getFolderItemsAsync", + "rule": "complexity" + } + ] +} \ No newline at end of file diff --git a/build-tests/heft-json-schema-typings-plugin-test/eslint.config.js b/build-tests/heft-json-schema-typings-plugin-test/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/build-tests/heft-json-schema-typings-plugin-test/eslint.config.js +++ b/build-tests/heft-json-schema-typings-plugin-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/build-tests/heft-node-everything-esm-module-test/eslint.config.cjs b/build-tests/heft-node-everything-esm-module-test/eslint.config.cjs index 3d80b5cc649..ee83aba5703 100644 --- a/build-tests/heft-node-everything-esm-module-test/eslint.config.cjs +++ b/build-tests/heft-node-everything-esm-module-test/eslint.config.cjs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-eslint-config/flat/profile/node'); module.exports = [ diff --git a/build-tests/heft-node-everything-test/eslint.config.js b/build-tests/heft-node-everything-test/eslint.config.js index 3d80b5cc649..ee83aba5703 100644 --- a/build-tests/heft-node-everything-test/eslint.config.js +++ b/build-tests/heft-node-everything-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-eslint-config/flat/profile/node'); module.exports = [ diff --git a/build-tests/heft-parameter-plugin/.eslint-bulk-suppressions.json b/build-tests/heft-parameter-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..e3776a44ca5 --- /dev/null +++ b/build-tests/heft-parameter-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,24 @@ +{ + "suppressions": [ + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/index.ts", + "scopeId": ".HeftParameterPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/index.ts", + "scopeId": ".HeftParameterPlugin.apply", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/build-tests/heft-parameter-plugin/eslint.config.js b/build-tests/heft-parameter-plugin/eslint.config.js index a05a76dc048..d6cddbb4c30 100644 --- a/build-tests/heft-parameter-plugin/eslint.config.js +++ b/build-tests/heft-parameter-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-eslint-config/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-eslint-config/flat/mixins/friendly-locals'); diff --git a/build-tests/heft-rspack-everything-test/.eslint-bulk-suppressions.json b/build-tests/heft-rspack-everything-test/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..206c43c7ec4 --- /dev/null +++ b/build-tests/heft-rspack-everything-test/.eslint-bulk-suppressions.json @@ -0,0 +1,19 @@ +{ + "suppressions": [ + { + "file": "src/test/SourceMapTest.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/SourceMapTest.test.ts", + "scopeId": ".mapValueCheck", + "rule": "complexity" + }, + { + "file": "src/test/SourceMapTest.test.ts", + "scopeId": ".mapValueCheck", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/build-tests/heft-rspack-everything-test/eslint.config.js b/build-tests/heft-rspack-everything-test/eslint.config.js index 5a9df48909b..523b09001c0 100644 --- a/build-tests/heft-rspack-everything-test/eslint.config.js +++ b/build-tests/heft-rspack-everything-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-eslint-config/flat/profile/web-app'); module.exports = [ diff --git a/build-tests/heft-sass-test/.eslint-bulk-suppressions.json b/build-tests/heft-sass-test/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..39d2e584509 --- /dev/null +++ b/build-tests/heft-sass-test/.eslint-bulk-suppressions.json @@ -0,0 +1,34 @@ +{ + "suppressions": [ + { + "file": "src/ExampleApp.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/test/lib-commonjs.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/lib-css.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/lib.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/sass-ts.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/validateSnapshots.ts", + "scopeId": ".getScssFiles", + "rule": "complexity" + } + ] +} \ No newline at end of file diff --git a/build-tests/heft-sass-test/eslint.config.js b/build-tests/heft-sass-test/eslint.config.js index e5eaf3c624a..b1413ebab75 100644 --- a/build-tests/heft-sass-test/eslint.config.js +++ b/build-tests/heft-sass-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-eslint-config/flat/profile/web-app'); const reactMixin = require('local-eslint-config/flat/mixins/react'); diff --git a/build-tests/heft-swc-test/eslint.config.js b/build-tests/heft-swc-test/eslint.config.js index 5a9df48909b..523b09001c0 100644 --- a/build-tests/heft-swc-test/eslint.config.js +++ b/build-tests/heft-swc-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-eslint-config/flat/profile/web-app'); module.exports = [ diff --git a/build-tests/heft-typescript-composite-test/eslint.config.js b/build-tests/heft-typescript-composite-test/eslint.config.js index 0b09ea9f25b..0d9f1f0581c 100644 --- a/build-tests/heft-typescript-composite-test/eslint.config.js +++ b/build-tests/heft-typescript-composite-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-eslint-config/flat/profile/web-app'); module.exports = [ diff --git a/build-tests/heft-web-rig-library-test/eslint.config.js b/build-tests/heft-web-rig-library-test/eslint.config.js index 2c2f8d27066..f79571768b4 100644 --- a/build-tests/heft-web-rig-library-test/eslint.config.js +++ b/build-tests/heft-web-rig-library-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('@rushstack/heft-web-rig/profiles/library/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('@rushstack/heft-web-rig/profiles/library/includes/eslint/flat/profile/web-app'); module.exports = [ diff --git a/build-tests/heft-webpack4-everything-test/.eslint-bulk-suppressions.json b/build-tests/heft-webpack4-everything-test/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..206c43c7ec4 --- /dev/null +++ b/build-tests/heft-webpack4-everything-test/.eslint-bulk-suppressions.json @@ -0,0 +1,19 @@ +{ + "suppressions": [ + { + "file": "src/test/SourceMapTest.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/SourceMapTest.test.ts", + "scopeId": ".mapValueCheck", + "rule": "complexity" + }, + { + "file": "src/test/SourceMapTest.test.ts", + "scopeId": ".mapValueCheck", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/build-tests/heft-webpack4-everything-test/eslint.config.js b/build-tests/heft-webpack4-everything-test/eslint.config.js index 5a9df48909b..523b09001c0 100644 --- a/build-tests/heft-webpack4-everything-test/eslint.config.js +++ b/build-tests/heft-webpack4-everything-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-eslint-config/flat/profile/web-app'); module.exports = [ diff --git a/build-tests/heft-webpack5-everything-test/.eslint-bulk-suppressions.json b/build-tests/heft-webpack5-everything-test/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..206c43c7ec4 --- /dev/null +++ b/build-tests/heft-webpack5-everything-test/.eslint-bulk-suppressions.json @@ -0,0 +1,19 @@ +{ + "suppressions": [ + { + "file": "src/test/SourceMapTest.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/SourceMapTest.test.ts", + "scopeId": ".mapValueCheck", + "rule": "complexity" + }, + { + "file": "src/test/SourceMapTest.test.ts", + "scopeId": ".mapValueCheck", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/build-tests/heft-webpack5-everything-test/eslint.config.js b/build-tests/heft-webpack5-everything-test/eslint.config.js index 5a9df48909b..523b09001c0 100644 --- a/build-tests/heft-webpack5-everything-test/eslint.config.js +++ b/build-tests/heft-webpack5-everything-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-eslint-config/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-eslint-config/flat/profile/web-app'); module.exports = [ diff --git a/build-tests/localization-plugin-test-01/eslint.config.js b/build-tests/localization-plugin-test-01/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/build-tests/localization-plugin-test-01/eslint.config.js +++ b/build-tests/localization-plugin-test-01/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/build-tests/localization-plugin-test-02/eslint.config.js b/build-tests/localization-plugin-test-02/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/build-tests/localization-plugin-test-02/eslint.config.js +++ b/build-tests/localization-plugin-test-02/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/build-tests/localization-plugin-test-03/eslint.config.js b/build-tests/localization-plugin-test-03/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/build-tests/localization-plugin-test-03/eslint.config.js +++ b/build-tests/localization-plugin-test-03/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/build-tests/run-scenarios-helpers/.eslint-bulk-suppressions.json b/build-tests/run-scenarios-helpers/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..bf1958241d2 --- /dev/null +++ b/build-tests/run-scenarios-helpers/.eslint-bulk-suppressions.json @@ -0,0 +1,39 @@ +{ + "suppressions": [ + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/index.ts", + "scopeId": ".runScenariosAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/index.ts", + "scopeId": ".runScenariosAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/index.ts", + "scopeId": ".runScenariosAsync", + "rule": "complexity" + }, + { + "file": "src/index.ts", + "scopeId": ".runScenariosAsync", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/build-tests/run-scenarios-helpers/eslint.config.js b/build-tests/run-scenarios-helpers/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/build-tests/run-scenarios-helpers/eslint.config.js +++ b/build-tests/run-scenarios-helpers/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/build-tests/rush-amazon-s3-build-cache-plugin-integration-test/.eslint-bulk-suppressions.json b/build-tests/rush-amazon-s3-build-cache-plugin-integration-test/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..a1e3b17d2a2 --- /dev/null +++ b/build-tests/rush-amazon-s3-build-cache-plugin-integration-test/.eslint-bulk-suppressions.json @@ -0,0 +1,29 @@ +{ + "suppressions": [ + { + "file": "src/readObject.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/readObject.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/readObject.ts", + "scopeId": ".main", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/startProxyServer.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/startProxyServer.ts", + "scopeId": ".", + "rule": "complexity" + } + ] +} \ No newline at end of file diff --git a/build-tests/rush-amazon-s3-build-cache-plugin-integration-test/eslint.config.js b/build-tests/rush-amazon-s3-build-cache-plugin-integration-test/eslint.config.js index 95db6d06e12..06f778455c5 100644 --- a/build-tests/rush-amazon-s3-build-cache-plugin-integration-test/eslint.config.js +++ b/build-tests/rush-amazon-s3-build-cache-plugin-integration-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); module.exports = [ diff --git a/build-tests/rush-lib-declaration-paths-test/.eslint-bulk-suppressions.json b/build-tests/rush-lib-declaration-paths-test/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..5406a2cf2e9 --- /dev/null +++ b/build-tests/rush-lib-declaration-paths-test/.eslint-bulk-suppressions.json @@ -0,0 +1,9 @@ +{ + "suppressions": [ + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "max-lines" + } + ] +} \ No newline at end of file diff --git a/build-tests/rush-lib-declaration-paths-test/eslint.config.js b/build-tests/rush-lib-declaration-paths-test/eslint.config.js index 096c66fb598..18e5583f465 100644 --- a/build-tests/rush-lib-declaration-paths-test/eslint.config.js +++ b/build-tests/rush-lib-declaration-paths-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/build-tests/rush-package-manager-integration-test/.eslint-bulk-suppressions.json b/build-tests/rush-package-manager-integration-test/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..30965bcbac7 --- /dev/null +++ b/build-tests/rush-package-manager-integration-test/.eslint-bulk-suppressions.json @@ -0,0 +1,69 @@ +{ + "suppressions": [ + { + "file": "src/TestHelper.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/TestHelper.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/TestHelper.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/TestHelper.ts", + "scopeId": ".TestHelper.createTestProjectAsync", + "rule": "max-params" + }, + { + "file": "src/TestHelper.ts", + "scopeId": ".TestHelper.createTestRepoAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/TestHelper.ts", + "scopeId": ".TestHelper.verifyDependenciesAsync", + "rule": "complexity" + }, + { + "file": "src/runTests.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/runTests.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/runTests.ts", + "scopeId": ".runTestsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/runTests.ts", + "scopeId": ".runTestsAsync", + "rule": "complexity" + }, + { + "file": "src/runTests.ts", + "scopeId": ".runTestsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/testNpmMode.ts", + "scopeId": ".testNpmModeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/testYarnMode.ts", + "scopeId": ".testYarnModeAsync", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/build-tests/rush-package-manager-integration-test/eslint.config.js b/build-tests/rush-package-manager-integration-test/eslint.config.js index 95db6d06e12..06f778455c5 100644 --- a/build-tests/rush-package-manager-integration-test/eslint.config.js +++ b/build-tests/rush-package-manager-integration-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); module.exports = [ diff --git a/build-tests/rush-package-manager-integration-test/package.json b/build-tests/rush-package-manager-integration-test/package.json index a812e495c73..7adc35fe3d3 100644 --- a/build-tests/rush-package-manager-integration-test/package.json +++ b/build-tests/rush-package-manager-integration-test/package.json @@ -15,6 +15,7 @@ "@rushstack/heft": "workspace:*", "@rushstack/node-core-library": "workspace:*", "@rushstack/terminal": "workspace:*", + "eslint": "~9.37.0", "local-node-rig": "workspace:*" }, "exports": { diff --git a/build-tests/rush-project-change-analyzer-test/.eslint-bulk-suppressions.json b/build-tests/rush-project-change-analyzer-test/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..345e9dedf7e --- /dev/null +++ b/build-tests/rush-project-change-analyzer-test/.eslint-bulk-suppressions.json @@ -0,0 +1,19 @@ +{ + "suppressions": [ + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/start.ts", + "scopeId": ".runAsync", + "rule": "complexity" + }, + { + "file": "src/start.ts", + "scopeId": ".runAsync", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/build-tests/rush-project-change-analyzer-test/eslint.config.js b/build-tests/rush-project-change-analyzer-test/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/build-tests/rush-project-change-analyzer-test/eslint.config.js +++ b/build-tests/rush-project-change-analyzer-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/build-tests/rush-redis-cobuild-plugin-integration-test/.eslint-bulk-suppressions.json b/build-tests/rush-redis-cobuild-plugin-integration-test/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..c52062f8188 --- /dev/null +++ b/build-tests/rush-redis-cobuild-plugin-integration-test/.eslint-bulk-suppressions.json @@ -0,0 +1,24 @@ +{ + "suppressions": [ + { + "file": "src/runRush.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/runRush.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/testLockProvider.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/testLockProvider.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/build-tests/rush-redis-cobuild-plugin-integration-test/eslint.config.js b/build-tests/rush-redis-cobuild-plugin-integration-test/eslint.config.js index 95db6d06e12..06f778455c5 100644 --- a/build-tests/rush-redis-cobuild-plugin-integration-test/eslint.config.js +++ b/build-tests/rush-redis-cobuild-plugin-integration-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); module.exports = [ diff --git a/build-tests/rushd-wire-e2e-test/eslint.config.js b/build-tests/rushd-wire-e2e-test/eslint.config.js index b08a47af297..23a110b39cb 100644 --- a/build-tests/rushd-wire-e2e-test/eslint.config.js +++ b/build-tests/rushd-wire-e2e-test/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/common/changes/@microsoft/api-documenter/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@microsoft/api-documenter/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..1a05c8f807d --- /dev/null +++ b/common/changes/@microsoft/api-documenter/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/api-documenter", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@microsoft/api-documenter" +} diff --git a/common/changes/@microsoft/api-extractor-model/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@microsoft/api-extractor-model/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..0a00a58854d --- /dev/null +++ b/common/changes/@microsoft/api-extractor-model/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/api-extractor-model", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@microsoft/api-extractor-model" +} diff --git a/common/changes/@microsoft/api-extractor/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@microsoft/api-extractor/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..0c48d0d1943 --- /dev/null +++ b/common/changes/@microsoft/api-extractor/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/api-extractor", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@microsoft/api-extractor" +} diff --git a/common/changes/@microsoft/load-themed-styles/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@microsoft/load-themed-styles/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..b953c759ab5 --- /dev/null +++ b/common/changes/@microsoft/load-themed-styles/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/load-themed-styles", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@microsoft/load-themed-styles" +} diff --git a/common/changes/@microsoft/loader-load-themed-styles/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@microsoft/loader-load-themed-styles/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..82f620f5b16 --- /dev/null +++ b/common/changes/@microsoft/loader-load-themed-styles/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/loader-load-themed-styles", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@microsoft/loader-load-themed-styles" +} diff --git a/common/changes/@microsoft/rush/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@microsoft/rush/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..a5c2a36d8f2 --- /dev/null +++ b/common/changes/@microsoft/rush/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/rush", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@microsoft/rush" +} diff --git a/common/changes/@microsoft/webpack5-load-themed-styles-loader/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@microsoft/webpack5-load-themed-styles-loader/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..92e73f1d7a4 --- /dev/null +++ b/common/changes/@microsoft/webpack5-load-themed-styles-loader/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/webpack5-load-themed-styles-loader", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@microsoft/webpack5-load-themed-styles-loader" +} diff --git a/common/changes/@rushstack/cpu-profile-summarizer/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/cpu-profile-summarizer/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..43430ba54ab --- /dev/null +++ b/common/changes/@rushstack/cpu-profile-summarizer/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/cpu-profile-summarizer", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/cpu-profile-summarizer" +} diff --git a/common/changes/@rushstack/credential-cache/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/credential-cache/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..2a97db71559 --- /dev/null +++ b/common/changes/@rushstack/credential-cache/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/credential-cache", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/credential-cache" +} diff --git a/common/changes/@rushstack/debug-certificate-manager/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/debug-certificate-manager/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..d2e5d792437 --- /dev/null +++ b/common/changes/@rushstack/debug-certificate-manager/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/debug-certificate-manager", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/debug-certificate-manager" +} diff --git a/common/changes/@rushstack/eslint-bulk/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/eslint-bulk/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..3b572b36200 --- /dev/null +++ b/common/changes/@rushstack/eslint-bulk/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/eslint-bulk", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/eslint-bulk" +} diff --git a/common/changes/@rushstack/eslint-patch/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/eslint-patch/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..d8a1b6e2713 --- /dev/null +++ b/common/changes/@rushstack/eslint-patch/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/eslint-patch", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/eslint-patch" +} diff --git a/common/changes/@rushstack/eslint-plugin-packlets/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/eslint-plugin-packlets/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..38de6209775 --- /dev/null +++ b/common/changes/@rushstack/eslint-plugin-packlets/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/eslint-plugin-packlets", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/eslint-plugin-packlets" +} diff --git a/common/changes/@rushstack/eslint-plugin-security/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/eslint-plugin-security/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..1337ad95e5b --- /dev/null +++ b/common/changes/@rushstack/eslint-plugin-security/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/eslint-plugin-security", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/eslint-plugin-security" +} diff --git a/common/changes/@rushstack/eslint-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/eslint-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..9c816865b44 --- /dev/null +++ b/common/changes/@rushstack/eslint-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/eslint-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/eslint-plugin" +} diff --git a/common/changes/@rushstack/hashed-folder-copy-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/hashed-folder-copy-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..0a04a8a03cb --- /dev/null +++ b/common/changes/@rushstack/hashed-folder-copy-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/hashed-folder-copy-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/hashed-folder-copy-plugin" +} diff --git a/common/changes/@rushstack/heft-api-extractor-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-api-extractor-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..b8f024a9040 --- /dev/null +++ b/common/changes/@rushstack/heft-api-extractor-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-api-extractor-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-api-extractor-plugin" +} diff --git a/common/changes/@rushstack/heft-config-file/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-config-file/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..25b2ae38b64 --- /dev/null +++ b/common/changes/@rushstack/heft-config-file/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-config-file", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-config-file" +} diff --git a/common/changes/@rushstack/heft-dev-cert-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-dev-cert-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..b67c91ba396 --- /dev/null +++ b/common/changes/@rushstack/heft-dev-cert-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-dev-cert-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-dev-cert-plugin" +} diff --git a/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..2a899633790 --- /dev/null +++ b/common/changes/@rushstack/heft-isolated-typescript-transpile-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-isolated-typescript-transpile-plugin" +} diff --git a/common/changes/@rushstack/heft-jest-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-jest-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..b846d9df459 --- /dev/null +++ b/common/changes/@rushstack/heft-jest-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-jest-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-jest-plugin" +} diff --git a/common/changes/@rushstack/heft-json-schema-typings-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-json-schema-typings-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..0ba1e0ee734 --- /dev/null +++ b/common/changes/@rushstack/heft-json-schema-typings-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-json-schema-typings-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-json-schema-typings-plugin" +} diff --git a/common/changes/@rushstack/heft-lint-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-lint-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..68eadec5a9a --- /dev/null +++ b/common/changes/@rushstack/heft-lint-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-lint-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-lint-plugin" +} diff --git a/common/changes/@rushstack/heft-localization-typings-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-localization-typings-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..7c32d480f29 --- /dev/null +++ b/common/changes/@rushstack/heft-localization-typings-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-localization-typings-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-localization-typings-plugin" +} diff --git a/common/changes/@rushstack/heft-rspack-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-rspack-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..14c831b75ae --- /dev/null +++ b/common/changes/@rushstack/heft-rspack-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-rspack-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-rspack-plugin" +} diff --git a/common/changes/@rushstack/heft-sass-load-themed-styles-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-sass-load-themed-styles-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..f7bc20f6a29 --- /dev/null +++ b/common/changes/@rushstack/heft-sass-load-themed-styles-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-sass-load-themed-styles-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-sass-load-themed-styles-plugin" +} diff --git a/common/changes/@rushstack/heft-sass-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-sass-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..2713317fe41 --- /dev/null +++ b/common/changes/@rushstack/heft-sass-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-sass-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-sass-plugin" +} diff --git a/common/changes/@rushstack/heft-serverless-stack-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-serverless-stack-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..8d2d0097a6a --- /dev/null +++ b/common/changes/@rushstack/heft-serverless-stack-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-serverless-stack-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-serverless-stack-plugin" +} diff --git a/common/changes/@rushstack/heft-static-asset-typings-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-static-asset-typings-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..b94a0c78489 --- /dev/null +++ b/common/changes/@rushstack/heft-static-asset-typings-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-static-asset-typings-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-static-asset-typings-plugin" +} diff --git a/common/changes/@rushstack/heft-storybook-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-storybook-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..b13aed717f7 --- /dev/null +++ b/common/changes/@rushstack/heft-storybook-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-storybook-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-storybook-plugin" +} diff --git a/common/changes/@rushstack/heft-typescript-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-typescript-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..695f98cf48a --- /dev/null +++ b/common/changes/@rushstack/heft-typescript-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-typescript-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-typescript-plugin" +} diff --git a/common/changes/@rushstack/heft-vscode-extension-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-vscode-extension-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..f92ee80546c --- /dev/null +++ b/common/changes/@rushstack/heft-vscode-extension-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-vscode-extension-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-vscode-extension-plugin" +} diff --git a/common/changes/@rushstack/heft-webpack4-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-webpack4-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..9b7a780ef62 --- /dev/null +++ b/common/changes/@rushstack/heft-webpack4-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-webpack4-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-webpack4-plugin" +} diff --git a/common/changes/@rushstack/heft-webpack5-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft-webpack5-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..dd923ea34c9 --- /dev/null +++ b/common/changes/@rushstack/heft-webpack5-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-webpack5-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft-webpack5-plugin" +} diff --git a/common/changes/@rushstack/heft/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/heft/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..0ccc52eb06b --- /dev/null +++ b/common/changes/@rushstack/heft/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/heft" +} diff --git a/common/changes/@rushstack/loader-raw-script/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/loader-raw-script/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..e972e818fb4 --- /dev/null +++ b/common/changes/@rushstack/loader-raw-script/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/loader-raw-script", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/loader-raw-script" +} diff --git a/common/changes/@rushstack/localization-utilities/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/localization-utilities/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..21260846963 --- /dev/null +++ b/common/changes/@rushstack/localization-utilities/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/localization-utilities", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/localization-utilities" +} diff --git a/common/changes/@rushstack/lockfile-explorer/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/lockfile-explorer/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..3d1c474974c --- /dev/null +++ b/common/changes/@rushstack/lockfile-explorer/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/lockfile-explorer", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/lockfile-explorer" +} diff --git a/common/changes/@rushstack/lookup-by-path/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/lookup-by-path/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..1768d01c9e6 --- /dev/null +++ b/common/changes/@rushstack/lookup-by-path/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/lookup-by-path", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/lookup-by-path" +} diff --git a/common/changes/@rushstack/mcp-server/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/mcp-server/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..66743d038ed --- /dev/null +++ b/common/changes/@rushstack/mcp-server/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/mcp-server", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/mcp-server" +} diff --git a/common/changes/@rushstack/module-minifier/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/module-minifier/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..ba8a4adf0cb --- /dev/null +++ b/common/changes/@rushstack/module-minifier/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/module-minifier", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/module-minifier" +} diff --git a/common/changes/@rushstack/node-core-library/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/node-core-library/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..7a5dd536a5a --- /dev/null +++ b/common/changes/@rushstack/node-core-library/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/node-core-library", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/node-core-library" +} diff --git a/common/changes/@rushstack/npm-check-fork/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/npm-check-fork/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..4940d56b1ea --- /dev/null +++ b/common/changes/@rushstack/npm-check-fork/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/npm-check-fork", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/npm-check-fork" +} diff --git a/common/changes/@rushstack/operation-graph/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/operation-graph/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..fde1c7dd4a5 --- /dev/null +++ b/common/changes/@rushstack/operation-graph/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/operation-graph", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/operation-graph" +} diff --git a/common/changes/@rushstack/package-deps-hash/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/package-deps-hash/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..d7e505723c6 --- /dev/null +++ b/common/changes/@rushstack/package-deps-hash/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/package-deps-hash", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/package-deps-hash" +} diff --git a/common/changes/@rushstack/package-extractor/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/package-extractor/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..c2305362adb --- /dev/null +++ b/common/changes/@rushstack/package-extractor/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/package-extractor", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/package-extractor" +} diff --git a/common/changes/@rushstack/playwright-browser-tunnel/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/playwright-browser-tunnel/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..f0f05b613ba --- /dev/null +++ b/common/changes/@rushstack/playwright-browser-tunnel/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/playwright-browser-tunnel", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/playwright-browser-tunnel" +} diff --git a/common/changes/@rushstack/problem-matcher/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/problem-matcher/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..f32d9c2e776 --- /dev/null +++ b/common/changes/@rushstack/problem-matcher/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/problem-matcher", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/problem-matcher" +} diff --git a/common/changes/@rushstack/rig-package/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/rig-package/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..a8ea6c65e5c --- /dev/null +++ b/common/changes/@rushstack/rig-package/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/rig-package", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/rig-package" +} diff --git a/common/changes/@rushstack/rundown/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/rundown/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..37090be1b37 --- /dev/null +++ b/common/changes/@rushstack/rundown/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/rundown", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/rundown" +} diff --git a/common/changes/@rushstack/rush-daemon-protocol/thelarkinn-strict-lint-rules-rollout_2026-08-18-0200.json b/common/changes/@rushstack/rush-daemon-protocol/thelarkinn-strict-lint-rules-rollout_2026-08-18-0200.json new file mode 100644 index 00000000000..a08078d1f5f --- /dev/null +++ b/common/changes/@rushstack/rush-daemon-protocol/thelarkinn-strict-lint-rules-rollout_2026-08-18-0200.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/rush-daemon-protocol", + "comment": "Wire the eslint-bulk-suppressions patch into the project eslint config and record pre-existing strict-codegen violations. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/rush-daemon-protocol" +} diff --git a/common/changes/@rushstack/rush-daemon-transport/thelarkinn-strict-lint-rules-rollout_2026-08-18-0200.json b/common/changes/@rushstack/rush-daemon-transport/thelarkinn-strict-lint-rules-rollout_2026-08-18-0200.json new file mode 100644 index 00000000000..a6d09e9f095 --- /dev/null +++ b/common/changes/@rushstack/rush-daemon-transport/thelarkinn-strict-lint-rules-rollout_2026-08-18-0200.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/rush-daemon-transport", + "comment": "Wire the eslint-bulk-suppressions patch into the project eslint config and record pre-existing strict-codegen violations. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/rush-daemon-transport" +} diff --git a/common/changes/@rushstack/rush-daemon/thelarkinn-strict-lint-rules-rollout_2026-08-18-0200.json b/common/changes/@rushstack/rush-daemon/thelarkinn-strict-lint-rules-rollout_2026-08-18-0200.json new file mode 100644 index 00000000000..dde94b822ee --- /dev/null +++ b/common/changes/@rushstack/rush-daemon/thelarkinn-strict-lint-rules-rollout_2026-08-18-0200.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/rush-daemon", + "comment": "Wire the eslint-bulk-suppressions patch into the project eslint config and record pre-existing strict-codegen violations. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/rush-daemon" +} diff --git a/common/changes/@rushstack/rush-mcp-docs-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/rush-mcp-docs-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..df9d88aee77 --- /dev/null +++ b/common/changes/@rushstack/rush-mcp-docs-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/rush-mcp-docs-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/rush-mcp-docs-plugin" +} diff --git a/common/changes/@rushstack/rush-pnpm-kit-v10/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/rush-pnpm-kit-v10/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..fa54394f0d7 --- /dev/null +++ b/common/changes/@rushstack/rush-pnpm-kit-v10/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/rush-pnpm-kit-v10", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/rush-pnpm-kit-v10" +} diff --git a/common/changes/@rushstack/rush-pnpm-kit-v8/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/rush-pnpm-kit-v8/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..a9f02876523 --- /dev/null +++ b/common/changes/@rushstack/rush-pnpm-kit-v8/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/rush-pnpm-kit-v8", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/rush-pnpm-kit-v8" +} diff --git a/common/changes/@rushstack/rush-pnpm-kit-v9/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/rush-pnpm-kit-v9/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..2e29fbf9983 --- /dev/null +++ b/common/changes/@rushstack/rush-pnpm-kit-v9/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/rush-pnpm-kit-v9", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/rush-pnpm-kit-v9" +} diff --git a/common/changes/@rushstack/rush-published-versions-json-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/rush-published-versions-json-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..e428d16ceb2 --- /dev/null +++ b/common/changes/@rushstack/rush-published-versions-json-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/rush-published-versions-json-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/rush-published-versions-json-plugin" +} diff --git a/common/changes/@rushstack/rush-terminal-renderer/thelarkinn-strict-lint-rules-rollout_2026-08-18-0200.json b/common/changes/@rushstack/rush-terminal-renderer/thelarkinn-strict-lint-rules-rollout_2026-08-18-0200.json new file mode 100644 index 00000000000..c22f3861f25 --- /dev/null +++ b/common/changes/@rushstack/rush-terminal-renderer/thelarkinn-strict-lint-rules-rollout_2026-08-18-0200.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/rush-terminal-renderer", + "comment": "Wire the eslint-bulk-suppressions patch into the project eslint config and record pre-existing strict-codegen violations. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/rush-terminal-renderer" +} diff --git a/common/changes/@rushstack/set-webpack-public-path-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/set-webpack-public-path-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..69edd621e15 --- /dev/null +++ b/common/changes/@rushstack/set-webpack-public-path-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/set-webpack-public-path-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/set-webpack-public-path-plugin" +} diff --git a/common/changes/@rushstack/stream-collator/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/stream-collator/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..05321df6880 --- /dev/null +++ b/common/changes/@rushstack/stream-collator/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/stream-collator", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/stream-collator" +} diff --git a/common/changes/@rushstack/terminal/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/terminal/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..30aaa336cfb --- /dev/null +++ b/common/changes/@rushstack/terminal/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/terminal", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/terminal" +} diff --git a/common/changes/@rushstack/trace-import/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/trace-import/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..5fcc9c098fd --- /dev/null +++ b/common/changes/@rushstack/trace-import/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/trace-import", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/trace-import" +} diff --git a/common/changes/@rushstack/tree-pattern/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/tree-pattern/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..f467d53c621 --- /dev/null +++ b/common/changes/@rushstack/tree-pattern/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/tree-pattern", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/tree-pattern" +} diff --git a/common/changes/@rushstack/ts-command-line/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/ts-command-line/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..ccdd17a633c --- /dev/null +++ b/common/changes/@rushstack/ts-command-line/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/ts-command-line", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/ts-command-line" +} diff --git a/common/changes/@rushstack/typings-generator/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/typings-generator/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..57dda3c2e7a --- /dev/null +++ b/common/changes/@rushstack/typings-generator/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/typings-generator", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/typings-generator" +} diff --git a/common/changes/@rushstack/webpack-embedded-dependencies-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/webpack-embedded-dependencies-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..a502284ac56 --- /dev/null +++ b/common/changes/@rushstack/webpack-embedded-dependencies-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack-embedded-dependencies-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/webpack-embedded-dependencies-plugin" +} diff --git a/common/changes/@rushstack/webpack-plugin-utilities/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/webpack-plugin-utilities/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..726fb3cadbc --- /dev/null +++ b/common/changes/@rushstack/webpack-plugin-utilities/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack-plugin-utilities", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/webpack-plugin-utilities" +} diff --git a/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..46a73c5e3a0 --- /dev/null +++ b/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack-preserve-dynamic-require-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/webpack-preserve-dynamic-require-plugin" +} diff --git a/common/changes/@rushstack/webpack-workspace-resolve-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/webpack-workspace-resolve-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..f91118623b2 --- /dev/null +++ b/common/changes/@rushstack/webpack-workspace-resolve-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack-workspace-resolve-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/webpack-workspace-resolve-plugin" +} diff --git a/common/changes/@rushstack/webpack4-localization-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/webpack4-localization-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..639f8bec6fd --- /dev/null +++ b/common/changes/@rushstack/webpack4-localization-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack4-localization-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/webpack4-localization-plugin" +} diff --git a/common/changes/@rushstack/webpack4-module-minifier-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/webpack4-module-minifier-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..dd34316f8ca --- /dev/null +++ b/common/changes/@rushstack/webpack4-module-minifier-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack4-module-minifier-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/webpack4-module-minifier-plugin" +} diff --git a/common/changes/@rushstack/webpack5-localization-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/webpack5-localization-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..68f6d2abe5e --- /dev/null +++ b/common/changes/@rushstack/webpack5-localization-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack5-localization-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/webpack5-localization-plugin" +} diff --git a/common/changes/@rushstack/webpack5-module-minifier-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/webpack5-module-minifier-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..a3f343640bf --- /dev/null +++ b/common/changes/@rushstack/webpack5-module-minifier-plugin/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack5-module-minifier-plugin", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/webpack5-module-minifier-plugin" +} diff --git a/common/changes/@rushstack/worker-pool/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/worker-pool/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..029bb0314b7 --- /dev/null +++ b/common/changes/@rushstack/worker-pool/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/worker-pool", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/worker-pool" +} diff --git a/common/changes/@rushstack/zipsync/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json b/common/changes/@rushstack/zipsync/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json new file mode 100644 index 00000000000..99cbdf5b0f4 --- /dev/null +++ b/common/changes/@rushstack/zipsync/thelarkinn-strict-lint-rules-rollout_2026-08-14-1900.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/zipsync", + "comment": "Repo-wide strict-codegen lint rollout: wire the eslint-bulk-suppressions patch and record pre-existing violations in .eslint-bulk-suppressions.json. No shipping code changes.", + "type": "none" + } + ], + "packageName": "@rushstack/zipsync" +} diff --git a/common/config/subspaces/default/pnpm-lock.yaml b/common/config/subspaces/default/pnpm-lock.yaml index 0b7e32bfee6..7a11b1127af 100644 --- a/common/config/subspaces/default/pnpm-lock.yaml +++ b/common/config/subspaces/default/pnpm-lock.yaml @@ -2805,6 +2805,9 @@ importers: '@rushstack/terminal': specifier: workspace:* version: link:../../libraries/terminal + eslint: + specifier: ~9.37.0 + version: 9.37.0 local-node-rig: specifier: workspace:* version: link:../../rigs/local-node-rig @@ -4304,6 +4307,9 @@ importers: '@rushstack/heft': specifier: workspace:* version: link:../../apps/heft + eslint: + specifier: ~9.37.0 + version: 9.37.0 local-node-rig: specifier: workspace:* version: link:../../rigs/local-node-rig @@ -4323,6 +4329,9 @@ importers: '@rushstack/heft': specifier: workspace:* version: link:../../apps/heft + eslint: + specifier: ~9.37.0 + version: 9.37.0 local-node-rig: specifier: workspace:* version: link:../../rigs/local-node-rig @@ -4342,6 +4351,9 @@ importers: '@rushstack/heft': specifier: workspace:* version: link:../../apps/heft + eslint: + specifier: ~9.37.0 + version: 9.37.0 local-node-rig: specifier: workspace:* version: link:../../rigs/local-node-rig @@ -5351,6 +5363,9 @@ importers: '@types/webpack-env': specifier: 1.18.8 version: 1.18.8 + eslint: + specifier: ~9.37.0 + version: 9.37.0 ../../../vscode-extensions/playwright-local-browser-server-vscode-extension: dependencies: @@ -5391,6 +5406,9 @@ importers: '@types/webpack-env': specifier: 1.18.8 version: 1.18.8 + eslint: + specifier: ~9.37.0 + version: 9.37.0 ../../../vscode-extensions/rush-vscode-command-webview: dependencies: @@ -5529,6 +5547,9 @@ importers: '@types/vscode': specifier: 1.103.0 version: 1.103.0 + eslint: + specifier: ~9.37.0 + version: 9.37.0 ../../../webpack/hashed-folder-copy-plugin: dependencies: @@ -6934,7 +6955,7 @@ packages: hasBin: true '@colors/colors@1.5.0': - resolution: {integrity: sha1-u1BFecHK6SPmV2pPXaQ9Jfl729k=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@colors/colors/-/colors-1.5.0.tgz} + resolution: {integrity: sha1-u1BFecHK6SPmV2pPXaQ9Jfl729k=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@colors/colors/-/colors-1.5.0.tgz} engines: {node: '>=0.1.90'} '@csstools/color-helpers@5.1.0': @@ -6977,10 +6998,10 @@ packages: resolution: {integrity: sha1-OHAmXs/8c1LQHq1i2Ng9g1ii0DQ=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@emnapi/core/-/core-1.9.2.tgz} '@emnapi/runtime@1.9.2': - resolution: {integrity: sha1-i0aaPbFggXytsd6QUCEanR6oT6I=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@emnapi/runtime/-/runtime-1.9.2.tgz} + resolution: {integrity: sha1-i0aaPbFggXytsd6QUCEanR6oT6I=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@emnapi/runtime/-/runtime-1.9.2.tgz} '@emnapi/wasi-threads@1.2.1': - resolution: {integrity: sha1-KP7SGhuhznl8RKBwq8lNQvOuhUg=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz} + resolution: {integrity: sha1-KP7SGhuhznl8RKBwq8lNQvOuhUg=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz} '@emotion/cache@10.0.29': resolution: {integrity: sha512-fU2VtSVlHiF27empSbxi1O2JFdNWZO+2NFHfwO0pxgTep6Xa3uGb+3pVKfLww2l/IBGLNEZl5Xf/++A4wAYDYQ==} @@ -7067,13 +7088,13 @@ packages: os: [aix] '@esbuild/android-arm64@0.25.12': - resolution: {integrity: sha1-iqSWX40KeYLcIXNL9mATI6Ztp1I=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz} + resolution: {integrity: sha1-iqSWX40KeYLcIXNL9mATI6Ztp1I=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz} engines: {node: '>=18'} cpu: [arm64] os: [android] '@esbuild/android-arm64@0.28.0': - resolution: {integrity: sha1-uIKNnt+jqSZgZE643m5PPCA9exc=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/android-arm64/-/android-arm64-0.28.0.tgz} + resolution: {integrity: sha1-uIKNnt+jqSZgZE643m5PPCA9exc=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/android-arm64/-/android-arm64-0.28.0.tgz} engines: {node: '>=18'} cpu: [arm64] os: [android] @@ -7115,49 +7136,49 @@ packages: os: [darwin] '@esbuild/darwin-x64@0.25.12': - resolution: {integrity: sha1-FGQAqFYhM/RcTS6tzzfd0JcYB54=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz} + resolution: {integrity: sha1-FGQAqFYhM/RcTS6tzzfd0JcYB54=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz} engines: {node: '>=18'} cpu: [x64] os: [darwin] '@esbuild/darwin-x64@0.28.0': - resolution: {integrity: sha1-wHkkfViba5lEllnZTwaVG4S/8uQ=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/darwin-x64/-/darwin-x64-0.28.0.tgz} + resolution: {integrity: sha1-wHkkfViba5lEllnZTwaVG4S/8uQ=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/darwin-x64/-/darwin-x64-0.28.0.tgz} engines: {node: '>=18'} cpu: [x64] os: [darwin] '@esbuild/freebsd-arm64@0.25.12': - resolution: {integrity: sha1-HF+bpyBuFY/SskxZ+i0si7R8oP4=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz} + resolution: {integrity: sha1-HF+bpyBuFY/SskxZ+i0si7R8oP4=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz} engines: {node: '>=18'} cpu: [arm64] os: [freebsd] '@esbuild/freebsd-arm64@0.28.0': - resolution: {integrity: sha1-RcRWIVpIZZPJSQApcgLcEciAo3o=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.0.tgz} + resolution: {integrity: sha1-RcRWIVpIZZPJSQApcgLcEciAo3o=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.0.tgz} engines: {node: '>=18'} cpu: [arm64] os: [freebsd] '@esbuild/freebsd-x64@0.25.12': - resolution: {integrity: sha1-6mMfSja+qsS5J5+g/MbKKerusrM=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz} + resolution: {integrity: sha1-6mMfSja+qsS5J5+g/MbKKerusrM=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz} engines: {node: '>=18'} cpu: [x64] os: [freebsd] '@esbuild/freebsd-x64@0.28.0': - resolution: {integrity: sha1-A5lJTByF5DiOm3BAvWDUjypbDSw=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/freebsd-x64/-/freebsd-x64-0.28.0.tgz} + resolution: {integrity: sha1-A5lJTByF5DiOm3BAvWDUjypbDSw=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/freebsd-x64/-/freebsd-x64-0.28.0.tgz} engines: {node: '>=18'} cpu: [x64] os: [freebsd] '@esbuild/linux-arm64@0.25.12': - resolution: {integrity: sha1-4QZrzlg5TxsRQd7shVel8KIvWXc=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz} + resolution: {integrity: sha1-4QZrzlg5TxsRQd7shVel8KIvWXc=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz} engines: {node: '>=18'} cpu: [arm64] os: [linux] '@esbuild/linux-arm64@0.28.0': - resolution: {integrity: sha1-1tnwnvDeVBFr9Fmk1TysfglS/jk=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-arm64/-/linux-arm64-0.28.0.tgz} + resolution: {integrity: sha1-1tnwnvDeVBFr9Fmk1TysfglS/jk=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-arm64/-/linux-arm64-0.28.0.tgz} engines: {node: '>=18'} cpu: [arm64] os: [linux] @@ -7175,55 +7196,55 @@ packages: os: [linux] '@esbuild/linux-ia32@0.25.12': - resolution: {integrity: sha1-sk+KzEW89UGSx/LzvhtT5lUer+A=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz} + resolution: {integrity: sha1-sk+KzEW89UGSx/LzvhtT5lUer+A=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz} engines: {node: '>=18'} cpu: [ia32] os: [linux] '@esbuild/linux-ia32@0.28.0': - resolution: {integrity: sha1-3rFdES7Y3WBTRra5U9I6If+BJT8=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-ia32/-/linux-ia32-0.28.0.tgz} + resolution: {integrity: sha1-3rFdES7Y3WBTRra5U9I6If+BJT8=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-ia32/-/linux-ia32-0.28.0.tgz} engines: {node: '>=18'} cpu: [ia32] os: [linux] '@esbuild/linux-loong64@0.14.54': - resolution: {integrity: sha1-3ipL5ni9TQ0f+7hubed5zeWZkCg=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-loong64/-/linux-loong64-0.14.54.tgz} + resolution: {integrity: sha1-3ipL5ni9TQ0f+7hubed5zeWZkCg=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-loong64/-/linux-loong64-0.14.54.tgz} engines: {node: '>=12'} cpu: [loong64] os: [linux] '@esbuild/linux-loong64@0.25.12': - resolution: {integrity: sha1-+c//p/yDIlcfvEyLMmjK8VvYGtA=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz} + resolution: {integrity: sha1-+c//p/yDIlcfvEyLMmjK8VvYGtA=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz} engines: {node: '>=18'} cpu: [loong64] os: [linux] '@esbuild/linux-loong64@0.28.0': - resolution: {integrity: sha1-gfuJ0H7sx5sVfephAzdXcm/ODKQ=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-loong64/-/linux-loong64-0.28.0.tgz} + resolution: {integrity: sha1-gfuJ0H7sx5sVfephAzdXcm/ODKQ=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-loong64/-/linux-loong64-0.28.0.tgz} engines: {node: '>=18'} cpu: [loong64] os: [linux] '@esbuild/linux-mips64el@0.25.12': - resolution: {integrity: sha1-V1oUvXRkT/q4ka3H1+YNJ1KW8s0=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz} + resolution: {integrity: sha1-V1oUvXRkT/q4ka3H1+YNJ1KW8s0=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz} engines: {node: '>=18'} cpu: [mips64el] os: [linux] '@esbuild/linux-mips64el@0.28.0': - resolution: {integrity: sha1-0OQmkbP/evn7Ihe3D8AfNDvbYrs=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-mips64el/-/linux-mips64el-0.28.0.tgz} + resolution: {integrity: sha1-0OQmkbP/evn7Ihe3D8AfNDvbYrs=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-mips64el/-/linux-mips64el-0.28.0.tgz} engines: {node: '>=18'} cpu: [mips64el] os: [linux] '@esbuild/linux-ppc64@0.25.12': - resolution: {integrity: sha1-dbmccKlfvV93OddpK+/mBgFZGGk=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz} + resolution: {integrity: sha1-dbmccKlfvV93OddpK+/mBgFZGGk=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz} engines: {node: '>=18'} cpu: [ppc64] os: [linux] '@esbuild/linux-ppc64@0.28.0': - resolution: {integrity: sha1-OJ8+XpjxfUd8RnzIcTbhoHburYc=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-ppc64/-/linux-ppc64-0.28.0.tgz} + resolution: {integrity: sha1-OJ8+XpjxfUd8RnzIcTbhoHburYc=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-ppc64/-/linux-ppc64-0.28.0.tgz} engines: {node: '>=18'} cpu: [ppc64] os: [linux] @@ -7241,61 +7262,61 @@ packages: os: [linux] '@esbuild/linux-s390x@0.25.12': - resolution: {integrity: sha1-F2dsq7/lko2lsqDW311YzQjbJmM=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz} + resolution: {integrity: sha1-F2dsq7/lko2lsqDW311YzQjbJmM=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz} engines: {node: '>=18'} cpu: [s390x] os: [linux] '@esbuild/linux-s390x@0.28.0': - resolution: {integrity: sha1-qsYGFjSHLkZ33mk7zoAw1zsf0FU=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-s390x/-/linux-s390x-0.28.0.tgz} + resolution: {integrity: sha1-qsYGFjSHLkZ33mk7zoAw1zsf0FU=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-s390x/-/linux-s390x-0.28.0.tgz} engines: {node: '>=18'} cpu: [s390x] os: [linux] '@esbuild/linux-x64@0.25.12': - resolution: {integrity: sha1-BYN3VoXKggZtBMNQfwlSTTzXowY=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz} + resolution: {integrity: sha1-BYN3VoXKggZtBMNQfwlSTTzXowY=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz} engines: {node: '>=18'} cpu: [x64] os: [linux] '@esbuild/linux-x64@0.28.0': - resolution: {integrity: sha1-TykXdHGI/ndjK87GWy2EtCJBl3k=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-x64/-/linux-x64-0.28.0.tgz} + resolution: {integrity: sha1-TykXdHGI/ndjK87GWy2EtCJBl3k=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/linux-x64/-/linux-x64-0.28.0.tgz} engines: {node: '>=18'} cpu: [x64] os: [linux] '@esbuild/netbsd-arm64@0.25.12': - resolution: {integrity: sha1-8ExAScsuJS/paxb+2Q9wdGsT9KQ=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz} + resolution: {integrity: sha1-8ExAScsuJS/paxb+2Q9wdGsT9KQ=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz} engines: {node: '>=18'} cpu: [arm64] os: [netbsd] '@esbuild/netbsd-arm64@0.28.0': - resolution: {integrity: sha1-gU3wrlegw4aBRJG4OX7rqCCUqUc=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.0.tgz} + resolution: {integrity: sha1-gU3wrlegw4aBRJG4OX7rqCCUqUc=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.0.tgz} engines: {node: '>=18'} cpu: [arm64] os: [netbsd] '@esbuild/netbsd-x64@0.25.12': - resolution: {integrity: sha1-d9oNCg2CbXySHuo9QCklSLJYoHY=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz} + resolution: {integrity: sha1-d9oNCg2CbXySHuo9QCklSLJYoHY=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz} engines: {node: '>=18'} cpu: [x64] os: [netbsd] '@esbuild/netbsd-x64@0.28.0': - resolution: {integrity: sha1-4BvffmD6GgjkbUbZYLDZu4rCEK8=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/netbsd-x64/-/netbsd-x64-0.28.0.tgz} + resolution: {integrity: sha1-4BvffmD6GgjkbUbZYLDZu4rCEK8=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/netbsd-x64/-/netbsd-x64-0.28.0.tgz} engines: {node: '>=18'} cpu: [x64] os: [netbsd] '@esbuild/openbsd-arm64@0.25.12': - resolution: {integrity: sha1-Ypb1hnrt7yioGyKrIAnHhqlS3M0=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz} + resolution: {integrity: sha1-Ypb1hnrt7yioGyKrIAnHhqlS3M0=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz} engines: {node: '>=18'} cpu: [arm64] os: [openbsd] '@esbuild/openbsd-arm64@0.28.0': - resolution: {integrity: sha1-ShXDaqzKaNLVpMkLcQwGdZ9MH/o=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.0.tgz} + resolution: {integrity: sha1-ShXDaqzKaNLVpMkLcQwGdZ9MH/o=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.0.tgz} engines: {node: '>=18'} cpu: [arm64] os: [openbsd] @@ -7313,13 +7334,13 @@ packages: os: [openbsd] '@esbuild/openharmony-arm64@0.25.12': - resolution: {integrity: sha1-SeC3aHRKOSS+DX/ZfdbOmykj2I0=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz} + resolution: {integrity: sha1-SeC3aHRKOSS+DX/ZfdbOmykj2I0=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz} engines: {node: '>=18'} cpu: [arm64] os: [openharmony] '@esbuild/openharmony-arm64@0.28.0': - resolution: {integrity: sha1-z9w5V/C3pp8b3hKarRf8wvb6Az4=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.0.tgz} + resolution: {integrity: sha1-z9w5V/C3pp8b3hKarRf8wvb6Az4=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.0.tgz} engines: {node: '>=18'} cpu: [arm64] os: [openharmony] @@ -7337,25 +7358,25 @@ packages: os: [sunos] '@esbuild/win32-arm64@0.25.12': - resolution: {integrity: sha1-msFMN44bZTrxfQjn0840yu9YcyM=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz} + resolution: {integrity: sha1-msFMN44bZTrxfQjn0840yu9YcyM=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz} engines: {node: '>=18'} cpu: [arm64] os: [win32] '@esbuild/win32-arm64@0.28.0': - resolution: {integrity: sha1-6uBeDzUnHK04mLQxaNPpo7uvR+U=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/win32-arm64/-/win32-arm64-0.28.0.tgz} + resolution: {integrity: sha1-6uBeDzUnHK04mLQxaNPpo7uvR+U=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/win32-arm64/-/win32-arm64-0.28.0.tgz} engines: {node: '>=18'} cpu: [arm64] os: [win32] '@esbuild/win32-ia32@0.25.12': - resolution: {integrity: sha1-kYlC3LuzXMFPyjmvuRteaj0Scmc=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz} + resolution: {integrity: sha1-kYlC3LuzXMFPyjmvuRteaj0Scmc=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz} engines: {node: '>=18'} cpu: [ia32] os: [win32] '@esbuild/win32-ia32@0.28.0': - resolution: {integrity: sha1-BhYevFv3XAjWn+s8ayJWBRWROZg=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/win32-ia32/-/win32-ia32-0.28.0.tgz} + resolution: {integrity: sha1-BhYevFv3XAjWn+s8ayJWBRWROZg=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@esbuild/win32-ia32/-/win32-ia32-0.28.0.tgz} engines: {node: '>=18'} cpu: [ia32] os: [win32] @@ -8624,10 +8645,10 @@ packages: engines: {node: '>=4'} '@napi-rs/wasm-runtime@0.2.12': - resolution: {integrity: sha1-PniouW5sM6bFF+GJTvvVOFp8tvI=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.12.tgz} + resolution: {integrity: sha1-PniouW5sM6bFF+GJTvvVOFp8tvI=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.12.tgz} '@napi-rs/wasm-runtime@1.0.7': - resolution: {integrity: sha1-3P6pmnXwYgmiNfPZQeNGClHpsUw=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@napi-rs/wasm-runtime/-/wasm-runtime-1.0.7.tgz} + resolution: {integrity: sha1-3P6pmnXwYgmiNfPZQeNGClHpsUw=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@napi-rs/wasm-runtime/-/wasm-runtime-1.0.7.tgz} '@noble/hashes@1.4.0': resolution: {integrity: sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==} @@ -8692,7 +8713,7 @@ packages: engines: {node: '>=20.0.0'} '@pkgjs/parseargs@0.11.0': - resolution: {integrity: sha1-p36nQvqyV3UUVDTrHSMoz1ATrDM=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@pkgjs/parseargs/-/parseargs-0.11.0.tgz} + resolution: {integrity: sha1-p36nQvqyV3UUVDTrHSMoz1ATrDM=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@pkgjs/parseargs/-/parseargs-0.11.0.tgz} engines: {node: '>=14'} '@pkgr/core@0.2.9': @@ -8835,7 +8856,7 @@ packages: engines: {node: '>=18.12'} '@pnpm/lockfile.types@1001.1.0': - resolution: {integrity: sha1-rhsx7V+7Du0y0CpfVlG8zilTW6E=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@pnpm/lockfile.types/-/lockfile.types-1001.1.0.tgz} + resolution: {integrity: sha1-rhsx7V+7Du0y0CpfVlG8zilTW6E=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@pnpm/lockfile.types/-/lockfile.types-1001.1.0.tgz} engines: {node: '>=18.12'} '@pnpm/lockfile.types@1002.0.1': @@ -8914,7 +8935,7 @@ packages: engines: {node: '>=18.12'} '@pnpm/types@1000.7.0': - resolution: {integrity: sha1-g1Hkb73+JfgP7Jdb/fWNDKStYkw=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@pnpm/types/-/types-1000.7.0.tgz} + resolution: {integrity: sha1-g1Hkb73+JfgP7Jdb/fWNDKStYkw=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@pnpm/types/-/types-1000.7.0.tgz} engines: {node: '>=18.12'} '@pnpm/types@1000.8.0': @@ -9211,17 +9232,17 @@ packages: libc: [glibc] '@rspack/binding-darwin-arm64@1.6.8': - resolution: {integrity: sha1-Uph8DLxIeiQL3GsaMYODctrd7is=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-darwin-arm64/-/binding-darwin-arm64-1.6.8.tgz} + resolution: {integrity: sha1-Uph8DLxIeiQL3GsaMYODctrd7is=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-darwin-arm64/-/binding-darwin-arm64-1.6.8.tgz} cpu: [arm64] os: [darwin] '@rspack/binding-darwin-x64@1.6.8': - resolution: {integrity: sha1-E8gBzoIQ0Rt7C8Sse/A27DKGKTU=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-darwin-x64/-/binding-darwin-x64-1.6.8.tgz} + resolution: {integrity: sha1-E8gBzoIQ0Rt7C8Sse/A27DKGKTU=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-darwin-x64/-/binding-darwin-x64-1.6.8.tgz} cpu: [x64] os: [darwin] '@rspack/binding-linux-arm64-gnu@1.6.8': - resolution: {integrity: sha1-1wMhrFu9W8EB3potoBxvuYRgFWU=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.6.8.tgz} + resolution: {integrity: sha1-1wMhrFu9W8EB3potoBxvuYRgFWU=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.6.8.tgz} cpu: [arm64] os: [linux] libc: [glibc] @@ -9233,28 +9254,28 @@ packages: libc: [musl] '@rspack/binding-linux-x64-gnu@1.6.8': - resolution: {integrity: sha1-t45/YrQVezHhgf6J0xmmAXgqgCs=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.6.8.tgz} + resolution: {integrity: sha1-t45/YrQVezHhgf6J0xmmAXgqgCs=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.6.8.tgz} cpu: [x64] os: [linux] libc: [glibc] '@rspack/binding-linux-x64-musl@1.6.8': - resolution: {integrity: sha1-xXj3MNip+rhm5KFZIEV++df9X1g=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-linux-x64-musl/-/binding-linux-x64-musl-1.6.8.tgz} + resolution: {integrity: sha1-xXj3MNip+rhm5KFZIEV++df9X1g=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-linux-x64-musl/-/binding-linux-x64-musl-1.6.8.tgz} cpu: [x64] os: [linux] libc: [musl] '@rspack/binding-wasm32-wasi@1.6.8': - resolution: {integrity: sha1-dtI1iewxrWurZ4TaiffMQsffAnU=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-wasm32-wasi/-/binding-wasm32-wasi-1.6.8.tgz} + resolution: {integrity: sha1-dtI1iewxrWurZ4TaiffMQsffAnU=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-wasm32-wasi/-/binding-wasm32-wasi-1.6.8.tgz} cpu: [wasm32] '@rspack/binding-win32-arm64-msvc@1.6.8': - resolution: {integrity: sha1-tCy6SrdYjOcvDBPJaNPWLophq0Y=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.6.8.tgz} + resolution: {integrity: sha1-tCy6SrdYjOcvDBPJaNPWLophq0Y=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.6.8.tgz} cpu: [arm64] os: [win32] '@rspack/binding-win32-ia32-msvc@1.6.8': - resolution: {integrity: sha1-KTojRIxqEfJamru5iWEwWcfaPsQ=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.6.8.tgz} + resolution: {integrity: sha1-KTojRIxqEfJamru5iWEwWcfaPsQ=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@rspack/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.6.8.tgz} cpu: [ia32] os: [win32] @@ -10112,47 +10133,47 @@ packages: os: [darwin] '@swc/core-linux-arm-gnueabihf@1.7.10': - resolution: {integrity: sha1-ez86gp2R+FmlAP5gfmgUiY7oGdk=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.7.10.tgz} + resolution: {integrity: sha1-ez86gp2R+FmlAP5gfmgUiY7oGdk=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.7.10.tgz} engines: {node: '>=10'} cpu: [arm] os: [linux] '@swc/core-linux-arm64-gnu@1.7.10': - resolution: {integrity: sha1-vdDQ9kwrLAneqXa+ncJI/TWd5VE=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.7.10.tgz} + resolution: {integrity: sha1-vdDQ9kwrLAneqXa+ncJI/TWd5VE=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.7.10.tgz} engines: {node: '>=10'} cpu: [arm64] os: [linux] libc: [glibc] '@swc/core-linux-arm64-musl@1.7.10': - resolution: {integrity: sha1-vJgIuyS6Ek++l3KQGadFvV6IWas=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.7.10.tgz} + resolution: {integrity: sha1-vJgIuyS6Ek++l3KQGadFvV6IWas=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.7.10.tgz} engines: {node: '>=10'} cpu: [arm64] os: [linux] libc: [musl] '@swc/core-linux-x64-gnu@1.7.10': - resolution: {integrity: sha1-EBpx3PkiTrLO7HgaJUqTd0xl/zE=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.7.10.tgz} + resolution: {integrity: sha1-EBpx3PkiTrLO7HgaJUqTd0xl/zE=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.7.10.tgz} engines: {node: '>=10'} cpu: [x64] os: [linux] libc: [glibc] '@swc/core-linux-x64-musl@1.7.10': - resolution: {integrity: sha1-b8Grv32BgzQ76Ur64L9ZaumNQEg=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.7.10.tgz} + resolution: {integrity: sha1-b8Grv32BgzQ76Ur64L9ZaumNQEg=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.7.10.tgz} engines: {node: '>=10'} cpu: [x64] os: [linux] libc: [musl] '@swc/core-win32-arm64-msvc@1.7.10': - resolution: {integrity: sha1-XW7P2kzF6D7IZZEZ8WB7FmP3Cm0=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.7.10.tgz} + resolution: {integrity: sha1-XW7P2kzF6D7IZZEZ8WB7FmP3Cm0=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.7.10.tgz} engines: {node: '>=10'} cpu: [arm64] os: [win32] '@swc/core-win32-ia32-msvc@1.7.10': - resolution: {integrity: sha1-N/MXfaU7KLLcjIOu/vwgIFBk688=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.7.10.tgz} + resolution: {integrity: sha1-N/MXfaU7KLLcjIOu/vwgIFBk688=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.7.10.tgz} engines: {node: '>=10'} cpu: [ia32] os: [win32] @@ -10207,7 +10228,7 @@ packages: resolution: {integrity: sha512-yw0omUrxGp8+gEAuieZFeXB4bCqFvmyCDL3GOBv+Q6+cK0m5824ViHZKPgK5DYG1ijN/lbi1hP3UVKywPN7rbQ==} '@tybys/wasm-util@0.10.1': - resolution: {integrity: sha1-7N3TIFzx4tUnRkn/Du3SmR7X9BQ=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@tybys/wasm-util/-/wasm-util-0.10.1.tgz} + resolution: {integrity: sha1-7N3TIFzx4tUnRkn/Du3SmR7X9BQ=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@tybys/wasm-util/-/wasm-util-0.10.1.tgz} '@types/argparse@1.0.38': resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==} @@ -10723,54 +10744,54 @@ packages: resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==} '@unrs/resolver-binding-android-arm-eabi@1.11.1': - resolution: {integrity: sha1-n1sEUDCI5qNUKV6OqP48uZ5Dr4E=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.11.1.tgz} + resolution: {integrity: sha1-n1sEUDCI5qNUKV6OqP48uZ5Dr4E=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.11.1.tgz} cpu: [arm] os: [android] '@unrs/resolver-binding-android-arm64@1.11.1': - resolution: {integrity: sha1-dBSIVDG9cXi5ia7cTSXMyzhlvJ8=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.11.1.tgz} + resolution: {integrity: sha1-dBSIVDG9cXi5ia7cTSXMyzhlvJ8=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.11.1.tgz} cpu: [arm64] os: [android] '@unrs/resolver-binding-darwin-arm64@1.11.1': - resolution: {integrity: sha1-tKhVb0IXH7nJ97rII1BF6Cqgy98=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.11.1.tgz} + resolution: {integrity: sha1-tKhVb0IXH7nJ97rII1BF6Cqgy98=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.11.1.tgz} cpu: [arm64] os: [darwin] '@unrs/resolver-binding-darwin-x64@1.11.1': - resolution: {integrity: sha1-/U2BJXsT9NGgg4kKahfADeVx8Nw=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.11.1.tgz} + resolution: {integrity: sha1-/U2BJXsT9NGgg4kKahfADeVx8Nw=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.11.1.tgz} cpu: [x64] os: [darwin] '@unrs/resolver-binding-freebsd-x64@1.11.1': - resolution: {integrity: sha1-0lEwhNDzfEB3V+IvMr2SSnjP2Zs=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.11.1.tgz} + resolution: {integrity: sha1-0lEwhNDzfEB3V+IvMr2SSnjP2Zs=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.11.1.tgz} cpu: [x64] os: [freebsd] '@unrs/resolver-binding-linux-arm-gnueabihf@1.11.1': - resolution: {integrity: sha1-hE0mBdBXSI13+rCXBfKGa4YWTgo=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.11.1.tgz} + resolution: {integrity: sha1-hE0mBdBXSI13+rCXBfKGa4YWTgo=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.11.1.tgz} cpu: [arm] os: [linux] '@unrs/resolver-binding-linux-arm-musleabihf@1.11.1': - resolution: {integrity: sha1-IEiSmVzvtr0dAX1S0JcZO8Yd2tM=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.11.1.tgz} + resolution: {integrity: sha1-IEiSmVzvtr0dAX1S0JcZO8Yd2tM=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.11.1.tgz} cpu: [arm] os: [linux] '@unrs/resolver-binding-linux-arm64-gnu@1.11.1': - resolution: {integrity: sha1-Aj6ww6rEYGahC+ej82Lns087350=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.11.1.tgz} + resolution: {integrity: sha1-Aj6ww6rEYGahC+ej82Lns087350=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.11.1.tgz} cpu: [arm64] os: [linux] libc: [glibc] '@unrs/resolver-binding-linux-arm64-musl@1.11.1': - resolution: {integrity: sha1-nm+auwZCTjFApgrJlhOXhvXZm+A=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.11.1.tgz} + resolution: {integrity: sha1-nm+auwZCTjFApgrJlhOXhvXZm+A=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.11.1.tgz} cpu: [arm64] os: [linux] libc: [musl] '@unrs/resolver-binding-linux-ppc64-gnu@1.11.1': - resolution: {integrity: sha1-sRFBfxfJ0bAu++yOCDmPDFUnu0Q=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.11.1.tgz} + resolution: {integrity: sha1-sRFBfxfJ0bAu++yOCDmPDFUnu0Q=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.11.1.tgz} cpu: [ppc64] os: [linux] libc: [glibc] @@ -10788,35 +10809,35 @@ packages: libc: [musl] '@unrs/resolver-binding-linux-s390x-gnu@1.11.1': - resolution: {integrity: sha1-V3hDoITFlS9ZBncGM8z7idrJvJQ=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.11.1.tgz} + resolution: {integrity: sha1-V3hDoITFlS9ZBncGM8z7idrJvJQ=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.11.1.tgz} cpu: [s390x] os: [linux] libc: [glibc] '@unrs/resolver-binding-linux-x64-gnu@1.11.1': - resolution: {integrity: sha1-NvsxjuvdaQ9toyrF4EmadvqIGTU=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.11.1.tgz} + resolution: {integrity: sha1-NvsxjuvdaQ9toyrF4EmadvqIGTU=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.11.1.tgz} cpu: [x64] os: [linux] libc: [glibc] '@unrs/resolver-binding-linux-x64-musl@1.11.1': - resolution: {integrity: sha1-v7mvdfeD+Y9qIsQkQhTv5N8YU9Y=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.11.1.tgz} + resolution: {integrity: sha1-v7mvdfeD+Y9qIsQkQhTv5N8YU9Y=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.11.1.tgz} cpu: [x64] os: [linux] libc: [musl] '@unrs/resolver-binding-wasm32-wasi@1.11.1': - resolution: {integrity: sha1-dSw1ndh1aEsnQpUA2IIm18xy9x0=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.11.1.tgz} + resolution: {integrity: sha1-dSw1ndh1aEsnQpUA2IIm18xy9x0=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.11.1.tgz} engines: {node: '>=14.0.0'} cpu: [wasm32] '@unrs/resolver-binding-win32-arm64-msvc@1.11.1': - resolution: {integrity: sha1-zlc15gDkwvu0Cc0FGzt9pKOZrzU=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.11.1.tgz} + resolution: {integrity: sha1-zlc15gDkwvu0Cc0FGzt9pKOZrzU=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.11.1.tgz} cpu: [arm64] os: [win32] '@unrs/resolver-binding-win32-ia32-msvc@1.11.1': - resolution: {integrity: sha1-cvxXvHxk7Fw94NZO4NGBAxe8YKY=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.11.1.tgz} + resolution: {integrity: sha1-cvxXvHxk7Fw94NZO4NGBAxe8YKY=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.11.1.tgz} cpu: [ia32] os: [win32] @@ -10853,7 +10874,7 @@ packages: engines: {node: '>=8.9.3'} '@vscode/vsce-sign-alpine-arm64@2.0.6': - resolution: {integrity: sha1-LNJEyvXo7FQ/QvuR1N87kzZByPo=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@vscode/vsce-sign-alpine-arm64/-/vsce-sign-alpine-arm64-2.0.6.tgz} + resolution: {integrity: sha1-LNJEyvXo7FQ/QvuR1N87kzZByPo=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@vscode/vsce-sign-alpine-arm64/-/vsce-sign-alpine-arm64-2.0.6.tgz} cpu: [arm64] os: [alpine] @@ -10873,22 +10894,22 @@ packages: os: [darwin] '@vscode/vsce-sign-linux-arm64@2.0.6': - resolution: {integrity: sha1-s9hWAUQEC5INjG7dQ3QxS1glVIE=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@vscode/vsce-sign-linux-arm64/-/vsce-sign-linux-arm64-2.0.6.tgz} + resolution: {integrity: sha1-s9hWAUQEC5INjG7dQ3QxS1glVIE=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@vscode/vsce-sign-linux-arm64/-/vsce-sign-linux-arm64-2.0.6.tgz} cpu: [arm64] os: [linux] '@vscode/vsce-sign-linux-arm@2.0.6': - resolution: {integrity: sha1-CifEKkrbN+lu7HjNe/o4jNTp++8=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@vscode/vsce-sign-linux-arm/-/vsce-sign-linux-arm-2.0.6.tgz} + resolution: {integrity: sha1-CifEKkrbN+lu7HjNe/o4jNTp++8=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@vscode/vsce-sign-linux-arm/-/vsce-sign-linux-arm-2.0.6.tgz} cpu: [arm] os: [linux] '@vscode/vsce-sign-linux-x64@2.0.6': - resolution: {integrity: sha1-reEcru7VJPwWvWxDykmuoAKV3ow=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@vscode/vsce-sign-linux-x64/-/vsce-sign-linux-x64-2.0.6.tgz} + resolution: {integrity: sha1-reEcru7VJPwWvWxDykmuoAKV3ow=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@vscode/vsce-sign-linux-x64/-/vsce-sign-linux-x64-2.0.6.tgz} cpu: [x64] os: [linux] '@vscode/vsce-sign-win32-arm64@2.0.6': - resolution: {integrity: sha1-BoiWgUjgPrOSR5yEkcclBnIb7/w=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@vscode/vsce-sign-win32-arm64/-/vsce-sign-win32-arm64-2.0.6.tgz} + resolution: {integrity: sha1-BoiWgUjgPrOSR5yEkcclBnIb7/w=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@vscode/vsce-sign-win32-arm64/-/vsce-sign-win32-arm64-2.0.6.tgz} cpu: [arm64] os: [win32] @@ -11018,11 +11039,11 @@ packages: engines: {node: '>=10.13'} '@zkochan/js-yaml@0.0.11': - resolution: {integrity: sha1-T2aH2CGxW1MG1Z391Mu32K5wHI0=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@zkochan/js-yaml/-/js-yaml-0.0.11.tgz} + resolution: {integrity: sha1-T2aH2CGxW1MG1Z391Mu32K5wHI0=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@zkochan/js-yaml/-/js-yaml-0.0.11.tgz} hasBin: true '@zkochan/js-yaml@0.0.6': - resolution: {integrity: sha1-l18LMG5wXii4BooHc3+kbT/ASCY=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz} + resolution: {integrity: sha1-l18LMG5wXii4BooHc3+kbT/ASCY=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz} hasBin: true '@zkochan/rimraf@2.1.3': @@ -11034,7 +11055,7 @@ packages: engines: {node: '>=18.12'} '@zkochan/which@2.0.3': - resolution: {integrity: sha1-okOQNZOQ04wVH6YHgbNiC8WhMtA=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@zkochan/which/-/which-2.0.3.tgz} + resolution: {integrity: sha1-okOQNZOQ04wVH6YHgbNiC8WhMtA=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@zkochan/which/-/which-2.0.3.tgz} engines: {node: '>= 8'} hasBin: true @@ -11674,7 +11695,7 @@ packages: resolution: {integrity: sha512-D4H1y5KYwpJgK8wk1Cue5LLPgmwHKYSChkbspQg5JtVuR5ulGckxfR62H3AE9UDkdMC8yyXlqYihuz3Aqg2XZg==} bindings@1.5.0: - resolution: {integrity: sha1-EDU8npRTNLwFEabZCzj7x8nFBN8=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/bindings/-/bindings-1.5.0.tgz} + resolution: {integrity: sha1-EDU8npRTNLwFEabZCzj7x8nFBN8=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/bindings/-/bindings-1.5.0.tgz} bl@4.1.0: resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} @@ -12961,13 +12982,13 @@ packages: resolution: {integrity: sha512-Twf7I2v4/1tLoIXMT8HlqaBSS5H2wQTs2wx3MNYCI8K1R1/clXyCazrcVCPm/FuO9cyV8+leEaZOWD5C253NDg==} esbuild-android-64@0.14.54: - resolution: {integrity: sha1-UF9BgyiEMTu6/7J3BLi8qi2GFr4=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-android-64/-/esbuild-android-64-0.14.54.tgz} + resolution: {integrity: sha1-UF9BgyiEMTu6/7J3BLi8qi2GFr4=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-android-64/-/esbuild-android-64-0.14.54.tgz} engines: {node: '>=12'} cpu: [x64] os: [android] esbuild-android-arm64@0.14.54: - resolution: {integrity: sha1-jOadfKuklkbgCZaP5XVKIamHF3E=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-android-arm64/-/esbuild-android-arm64-0.14.54.tgz} + resolution: {integrity: sha1-jOadfKuklkbgCZaP5XVKIamHF3E=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-android-arm64/-/esbuild-android-arm64-0.14.54.tgz} engines: {node: '>=12'} cpu: [arm64] os: [android] @@ -12979,55 +13000,55 @@ packages: os: [darwin] esbuild-darwin-arm64@0.14.54: - resolution: {integrity: sha1-P3zbeIiO4F5IjSUKK9qrH6Zxv3M=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.54.tgz} + resolution: {integrity: sha1-P3zbeIiO4F5IjSUKK9qrH6Zxv3M=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.54.tgz} engines: {node: '>=12'} cpu: [arm64] os: [darwin] esbuild-freebsd-64@0.14.54: - resolution: {integrity: sha1-CSUPmXpW7UZQ8+GXnJBf/EC76U0=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.54.tgz} + resolution: {integrity: sha1-CSUPmXpW7UZQ8+GXnJBf/EC76U0=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.54.tgz} engines: {node: '>=12'} cpu: [x64] os: [freebsd] esbuild-freebsd-arm64@0.14.54: - resolution: {integrity: sha1-uvtG7QT8X5fL2wFthpR6eVefjkg=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.54.tgz} + resolution: {integrity: sha1-uvtG7QT8X5fL2wFthpR6eVefjkg=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.54.tgz} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] esbuild-linux-32@0.14.54: - resolution: {integrity: sha1-4qjEqO/cNVQFMlAz/OvrlB94H+U=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-linux-32/-/esbuild-linux-32-0.14.54.tgz} + resolution: {integrity: sha1-4qjEqO/cNVQFMlAz/OvrlB94H+U=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-linux-32/-/esbuild-linux-32-0.14.54.tgz} engines: {node: '>=12'} cpu: [ia32] os: [linux] esbuild-linux-64@0.14.54: - resolution: {integrity: sha1-3l/boclWZs9yNp9StAsDvnEiZlI=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-linux-64/-/esbuild-linux-64-0.14.54.tgz} + resolution: {integrity: sha1-3l/boclWZs9yNp9StAsDvnEiZlI=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-linux-64/-/esbuild-linux-64-0.14.54.tgz} engines: {node: '>=12'} cpu: [x64] os: [linux] esbuild-linux-arm64@0.14.54: - resolution: {integrity: sha1-2uTNQq6Xh0aLalwVjaTIToOwzos=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.54.tgz} + resolution: {integrity: sha1-2uTNQq6Xh0aLalwVjaTIToOwzos=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.54.tgz} engines: {node: '>=12'} cpu: [arm64] os: [linux] esbuild-linux-arm@0.14.54: - resolution: {integrity: sha1-osHf9tDyHb6PxpmKEiZ1Uz3fzVk=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-linux-arm/-/esbuild-linux-arm-0.14.54.tgz} + resolution: {integrity: sha1-osHf9tDyHb6PxpmKEiZ1Uz3fzVk=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-linux-arm/-/esbuild-linux-arm-0.14.54.tgz} engines: {node: '>=12'} cpu: [arm] os: [linux] esbuild-linux-mips64le@0.14.54: - resolution: {integrity: sha1-2ZGOnky5cvjW2ujoZVv57hMe2jQ=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.54.tgz} + resolution: {integrity: sha1-2ZGOnky5cvjW2ujoZVv57hMe2jQ=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.54.tgz} engines: {node: '>=12'} cpu: [mips64el] os: [linux] esbuild-linux-ppc64le@0.14.54: - resolution: {integrity: sha1-P5oPbUEHP7GmQGgIRcfeUplfE34=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.54.tgz} + resolution: {integrity: sha1-P5oPbUEHP7GmQGgIRcfeUplfE34=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.54.tgz} engines: {node: '>=12'} cpu: [ppc64] os: [linux] @@ -13039,19 +13060,19 @@ packages: os: [linux] esbuild-linux-s390x@0.14.54: - resolution: {integrity: sha1-0YhcTFp2u7Wg/hguLIxg654p8qY=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.54.tgz} + resolution: {integrity: sha1-0YhcTFp2u7Wg/hguLIxg654p8qY=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.54.tgz} engines: {node: '>=12'} cpu: [s390x] os: [linux] esbuild-netbsd-64@0.14.54: - resolution: {integrity: sha1-aa6Rei/yQbffHb8iuvBL0zA0noE=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.54.tgz} + resolution: {integrity: sha1-aa6Rei/yQbffHb8iuvBL0zA0noE=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.54.tgz} engines: {node: '>=12'} cpu: [x64] os: [netbsd] esbuild-openbsd-64@0.14.54: - resolution: {integrity: sha1-20yElSh6NQpnkN4i7eokelfF1Hs=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.54.tgz} + resolution: {integrity: sha1-20yElSh6NQpnkN4i7eokelfF1Hs=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.54.tgz} engines: {node: '>=12'} cpu: [x64] os: [openbsd] @@ -13080,13 +13101,13 @@ packages: os: [win32] esbuild-windows-64@0.14.54: - resolution: {integrity: sha1-v1S1G9PpsPGIb/2yJKQXYDHqCvQ=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-windows-64/-/esbuild-windows-64-0.14.54.tgz} + resolution: {integrity: sha1-v1S1G9PpsPGIb/2yJKQXYDHqCvQ=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-windows-64/-/esbuild-windows-64-0.14.54.tgz} engines: {node: '>=12'} cpu: [x64] os: [win32] esbuild-windows-arm64@0.14.54: - resolution: {integrity: sha1-k30VZ1oV5LDk+v26o6Aad2or6YI=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.54.tgz} + resolution: {integrity: sha1-k30VZ1oV5LDk+v26o6Aad2or6YI=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.54.tgz} engines: {node: '>=12'} cpu: [arm64] os: [win32] @@ -13381,7 +13402,7 @@ packages: resolution: {integrity: sha512-nQn+hI3yp+oD0huYhKwvYI32+JFeq+XkNcD1GAo3Y/MjxsfVGmrrzrnzjWiNY6f+pUCP440fThsFh5gZrRAU/w==} execa@1.0.0: - resolution: {integrity: sha1-xiNqW7TfbW8V6I5/AXeYIWdJ3dg=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/execa/-/execa-1.0.0.tgz} + resolution: {integrity: sha1-xiNqW7TfbW8V6I5/AXeYIWdJ3dg=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/execa/-/execa-1.0.0.tgz} engines: {node: '>=6'} execa@5.1.1: @@ -13567,7 +13588,7 @@ packages: resolution: {integrity: sha512-IzF5MBq+5CR0jXx5RxPe4BICl/oEhBSXKaL9fLhAXrIfIUS77Hr4vzrYyqYMHN6uTt+BOqi3fDCTjjEBCjERKw==} file-uri-to-path@1.0.0: - resolution: {integrity: sha1-VTp7hEb/b2hDWcRF8eN6BdrMM90=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz} + resolution: {integrity: sha1-VTp7hEb/b2hDWcRF8eN6BdrMM90=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz} fill-range@4.0.0: resolution: {integrity: sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==} @@ -13773,18 +13794,18 @@ packages: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} fsevents@1.2.13: - resolution: {integrity: sha1-8yXLBFVZJCi88Rs4M3DvcOO/zDg=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/fsevents/-/fsevents-1.2.13.tgz} + resolution: {integrity: sha1-8yXLBFVZJCi88Rs4M3DvcOO/zDg=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/fsevents/-/fsevents-1.2.13.tgz} engines: {node: '>= 4.0'} os: [darwin] deprecated: Upgrade to fsevents v2 to mitigate potential security issues fsevents@2.3.2: - resolution: {integrity: sha1-ilJveLj99GI7cJ4Ll1xSwkwC/Ro=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/fsevents/-/fsevents-2.3.2.tgz} + resolution: {integrity: sha1-ilJveLj99GI7cJ4Ll1xSwkwC/Ro=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/fsevents/-/fsevents-2.3.2.tgz} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] fsevents@2.3.3: - resolution: {integrity: sha1-ysZAd4XQNnWipeGlMFxpezR9kNY=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/fsevents/-/fsevents-2.3.3.tgz} + resolution: {integrity: sha1-ysZAd4XQNnWipeGlMFxpezR9kNY=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/fsevents/-/fsevents-2.3.3.tgz} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] @@ -13855,15 +13876,15 @@ packages: engines: {node: '>= 0.4'} get-stream@4.1.0: - resolution: {integrity: sha1-wbJVV189wh1Zv8ec09K0axw6VLU=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/get-stream/-/get-stream-4.1.0.tgz} + resolution: {integrity: sha1-wbJVV189wh1Zv8ec09K0axw6VLU=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/get-stream/-/get-stream-4.1.0.tgz} engines: {node: '>=6'} get-stream@5.2.0: - resolution: {integrity: sha1-SWaheV7lrOZecGxLe+txJX1uItM=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/get-stream/-/get-stream-5.2.0.tgz} + resolution: {integrity: sha1-SWaheV7lrOZecGxLe+txJX1uItM=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/get-stream/-/get-stream-5.2.0.tgz} engines: {node: '>=8'} get-stream@6.0.1: - resolution: {integrity: sha1-omLY7vZ6ztV8KFKtYWdSakPL97c=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/get-stream/-/get-stream-6.0.1.tgz} + resolution: {integrity: sha1-omLY7vZ6ztV8KFKtYWdSakPL97c=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/get-stream/-/get-stream-6.0.1.tgz} engines: {node: '>=10'} get-symbol-description@1.1.0: @@ -13997,7 +14018,7 @@ packages: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} graphql@16.13.2: - resolution: {integrity: sha1-TStz31eWsgHxvCdl9dcGf2ictV8=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/graphql/-/graphql-16.13.2.tgz} + resolution: {integrity: sha1-TStz31eWsgHxvCdl9dcGf2ictV8=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/graphql/-/graphql-16.13.2.tgz} engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} gzip-size@6.0.0: @@ -14630,11 +14651,11 @@ packages: engines: {node: '>= 0.4'} is-stream@1.1.0: - resolution: {integrity: sha1-EtSj3U5o4Lec6428hBc66A2RykQ=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/is-stream/-/is-stream-1.1.0.tgz} + resolution: {integrity: sha1-EtSj3U5o4Lec6428hBc66A2RykQ=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/is-stream/-/is-stream-1.1.0.tgz} engines: {node: '>=0.10.0'} is-stream@2.0.1: - resolution: {integrity: sha1-+sHj1TuXrVqdCunO8jifWBClwHc=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/is-stream/-/is-stream-2.0.1.tgz} + resolution: {integrity: sha1-+sHj1TuXrVqdCunO8jifWBClwHc=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/is-stream/-/is-stream-2.0.1.tgz} engines: {node: '>=8'} is-string@1.1.1: @@ -15188,7 +15209,7 @@ packages: resolution: {integrity: sha512-o5kvLbuTF+o326CMVYpjlaykxqYP9DphFQZ2ZpgrvBouyvOxyEB7oqe8nOLFpiV5VCtz0D3pt8gXQYWpLpBnmA==} keytar@7.9.0: - resolution: {integrity: sha1-TGIlcI9RtQy/d8Wq6BchlkwpGMs=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/keytar/-/keytar-7.9.0.tgz} + resolution: {integrity: sha1-TGIlcI9RtQy/d8Wq6BchlkwpGMs=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/keytar/-/keytar-7.9.0.tgz} keyv@4.5.4: resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} @@ -15756,7 +15777,7 @@ packages: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} nan@2.26.2: - resolution: {integrity: sha1-Ll4ldkIkxze5iXeQtXwylNTc7pw=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/nan/-/nan-2.26.2.tgz} + resolution: {integrity: sha1-Ll4ldkIkxze5iXeQtXwylNTc7pw=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/nan/-/nan-2.26.2.tgz} nanoid@3.3.11: resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} @@ -15906,11 +15927,11 @@ packages: hasBin: true npm-run-path@2.0.2: - resolution: {integrity: sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/npm-run-path/-/npm-run-path-2.0.2.tgz} + resolution: {integrity: sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/npm-run-path/-/npm-run-path-2.0.2.tgz} engines: {node: '>=4'} npm-run-path@4.0.1: - resolution: {integrity: sha1-t+zR5e1T2o43pV4cImnguX7XSOo=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/npm-run-path/-/npm-run-path-4.0.1.tgz} + resolution: {integrity: sha1-t+zR5e1T2o43pV4cImnguX7XSOo=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/npm-run-path/-/npm-run-path-4.0.1.tgz} engines: {node: '>=8'} npmlog@4.1.2: @@ -16240,7 +16261,7 @@ packages: engines: {node: '>=0.10.0'} path-key@2.0.1: - resolution: {integrity: sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/path-key/-/path-key-2.0.1.tgz} + resolution: {integrity: sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/path-key/-/path-key-2.0.1.tgz} engines: {node: '>=4'} path-key@3.1.1: @@ -16248,7 +16269,7 @@ packages: engines: {node: '>=8'} path-name@1.0.0: - resolution: {integrity: sha1-jKBjpj3nmC36lXYO2v/RAhRJTyQ=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/path-name/-/path-name-1.0.0.tgz} + resolution: {integrity: sha1-jKBjpj3nmC36lXYO2v/RAhRJTyQ=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/path-name/-/path-name-1.0.0.tgz} path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} @@ -16842,7 +16863,7 @@ packages: resolution: {integrity: sha512-SbiLPU40JuJniHexQSAgad32hfwd+DRUdwF2PlVuI5RZD0/vahUco7R8vD86J/tcEKKF9vZrUVwgtmGCqlCKyA==} ramda@0.28.0: - resolution: {integrity: sha1-rNeFaQEAM36LBjyrNHABm+QnzJc=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/ramda/-/ramda-0.28.0.tgz} + resolution: {integrity: sha1-rNeFaQEAM36LBjyrNHABm+QnzJc=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/ramda/-/ramda-0.28.0.tgz} randombytes@2.1.0: resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} @@ -17323,7 +17344,7 @@ packages: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} safe-execa@0.1.2: - resolution: {integrity: sha1-L7sKbxoAx6RexwM/gmWXV/kb6Mc=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/safe-execa/-/safe-execa-0.1.2.tgz} + resolution: {integrity: sha1-L7sKbxoAx6RexwM/gmWXV/kb6Mc=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/safe-execa/-/safe-execa-0.1.2.tgz} engines: {node: '>=12'} safe-push-apply@1.0.0: @@ -17350,25 +17371,25 @@ packages: hasBin: true sass-embedded-android-arm64@1.85.1: - resolution: {integrity: sha1-HKnF4G6hqOz3T/f76mcXBs/lAyA=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-android-arm64/-/sass-embedded-android-arm64-1.85.1.tgz} + resolution: {integrity: sha1-HKnF4G6hqOz3T/f76mcXBs/lAyA=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-android-arm64/-/sass-embedded-android-arm64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [arm64] os: [android] sass-embedded-android-arm@1.85.1: - resolution: {integrity: sha1-87zVn7BcKTGuoSaUlqCYj4C5Nq8=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-android-arm/-/sass-embedded-android-arm-1.85.1.tgz} + resolution: {integrity: sha1-87zVn7BcKTGuoSaUlqCYj4C5Nq8=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-android-arm/-/sass-embedded-android-arm-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [arm] os: [android] sass-embedded-android-ia32@1.85.1: - resolution: {integrity: sha1-C0jPGwoVfAZtjWyPTHz102trIps=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-android-ia32/-/sass-embedded-android-ia32-1.85.1.tgz} + resolution: {integrity: sha1-C0jPGwoVfAZtjWyPTHz102trIps=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-android-ia32/-/sass-embedded-android-ia32-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [ia32] os: [android] sass-embedded-android-riscv64@1.85.1: - resolution: {integrity: sha1-sgJKrrdUVAEb0qOujuTKwnO15xE=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-android-riscv64/-/sass-embedded-android-riscv64-1.85.1.tgz} + resolution: {integrity: sha1-sgJKrrdUVAEb0qOujuTKwnO15xE=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-android-riscv64/-/sass-embedded-android-riscv64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [riscv64] os: [android] @@ -17380,79 +17401,79 @@ packages: os: [android] sass-embedded-darwin-arm64@1.85.1: - resolution: {integrity: sha1-eay7aGfQFolvhDlxvfoKx24QHfg=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-darwin-arm64/-/sass-embedded-darwin-arm64-1.85.1.tgz} + resolution: {integrity: sha1-eay7aGfQFolvhDlxvfoKx24QHfg=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-darwin-arm64/-/sass-embedded-darwin-arm64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [arm64] os: [darwin] sass-embedded-darwin-x64@1.85.1: - resolution: {integrity: sha1-FH7PSb8tGC295s7zN6WKBbepOrE=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-darwin-x64/-/sass-embedded-darwin-x64-1.85.1.tgz} + resolution: {integrity: sha1-FH7PSb8tGC295s7zN6WKBbepOrE=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-darwin-x64/-/sass-embedded-darwin-x64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [x64] os: [darwin] sass-embedded-linux-arm64@1.85.1: - resolution: {integrity: sha1-XHtcJ0lTKZZjClUS0OG/bYRyrNM=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-arm64/-/sass-embedded-linux-arm64-1.85.1.tgz} + resolution: {integrity: sha1-XHtcJ0lTKZZjClUS0OG/bYRyrNM=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-arm64/-/sass-embedded-linux-arm64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [arm64] os: [linux] sass-embedded-linux-arm@1.85.1: - resolution: {integrity: sha1-iZy6lLc+sRn2Q0aInkZt4xtvXTw=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-arm/-/sass-embedded-linux-arm-1.85.1.tgz} + resolution: {integrity: sha1-iZy6lLc+sRn2Q0aInkZt4xtvXTw=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-arm/-/sass-embedded-linux-arm-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [arm] os: [linux] sass-embedded-linux-ia32@1.85.1: - resolution: {integrity: sha1-8bpT8DQ4ljWv6cEFm8Nqd5NkIbg=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-ia32/-/sass-embedded-linux-ia32-1.85.1.tgz} + resolution: {integrity: sha1-8bpT8DQ4ljWv6cEFm8Nqd5NkIbg=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-ia32/-/sass-embedded-linux-ia32-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [ia32] os: [linux] sass-embedded-linux-musl-arm64@1.85.1: - resolution: {integrity: sha1-sUziYVx6tGJuiMuiZW+Ro6dI4c4=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-musl-arm64/-/sass-embedded-linux-musl-arm64-1.85.1.tgz} + resolution: {integrity: sha1-sUziYVx6tGJuiMuiZW+Ro6dI4c4=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-musl-arm64/-/sass-embedded-linux-musl-arm64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [arm64] os: [linux] sass-embedded-linux-musl-arm@1.85.1: - resolution: {integrity: sha1-Qo5eKZqf9N/SC1eGHSRAQotfvfY=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-musl-arm/-/sass-embedded-linux-musl-arm-1.85.1.tgz} + resolution: {integrity: sha1-Qo5eKZqf9N/SC1eGHSRAQotfvfY=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-musl-arm/-/sass-embedded-linux-musl-arm-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [arm] os: [linux] sass-embedded-linux-musl-ia32@1.85.1: - resolution: {integrity: sha1-BwYJr9mc0Pnq5yGGyfSi0M32lE0=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-musl-ia32/-/sass-embedded-linux-musl-ia32-1.85.1.tgz} + resolution: {integrity: sha1-BwYJr9mc0Pnq5yGGyfSi0M32lE0=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-musl-ia32/-/sass-embedded-linux-musl-ia32-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [ia32] os: [linux] sass-embedded-linux-musl-riscv64@1.85.1: - resolution: {integrity: sha1-D0JkvkAnfXzBgUnJ4PA68JVi5vc=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-musl-riscv64/-/sass-embedded-linux-musl-riscv64-1.85.1.tgz} + resolution: {integrity: sha1-D0JkvkAnfXzBgUnJ4PA68JVi5vc=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-musl-riscv64/-/sass-embedded-linux-musl-riscv64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [riscv64] os: [linux] sass-embedded-linux-musl-x64@1.85.1: - resolution: {integrity: sha1-tUteH2RtHwwJ2d9+Dm1JYNbtf6E=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-musl-x64/-/sass-embedded-linux-musl-x64-1.85.1.tgz} + resolution: {integrity: sha1-tUteH2RtHwwJ2d9+Dm1JYNbtf6E=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-musl-x64/-/sass-embedded-linux-musl-x64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [x64] os: [linux] sass-embedded-linux-riscv64@1.85.1: - resolution: {integrity: sha1-Jxh3Mwf5T+uBXk4vu1qnMiao03U=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-riscv64/-/sass-embedded-linux-riscv64-1.85.1.tgz} + resolution: {integrity: sha1-Jxh3Mwf5T+uBXk4vu1qnMiao03U=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-riscv64/-/sass-embedded-linux-riscv64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [riscv64] os: [linux] sass-embedded-linux-x64@1.85.1: - resolution: {integrity: sha1-BmTMiGuHgYrJ0pv06fKZ/mxj9SQ=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-x64/-/sass-embedded-linux-x64-1.85.1.tgz} + resolution: {integrity: sha1-BmTMiGuHgYrJ0pv06fKZ/mxj9SQ=, tarball: https://ms-feed-2.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-x64/-/sass-embedded-linux-x64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [x64] os: [linux] sass-embedded-win32-arm64@1.85.1: - resolution: {integrity: sha1-0Ht1X4QI193huDCNOlf7/NqdkJw=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-win32-arm64/-/sass-embedded-win32-arm64-1.85.1.tgz} + resolution: {integrity: sha1-0Ht1X4QI193huDCNOlf7/NqdkJw=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-win32-arm64/-/sass-embedded-win32-arm64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [arm64] os: [win32] @@ -17464,7 +17485,7 @@ packages: os: [win32] sass-embedded-win32-x64@1.85.1: - resolution: {integrity: sha1-dY+5bBbncmWkt/JHSkOWLXHvX/0=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-win32-x64/-/sass-embedded-win32-x64-1.85.1.tgz} + resolution: {integrity: sha1-dY+5bBbncmWkt/JHSkOWLXHvX/0=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-win32-x64/-/sass-embedded-win32-x64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [x64] os: [win32] @@ -18033,7 +18054,7 @@ packages: engines: {node: '>=0.10.0'} strip-final-newline@2.0.0: - resolution: {integrity: sha1-ibhS+y/L6Tb29LMYevsKEsGrWK0=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/strip-final-newline/-/strip-final-newline-2.0.0.tgz} + resolution: {integrity: sha1-ibhS+y/L6Tb29LMYevsKEsGrWK0=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/strip-final-newline/-/strip-final-newline-2.0.0.tgz} engines: {node: '>=6'} strip-indent@3.0.0: @@ -18798,7 +18819,7 @@ packages: resolution: {integrity: sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==} watchpack-chokidar2@2.0.1: - resolution: {integrity: sha1-OFAAcu5uzmbzdpk2lQ6hdxvhyVc=, tarball: https://ms-feed-17.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz} + resolution: {integrity: sha1-OFAAcu5uzmbzdpk2lQ6hdxvhyVc=, tarball: https://ms-feed-12.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz} watchpack@1.7.5: resolution: {integrity: sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ==} @@ -21384,14 +21405,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/config-array@0.21.2': - dependencies: - '@eslint/object-schema': 2.1.7 - debug: 4.4.3 - minimatch: 3.1.5 - transitivePeerDependencies: - - supports-color - '@eslint/config-array@0.21.2(supports-color@8.1.1)': dependencies: '@eslint/object-schema': 2.1.7 @@ -21475,20 +21488,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/eslintrc@3.3.5': - dependencies: - ajv: 6.14.0 - debug: 4.4.3 - espree: 10.4.0 - globals: 14.0.0 - ignore: 5.3.2 - import-fresh: 3.3.1 - js-yaml: 4.1.1 - minimatch: 3.1.5 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - '@eslint/eslintrc@3.3.5(supports-color@8.1.1)': dependencies: ajv: 6.14.0 @@ -29848,10 +29847,6 @@ snapshots: dependencies: ms: 2.1.3 - debug@4.4.3: - dependencies: - ms: 2.1.3 - debug@4.4.3(supports-color@8.1.1): dependencies: ms: 2.1.3 @@ -31004,7 +30999,7 @@ snapshots: eslint@8.57.1: dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@9.37.0) + '@eslint-community/eslint-utils': 4.9.1(eslint@8.57.1) '@eslint-community/regexpp': 4.12.2 '@eslint/eslintrc': 2.1.4 '@eslint/js': 8.57.1 @@ -31132,10 +31127,10 @@ snapshots: dependencies: '@eslint-community/eslint-utils': 4.9.1(eslint@9.37.0) '@eslint-community/regexpp': 4.12.2 - '@eslint/config-array': 0.21.2 + '@eslint/config-array': 0.21.2(supports-color@8.1.1) '@eslint/config-helpers': 0.4.2 '@eslint/core': 0.16.0 - '@eslint/eslintrc': 3.3.5 + '@eslint/eslintrc': 3.3.5(supports-color@8.1.1) '@eslint/js': 9.37.0 '@eslint/plugin-kit': 0.4.1 '@humanfs/node': 0.16.7 @@ -31146,7 +31141,7 @@ snapshots: ajv: 6.14.0 chalk: 4.1.2 cross-spawn: 7.0.6 - debug: 4.4.3 + debug: 4.4.3(supports-color@8.1.1) escape-string-regexp: 4.0.0 eslint-scope: 8.4.0 eslint-visitor-keys: 4.2.1 @@ -32417,7 +32412,7 @@ snapshots: http-proxy-agent@7.0.2: dependencies: agent-base: 7.1.4 - debug: 4.4.3 + debug: 4.4.3(supports-color@8.1.1) transitivePeerDependencies: - supports-color @@ -32471,7 +32466,7 @@ snapshots: https-proxy-agent@7.0.6: dependencies: agent-base: 7.1.4 - debug: 4.4.3 + debug: 4.4.3(supports-color@8.1.1) transitivePeerDependencies: - supports-color diff --git a/common/config/subspaces/default/repo-state.json b/common/config/subspaces/default/repo-state.json index f5c9a48ad27..d9cdd4a624f 100644 --- a/common/config/subspaces/default/repo-state.json +++ b/common/config/subspaces/default/repo-state.json @@ -1,5 +1,5 @@ // DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush. { - "pnpmShrinkwrapHash": "5e497695fa39fd0edca40a3b9747865bb096554c", + "pnpmShrinkwrapHash": "5679de10c0f046ad6deb5a34787e72e828c123fa", "preferredVersionsHash": "029c99bd6e65c5e1f25e2848340509811ff9753c" } diff --git a/eslint/eslint-bulk/.eslint-bulk-suppressions.json b/eslint/eslint-bulk/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..22191ac8d40 --- /dev/null +++ b/eslint/eslint-bulk/.eslint-bulk-suppressions.json @@ -0,0 +1,39 @@ +{ + "suppressions": [ + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/start.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/start.ts", + "scopeId": ".findPatchPath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/start.ts", + "scopeId": ".findPatchPath", + "rule": "complexity" + }, + { + "file": "src/start.ts", + "scopeId": ".findPatchPath", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/eslint/eslint-bulk/eslint.config.js b/eslint/eslint-bulk/eslint.config.js index ceb5a1bee40..385baceff3b 100644 --- a/eslint/eslint-bulk/eslint.config.js +++ b/eslint/eslint-bulk/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/eslint/eslint-patch/.eslint-bulk-suppressions.json b/eslint/eslint-patch/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..01cb1dbf2c4 --- /dev/null +++ b/eslint/eslint-patch/.eslint-bulk-suppressions.json @@ -0,0 +1,389 @@ +{ + "suppressions": [ + { + "file": "src/_patch-base.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/_patch-base.ts", + "scopeId": ".", + "rule": "max-depth" + }, + { + "file": "src/_patch-base.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/_patch-base.ts", + "scopeId": ".getStackTrace", + "rule": "complexity" + }, + { + "file": "src/_patch-base.ts", + "scopeId": ".isModuleResolutionError", + "rule": "complexity" + }, + { + "file": "src/_patch-base.ts", + "scopeId": ".parseNodeStack", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/custom-config-package-names.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/custom-config-package-names.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/eslint-bulk-suppressions/ast-guards.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/eslint-bulk-suppressions/ast-guards.ts", + "scopeId": ".isNodeWithName", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/ast-guards.ts", + "scopeId": ".isNormalClassPropertyDefinition", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-file.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-file.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-file.ts", + "scopeId": ".compareSuppressions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-file.ts", + "scopeId": ".compareSuppressions", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-file.ts", + "scopeId": ".getSuppressionsConfigForEslintConfigFolderPath", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-file.ts", + "scopeId": ".getSuppressionsConfigForEslintConfigFolderPath", + "rule": "max-lines-per-function" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-file.ts", + "scopeId": ".validateSuppressionsJson", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-file.ts", + "scopeId": ".validateSuppressionsJson", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-file.ts", + "scopeId": ".validateSuppressionsJson", + "rule": "max-lines-per-function" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-file.ts", + "scopeId": ".writeSuppressionsJsonToFile", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".calculateScopeId", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".calculateScopeId", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".extendVerifyFunction", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".extendVerifyFunction", + "rule": "max-depth" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".findEslintConfigFolderPathForNormalizedFileAbsolutePath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".findEslintConfigFolderPathForNormalizedFileAbsolutePath", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".findEslintConfigFolderPathForNormalizedFileAbsolutePath", + "rule": "max-lines-per-function" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".getNodeName", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".patchClass", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".shouldBulkSuppress", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".shouldBulkSuppress", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/bulk-suppressions-patch.ts", + "scopeId": ".shouldBulkSuppress", + "rule": "max-lines-per-function" + }, + { + "file": "src/eslint-bulk-suppressions/cli/prune.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/eslint-bulk-suppressions/cli/prune.ts", + "scopeId": ".getAllFilesWithExistingSuppressionsForCwdAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/cli/prune.ts", + "scopeId": ".getAllFilesWithExistingSuppressionsForCwdAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/eslint-bulk-suppressions/cli/prune.ts", + "scopeId": ".pruneAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/cli/prune.ts", + "scopeId": ".pruneAsync", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/cli/runEslint.ts", + "scopeId": ".runEslintAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/cli/runEslint.ts", + "scopeId": ".runEslintAsync", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/cli/runEslint.ts", + "scopeId": ".runEslintAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/eslint-bulk-suppressions/cli/start.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/cli/suppress.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/eslint-bulk-suppressions/cli/suppress.ts", + "scopeId": ".suppressAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/cli/suppress.ts", + "scopeId": ".suppressAsync", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/cli/suppress.ts", + "scopeId": ".suppressAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/eslint-bulk-suppressions/cli/utils/get-eslint-cli.ts", + "scopeId": ".getEslintPathAndVersion", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/cli/utils/get-eslint-cli.ts", + "scopeId": ".getEslintPathAndVersion", + "rule": "max-lines-per-function" + }, + { + "file": "src/eslint-bulk-suppressions/cli/utils/is-correct-cwd.ts", + "scopeId": ".isCorrectCwd", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/cli/utils/print-help.ts", + "scopeId": ".printHelp", + "rule": "max-lines-per-function" + }, + { + "file": "src/eslint-bulk-suppressions/cli/utils/wrap-words-to-lines.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/eslint-bulk-suppressions/cli/utils/wrap-words-to-lines.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/eslint-bulk-suppressions/cli/utils/wrap-words-to-lines.ts", + "scopeId": ".wrapWordsToLines", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/cli/utils/wrap-words-to-lines.ts", + "scopeId": ".wrapWordsToLines", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/eslint-bulk-suppressions/cli/utils/wrap-words-to-lines.ts", + "scopeId": ".wrapWordsToLines", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/cli/utils/wrap-words-to-lines.ts", + "scopeId": ".wrapWordsToLines", + "rule": "max-depth" + }, + { + "file": "src/eslint-bulk-suppressions/cli/utils/wrap-words-to-lines.ts", + "scopeId": ".wrapWordsToLines", + "rule": "max-lines-per-function" + }, + { + "file": "src/eslint-bulk-suppressions/generate-patched-file.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/eslint-bulk-suppressions/generate-patched-file.ts", + "scopeId": ".generatePatchedLinterJsFileIfDoesNotExist", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/generate-patched-file.ts", + "scopeId": ".generatePatchedLinterJsFileIfDoesNotExist", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/generate-patched-file.ts", + "scopeId": ".generatePatchedLinterJsFileIfDoesNotExist", + "rule": "max-lines-per-function" + }, + { + "file": "src/eslint-bulk-suppressions/generate-patched-file.ts", + "scopeId": ".generatePatchedLinterJsFileIfDoesNotExist.getIndexOfNextMethod", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/generate-patched-file.ts", + "scopeId": ".generatePatchedLinterJsFileIfDoesNotExist.getIndexOfNextMethod", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/generate-patched-file.ts", + "scopeId": ".generatePatchedLinterJsFileIfDoesNotExist.indexOfStartOfClassMethod", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/generate-patched-file.ts", + "scopeId": ".generatePatchedLinterJsFileIfDoesNotExist.scanUntilMarker", + "rule": "complexity" + }, + { + "file": "src/eslint-bulk-suppressions/index.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/eslint-bulk-suppressions/index.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/eslint-bulk-suppressions/index.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/eslint-bulk-suppressions/path-utils.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/eslint-bulk-suppressions/path-utils.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/modern-module-resolution.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/modern-module-resolution.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/modern-module-resolution.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/eslint/eslint-patch/eslint.config.js b/eslint/eslint-patch/eslint.config.js index 98ad23894fd..06218254abf 100644 --- a/eslint/eslint-patch/eslint.config.js +++ b/eslint/eslint-patch/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/eslint/eslint-plugin-packlets/.eslint-bulk-suppressions.json b/eslint/eslint-plugin-packlets/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..d8bcfd68063 --- /dev/null +++ b/eslint/eslint-plugin-packlets/.eslint-bulk-suppressions.json @@ -0,0 +1,229 @@ +{ + "suppressions": [ + { + "file": "src/DependencyAnalyzer.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/DependencyAnalyzer.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/DependencyAnalyzer.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/DependencyAnalyzer.ts", + "scopeId": ".DependencyAnalyzer.checkEntryPointForCircularImport", + "rule": "complexity" + }, + { + "file": "src/DependencyAnalyzer.ts", + "scopeId": ".DependencyAnalyzer.checkEntryPointForCircularImport", + "rule": "max-lines-per-function" + }, + { + "file": "src/DependencyAnalyzer.ts", + "scopeId": "._walkImports", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/DependencyAnalyzer.ts", + "scopeId": "._walkImports", + "rule": "complexity" + }, + { + "file": "src/DependencyAnalyzer.ts", + "scopeId": "._walkImports", + "rule": "max-depth" + }, + { + "file": "src/DependencyAnalyzer.ts", + "scopeId": "._walkImports", + "rule": "max-lines-per-function" + }, + { + "file": "src/DependencyAnalyzer.ts", + "scopeId": "._walkImports", + "rule": "max-params" + }, + { + "file": "src/PackletAnalyzer.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/PackletAnalyzer.ts", + "scopeId": ".PackletAnalyzer.analyzeImport", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/PackletAnalyzer.ts", + "scopeId": ".PackletAnalyzer.analyzeImport", + "rule": "complexity" + }, + { + "file": "src/PackletAnalyzer.ts", + "scopeId": ".PackletAnalyzer.analyzeImport", + "rule": "max-depth" + }, + { + "file": "src/PackletAnalyzer.ts", + "scopeId": ".PackletAnalyzer.analyzeImport", + "rule": "max-lines-per-function" + }, + { + "file": "src/PackletAnalyzer.ts", + "scopeId": ".PackletAnalyzer.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/PackletAnalyzer.ts", + "scopeId": ".PackletAnalyzer.constructor", + "rule": "complexity" + }, + { + "file": "src/PackletAnalyzer.ts", + "scopeId": ".PackletAnalyzer.constructor", + "rule": "max-depth" + }, + { + "file": "src/PackletAnalyzer.ts", + "scopeId": ".PackletAnalyzer.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/Path.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/Path.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Path.ts", + "scopeId": "._relativeCaseInsensitive", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Path.ts", + "scopeId": "._relativeCaseInsensitive", + "rule": "complexity" + }, + { + "file": "src/Path.ts", + "scopeId": "._relativeCaseInsensitive", + "rule": "max-lines-per-function" + }, + { + "file": "src/circular-deps.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/circular-deps.ts", + "scopeId": ".circularDeps.create", + "rule": "max-lines-per-function" + }, + { + "file": "src/circular-deps.ts", + "scopeId": ".circularDeps.create.Program", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/circular-deps.ts", + "scopeId": ".circularDeps.create.Program", + "rule": "complexity" + }, + { + "file": "src/circular-deps.ts", + "scopeId": ".circularDeps.create.Program", + "rule": "max-depth" + }, + { + "file": "src/circular-deps.ts", + "scopeId": ".circularDeps.create.Program", + "rule": "max-lines-per-function" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/mechanics.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/mechanics.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/mechanics.ts", + "scopeId": ".mechanics.create", + "rule": "complexity" + }, + { + "file": "src/mechanics.ts", + "scopeId": ".mechanics.create", + "rule": "max-lines-per-function" + }, + { + "file": "src/readme.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/readme.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/readme.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/readme.ts", + "scopeId": ".readme.create", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/readme.ts", + "scopeId": ".readme.create", + "rule": "complexity" + }, + { + "file": "src/readme.ts", + "scopeId": ".readme.create", + "rule": "max-lines-per-function" + }, + { + "file": "src/readme.ts", + "scopeId": ".readme.create.Program", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/readme.ts", + "scopeId": ".readme.create.Program", + "rule": "complexity" + }, + { + "file": "src/readme.ts", + "scopeId": ".readme.create.Program", + "rule": "max-depth" + }, + { + "file": "src/readme.ts", + "scopeId": ".readme.create.Program", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/eslint/eslint-plugin-packlets/eslint.config.js b/eslint/eslint-plugin-packlets/eslint.config.js index f83aea7d1b7..0c0156944bc 100644 --- a/eslint/eslint-plugin-packlets/eslint.config.js +++ b/eslint/eslint-plugin-packlets/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/eslint/eslint-plugin-security/.eslint-bulk-suppressions.json b/eslint/eslint-plugin-security/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..806a00b661e --- /dev/null +++ b/eslint/eslint-plugin-security/.eslint-bulk-suppressions.json @@ -0,0 +1,14 @@ +{ + "suppressions": [ + { + "file": "src/no-unsafe-regexp.ts", + "scopeId": ".noUnsafeRegExp.create.NewExpression", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/no-unsafe-regexp.ts", + "scopeId": ".noUnsafeRegExp.create.NewExpression", + "rule": "complexity" + } + ] +} \ No newline at end of file diff --git a/eslint/eslint-plugin-security/eslint.config.js b/eslint/eslint-plugin-security/eslint.config.js index f83aea7d1b7..0c0156944bc 100644 --- a/eslint/eslint-plugin-security/eslint.config.js +++ b/eslint/eslint-plugin-security/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/eslint/eslint-plugin/.eslint-bulk-suppressions.json b/eslint/eslint-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..6797aebb73c --- /dev/null +++ b/eslint/eslint-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,354 @@ +{ + "suppressions": [ + { + "file": "src/LintUtilities.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/LintUtilities.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/LintUtilities.ts", + "scopeId": ".getImportPathFromExpression", + "rule": "complexity" + }, + { + "file": "src/LintUtilities.ts", + "scopeId": ".getRootDirectoryFromContext", + "rule": "complexity" + }, + { + "file": "src/LintUtilities.ts", + "scopeId": ".getRootDirectoryFromContext", + "rule": "max-lines-per-function" + }, + { + "file": "src/LintUtilities.ts", + "scopeId": ".parseImportSpecifierFromExpression", + "rule": "complexity" + }, + { + "file": "src/hoist-jest-mock.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/hoist-jest-mock.ts", + "scopeId": ".hoistJestMock.create", + "rule": "max-lines-per-function" + }, + { + "file": "src/hoist-jest-mock.ts", + "scopeId": ".hoistJestMock.create.CallExpression", + "rule": "complexity" + }, + { + "file": "src/hoist-jest-mock.ts", + "scopeId": ".hoistJestMock.create.TSImportEqualsDeclaration", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/hoist-jest-mock.ts", + "scopeId": ".hoistJestMock.create.findOuterStatement", + "rule": "complexity" + }, + { + "file": "src/hoist-jest-mock.ts", + "scopeId": ".hoistJestMock.create.isHoistableJestCall", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/hoist-jest-mock.ts", + "scopeId": ".hoistJestMock.create.isHoistableJestCall", + "rule": "complexity" + }, + { + "file": "src/import-requires-chunk-name.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/import-requires-chunk-name.ts", + "scopeId": ".importRequiresChunkNameRule.create.ImportExpression", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/import-requires-chunk-name.ts", + "scopeId": ".importRequiresChunkNameRule.create.ImportExpression", + "rule": "complexity" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/no-backslash-imports.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/no-backslash-imports.ts", + "scopeId": ".noBackslashImportsRule.create", + "rule": "max-lines-per-function" + }, + { + "file": "src/no-backslash-imports.ts", + "scopeId": ".noBackslashImportsRule.create.checkImportExpression", + "rule": "complexity" + }, + { + "file": "src/no-backslash-imports.ts", + "scopeId": ".noBackslashImportsRule.create.checkImportExpression", + "rule": "max-lines-per-function" + }, + { + "file": "src/no-external-local-imports.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/no-external-local-imports.ts", + "scopeId": ".noExternalLocalImportsRule.create", + "rule": "max-lines-per-function" + }, + { + "file": "src/no-external-local-imports.ts", + "scopeId": ".noExternalLocalImportsRule.create.checkImportExpression", + "rule": "complexity" + }, + { + "file": "src/no-new-null.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/no-new-null.ts", + "scopeId": ".noNewNullRule.create", + "rule": "max-lines-per-function" + }, + { + "file": "src/no-new-null.ts", + "scopeId": ".noNewNullRule.create.isAccessible", + "rule": "complexity" + }, + { + "file": "src/no-new-null.ts", + "scopeId": ".noNewNullRule.create.isDefinitionExportable", + "rule": "complexity" + }, + { + "file": "src/no-new-null.ts", + "scopeId": ".noNewNullRule.create.isNewNull", + "rule": "complexity" + }, + { + "file": "src/no-null.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/no-null.ts", + "scopeId": ".noNullRule.create.Literal", + "rule": "complexity" + }, + { + "file": "src/no-transitive-dependency-imports.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/no-transitive-dependency-imports.ts", + "scopeId": ".noTransitiveDependencyImportsRule.create", + "rule": "max-lines-per-function" + }, + { + "file": "src/no-transitive-dependency-imports.ts", + "scopeId": ".noTransitiveDependencyImportsRule.create.checkImportExpression", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/no-transitive-dependency-imports.ts", + "scopeId": ".noTransitiveDependencyImportsRule.create.checkImportExpression", + "rule": "complexity" + }, + { + "file": "src/no-transitive-dependency-imports.ts", + "scopeId": ".noTransitiveDependencyImportsRule.create.checkImportExpression", + "rule": "max-lines-per-function" + }, + { + "file": "src/no-untyped-underscore.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/no-untyped-underscore.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/no-untyped-underscore.ts", + "scopeId": ".noUntypedUnderscoreRule.create", + "rule": "complexity" + }, + { + "file": "src/no-untyped-underscore.ts", + "scopeId": ".noUntypedUnderscoreRule.create", + "rule": "max-lines-per-function" + }, + { + "file": "src/no-untyped-underscore.ts", + "scopeId": ".noUntypedUnderscoreRule.create.MemberExpression", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/no-untyped-underscore.ts", + "scopeId": ".noUntypedUnderscoreRule.create.MemberExpression", + "rule": "complexity" + }, + { + "file": "src/no-untyped-underscore.ts", + "scopeId": ".noUntypedUnderscoreRule.create.MemberExpression", + "rule": "max-depth" + }, + { + "file": "src/no-untyped-underscore.ts", + "scopeId": ".noUntypedUnderscoreRule.create.MemberExpression", + "rule": "max-lines-per-function" + }, + { + "file": "src/normalized-imports.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/normalized-imports.ts", + "scopeId": ".normalizedImportsRule.create", + "rule": "max-lines-per-function" + }, + { + "file": "src/normalized-imports.ts", + "scopeId": ".normalizedImportsRule.create.checkImportExpression", + "rule": "complexity" + }, + { + "file": "src/normalized-imports.ts", + "scopeId": ".normalizedImportsRule.create.checkImportExpression", + "rule": "max-lines-per-function" + }, + { + "file": "src/pair-react-dom-render-unmount.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pair-react-dom-render-unmount.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/pair-react-dom-render-unmount.ts", + "scopeId": ".pairReactDomRenderUnmountRule.create", + "rule": "max-lines-per-function" + }, + { + "file": "src/pair-react-dom-render-unmount.ts", + "scopeId": ".pairReactDomRenderUnmountRule.create.CallExpression", + "rule": "complexity" + }, + { + "file": "src/pair-react-dom-render-unmount.ts", + "scopeId": ".pairReactDomRenderUnmountRule.create.ImportDeclaration", + "rule": "complexity" + }, + { + "file": "src/pair-react-dom-render-unmount.ts", + "scopeId": ".pairReactDomRenderUnmountRule.create.ImportDeclaration", + "rule": "max-depth" + }, + { + "file": "src/pair-react-dom-render-unmount.ts", + "scopeId": ".pairReactDomRenderUnmountRule.create.ImportDeclaration", + "rule": "max-lines-per-function" + }, + { + "file": "src/pair-react-dom-render-unmount.ts", + "scopeId": ".pairReactDomRenderUnmountRule.create.isNamespaceCallExpression", + "rule": "complexity" + }, + { + "file": "src/test/hoist-jest-mock.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/no-backslash-imports.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/no-backslash-imports.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/no-external-local-imports.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/no-new-null.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/no-transitive-dependency-imports.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/no-transitive-dependency-imports.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/normalized-imports.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/normalized-imports.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/pair-react-dom-render-unmount.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/typedef-var.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/typedef-var.ts", + "scopeId": ".typedefVar.create", + "rule": "max-lines-per-function" + }, + { + "file": "src/typedef-var.ts", + "scopeId": ".typedefVar.create.VariableDeclarator", + "rule": "complexity" + }, + { + "file": "src/typedef-var.ts", + "scopeId": ".typedefVar.create.VariableDeclarator", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/eslint/eslint-plugin/eslint.config.js b/eslint/eslint-plugin/eslint.config.js index f83aea7d1b7..0c0156944bc 100644 --- a/eslint/eslint-plugin/eslint.config.js +++ b/eslint/eslint-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/heft-plugins/heft-api-extractor-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-api-extractor-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..15e961e59cd --- /dev/null +++ b/heft-plugins/heft-api-extractor-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,69 @@ +{ + "suppressions": [ + { + "file": "src/ApiExtractorPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ApiExtractorPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/ApiExtractorPlugin.ts", + "scopeId": ".ApiExtractorPlugin._getApiExtractorConfigurationAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/ApiExtractorPlugin.ts", + "scopeId": ".ApiExtractorPlugin._getApiExtractorConfigurationFilePathAsync", + "rule": "complexity" + }, + { + "file": "src/ApiExtractorPlugin.ts", + "scopeId": ".ApiExtractorPlugin._runApiExtractorAsync", + "rule": "complexity" + }, + { + "file": "src/ApiExtractorPlugin.ts", + "scopeId": ".ApiExtractorPlugin._runApiExtractorAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/ApiExtractorPlugin.ts", + "scopeId": ".ApiExtractorPlugin._runApiExtractorAsync", + "rule": "max-params" + }, + { + "file": "src/ApiExtractorRunner.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/ApiExtractorRunner.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ApiExtractorRunner.ts", + "scopeId": ".invokeApiExtractorAsync", + "rule": "complexity" + }, + { + "file": "src/ApiExtractorRunner.ts", + "scopeId": ".invokeApiExtractorAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/ApiExtractorRunner.ts", + "scopeId": ".invokeApiExtractorAsync.extractorOptions.messageCallback", + "rule": "complexity" + }, + { + "file": "src/ApiExtractorRunner.ts", + "scopeId": ".invokeApiExtractorAsync.extractorOptions.messageCallback", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-api-extractor-plugin/eslint.config.js b/heft-plugins/heft-api-extractor-plugin/eslint.config.js index f83aea7d1b7..0c0156944bc 100644 --- a/heft-plugins/heft-api-extractor-plugin/eslint.config.js +++ b/heft-plugins/heft-api-extractor-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/heft-plugins/heft-dev-cert-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-dev-cert-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..c364031088b --- /dev/null +++ b/heft-plugins/heft-dev-cert-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,14 @@ +{ + "suppressions": [ + { + "file": "src/TrustDevCertificatePlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/UntrustDevCertificatePlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-dev-cert-plugin/eslint.config.js b/heft-plugins/heft-dev-cert-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/heft-plugins/heft-dev-cert-plugin/eslint.config.js +++ b/heft-plugins/heft-dev-cert-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/heft-plugins/heft-isolated-typescript-transpile-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-isolated-typescript-transpile-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..c3dac18d0f8 --- /dev/null +++ b/heft-plugins/heft-isolated-typescript-transpile-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,114 @@ +{ + "suppressions": [ + { + "file": "src/SwcIsolatedTranspilePlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/SwcIsolatedTranspilePlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/SwcIsolatedTranspilePlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/SwcIsolatedTranspilePlugin.ts", + "scopeId": ".endsWithCharacterX", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SwcIsolatedTranspilePlugin.ts", + "scopeId": ".normalizeRelativeDir", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SwcIsolatedTranspilePlugin.ts", + "scopeId": ".printTiming", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SwcIsolatedTranspilePlugin.ts", + "scopeId": ".transpileProjectAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SwcIsolatedTranspilePlugin.ts", + "scopeId": ".transpileProjectAsync", + "rule": "complexity" + }, + { + "file": "src/SwcIsolatedTranspilePlugin.ts", + "scopeId": ".transpileProjectAsync", + "rule": "max-depth" + }, + { + "file": "src/SwcIsolatedTranspilePlugin.ts", + "scopeId": ".transpileProjectAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/SwcIsolatedTranspilePlugin.ts", + "scopeId": ".transpileProjectAsync", + "rule": "max-params" + }, + { + "file": "src/SwcIsolatedTranspilePlugin.ts", + "scopeId": ".transpileProjectAsync.getOptionsByExtension", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SwcIsolatedTranspilePlugin.ts", + "scopeId": ".transpileProjectAsync.getOptionsByExtension", + "rule": "complexity" + }, + { + "file": "src/SwcIsolatedTranspilePlugin.ts", + "scopeId": ".transpileProjectAsync.getOptionsByExtension", + "rule": "max-lines-per-function" + }, + { + "file": "src/TranspileWorker.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TranspileWorker.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/TranspileWorker.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/TranspileWorker.ts", + "scopeId": ".ISourceMap", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TranspileWorker.ts", + "scopeId": ".handleMessageAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TranspileWorker.ts", + "scopeId": ".handleMessageAsync", + "rule": "complexity" + }, + { + "file": "src/TranspileWorker.ts", + "scopeId": ".handleMessageAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/TranspileWorker.ts", + "scopeId": ".handleMessageAsync.createFolder", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-isolated-typescript-transpile-plugin/eslint.config.js b/heft-plugins/heft-isolated-typescript-transpile-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/heft-plugins/heft-isolated-typescript-transpile-plugin/eslint.config.js +++ b/heft-plugins/heft-isolated-typescript-transpile-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/heft-plugins/heft-jest-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-jest-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..f9a4c70204c --- /dev/null +++ b/heft-plugins/heft-jest-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,364 @@ +{ + "suppressions": [ + { + "file": "src/HeftJestReporter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/HeftJestReporter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/HeftJestReporter.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/HeftJestReporter.ts", + "scopeId": ".HeftJestReporter._formatWithPlural", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/HeftJestReporter.ts", + "scopeId": ".HeftJestReporter._writeConsoleOutput", + "rule": "complexity" + }, + { + "file": "src/HeftJestReporter.ts", + "scopeId": ".HeftJestReporter._writeConsoleOutput", + "rule": "max-depth" + }, + { + "file": "src/HeftJestReporter.ts", + "scopeId": ".HeftJestReporter._writeConsoleOutput", + "rule": "max-lines-per-function" + }, + { + "file": "src/HeftJestReporter.ts", + "scopeId": ".HeftJestReporter._writeConsoleOutputWithLabel", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/HeftJestReporter.ts", + "scopeId": ".HeftJestReporter._writeConsoleOutputWithLabel", + "rule": "complexity" + }, + { + "file": "src/HeftJestReporter.ts", + "scopeId": ".HeftJestReporter.onRunComplete", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/HeftJestReporter.ts", + "scopeId": ".HeftJestReporter.onRunComplete", + "rule": "complexity" + }, + { + "file": "src/HeftJestReporter.ts", + "scopeId": ".HeftJestReporter.onTestResult", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/HeftJestReporter.ts", + "scopeId": ".HeftJestReporter.onTestResult", + "rule": "complexity" + }, + { + "file": "src/HeftJestReporter.ts", + "scopeId": ".HeftJestReporter.onTestResult", + "rule": "max-lines-per-function" + }, + { + "file": "src/HeftJestResolver.ts", + "scopeId": ".resolve", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/HeftJestResolver.ts", + "scopeId": ".resolve", + "rule": "max-lines-per-function" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._createJestArgvAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._createJestArgvAsync", + "rule": "complexity" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._createJestArgvAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._getJestConfigurationLoader", + "rule": "max-lines-per-function" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._getJestConfigurationLoader.deepObjectInheritanceFunc", + "rule": "complexity" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._getJestConfigurationLoader.shallowObjectInheritanceFunc", + "rule": "complexity" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._runJestAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._runJestAsync", + "rule": "complexity" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._runJestAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._runJestWatchAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._runJestWatchAsync", + "rule": "complexity" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._runJestWatchAsync", + "rule": "max-depth" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._runJestWatchAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._runJestWatchAsync.runJest.patchedRunJest", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._runJestWatchAsync.runJest.patchedRunJest", + "rule": "complexity" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._runJestWatchAsync.runJest.patchedRunJest", + "rule": "max-lines-per-function" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._runJestWatchAsync.watch.patchedWatch", + "rule": "max-lines-per-function" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._runJestWatchAsync.watch.patchedWatch", + "rule": "max-params" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin._setNodeEnvIfRequested", + "rule": "complexity" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": ".JestPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": "._extractHeftJestReporters", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": "._extractHeftJestReporters", + "rule": "complexity" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": "._extractHeftJestReporters", + "rule": "max-lines-per-function" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": "._findIndexes", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": "._findIndexes", + "rule": "complexity" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": "._getJsonPathMetadata", + "rule": "max-lines-per-function" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": "._getJsonPathMetadata.customResolver", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": "._getJsonPathMetadata.customResolver", + "rule": "complexity" + }, + { + "file": "src/JestPlugin.ts", + "scopeId": "._getJsonPathMetadata.customResolver", + "rule": "max-lines-per-function" + }, + { + "file": "src/JestRealPathPatch.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/JestRealPathPatch.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/JestRealPathPatch.ts", + "scopeId": ".customTryRealpath", + "rule": "complexity" + }, + { + "file": "src/JestUtils.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/JestUtils.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/JestUtils.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/JestUtils.ts", + "scopeId": ".jestResolve", + "rule": "complexity" + }, + { + "file": "src/SourceMapSnapshotResolver.ts", + "scopeId": ".findSourcePath", + "rule": "complexity" + }, + { + "file": "src/patches/jestWorkerPatch.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/patches/jestWorkerPatch.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/patches/jestWorkerPatch.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/patches/jestWorkerPatch.ts", + "scopeId": ".applyPatch", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/patches/jestWorkerPatch.ts", + "scopeId": ".applyPatch", + "rule": "complexity" + }, + { + "file": "src/patches/jestWorkerPatch.ts", + "scopeId": ".applyPatch", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/JestPlugin.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/JestPlugin.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/test/JestPlugin.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/JestPlugin.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/JestPlugin.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/JestPlugin.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/transformers/IdentityMockTransformer.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/transformers/StringMockTransformer.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-jest-plugin/eslint.config.js b/heft-plugins/heft-jest-plugin/eslint.config.js index e54effd122a..d4ba303ef90 100644 --- a/heft-plugins/heft-jest-plugin/eslint.config.js +++ b/heft-plugins/heft-jest-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/heft-plugins/heft-json-schema-typings-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-json-schema-typings-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..176ec3e4c2c --- /dev/null +++ b/heft-plugins/heft-json-schema-typings-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,79 @@ +{ + "suppressions": [ + { + "file": "src/JsonSchemaTypingsGenerator.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/JsonSchemaTypingsGenerator.ts", + "scopeId": ".Json4Schema", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/JsonSchemaTypingsGenerator.ts", + "scopeId": ".JsonSchemaTypingsGenerator.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/JsonSchemaTypingsGenerator.ts", + "scopeId": ".JsonSchemaTypingsGenerator.constructor.parseAndGenerateTypings", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/JsonSchemaTypingsGenerator.ts", + "scopeId": ".JsonSchemaTypingsGenerator.constructor.parseAndGenerateTypings", + "rule": "max-lines-per-function" + }, + { + "file": "src/JsonSchemaTypingsPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/JsonSchemaTypingsPlugin.ts", + "scopeId": ".JsonSchemaTypingsPlugin._runTypingsGeneratorAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/JsonSchemaTypingsPlugin.ts", + "scopeId": ".JsonSchemaTypingsPlugin._runTypingsGeneratorAsync", + "rule": "complexity" + }, + { + "file": "src/JsonSchemaTypingsPlugin.ts", + "scopeId": ".JsonSchemaTypingsPlugin._runTypingsGeneratorAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/JsonSchemaTypingsPlugin.ts", + "scopeId": ".JsonSchemaTypingsPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/JsonSchemaTypingsPlugin.ts", + "scopeId": ".JsonSchemaTypingsPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/JsonSchemaTypingsGenerator.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/TsDocReleaseTagHelpers.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/TsDocReleaseTagHelpers.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/test/TsDocReleaseTagHelpers.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-json-schema-typings-plugin/eslint.config.js b/heft-plugins/heft-json-schema-typings-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/heft-plugins/heft-json-schema-typings-plugin/eslint.config.js +++ b/heft-plugins/heft-json-schema-typings-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/heft-plugins/heft-lint-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-lint-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..2aaeb38ae3b --- /dev/null +++ b/heft-plugins/heft-lint-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,274 @@ +{ + "suppressions": [ + { + "file": "src/Eslint.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".Eslint._getLintFileError", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".Eslint.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".Eslint.constructor", + "rule": "complexity" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".Eslint.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".Eslint.hasLintFailures", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".Eslint.hasLintFailures", + "rule": "complexity" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".Eslint.lintFileAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".Eslint.lintFileAsync", + "rule": "complexity" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".Eslint.lintingFinishedAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".Eslint.lintingFinishedAsync", + "rule": "complexity" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".Eslint.lintingFinishedAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".Eslint.printVersionHeader", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".Eslint.resolveEslintConfigFilePathAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Eslint.ts", + "scopeId": ".patchTimerAsync.patchedTime", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LintPlugin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/LintPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/LintPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/LintPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/LintPlugin.ts", + "scopeId": ".LintPlugin._lintAsync", + "rule": "complexity" + }, + { + "file": "src/LintPlugin.ts", + "scopeId": ".LintPlugin._lintAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/LintPlugin.ts", + "scopeId": ".LintPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/LintPlugin.ts", + "scopeId": ".LintPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/LintPlugin.ts", + "scopeId": ".checkFix", + "rule": "complexity" + }, + { + "file": "src/LinterBase.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/LinterBase.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/LinterBase.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/LinterBase.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/LinterBase.ts", + "scopeId": ".LinterBase.performLintingAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LinterBase.ts", + "scopeId": ".LinterBase.performLintingAsync", + "rule": "complexity" + }, + { + "file": "src/LinterBase.ts", + "scopeId": ".LinterBase.performLintingAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/SarifFormatter.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/SarifFormatter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/SarifFormatter.ts", + "scopeId": ".formatEslintResultsAsSARIF", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SarifFormatter.ts", + "scopeId": ".formatEslintResultsAsSARIF", + "rule": "complexity" + }, + { + "file": "src/SarifFormatter.ts", + "scopeId": ".formatEslintResultsAsSARIF", + "rule": "max-depth" + }, + { + "file": "src/SarifFormatter.ts", + "scopeId": ".formatEslintResultsAsSARIF", + "rule": "max-lines-per-function" + }, + { + "file": "src/Tslint.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Tslint.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/Tslint.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Tslint.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/Tslint.ts", + "scopeId": ".Tslint._getLintFileError", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Tslint.ts", + "scopeId": ".Tslint._getLintFileError", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Tslint.ts", + "scopeId": ".Tslint.getConfigHashAsync", + "rule": "complexity" + }, + { + "file": "src/Tslint.ts", + "scopeId": ".Tslint.getConfigHashAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Tslint.ts", + "scopeId": ".Tslint.hasLintFailures", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Tslint.ts", + "scopeId": ".Tslint.lintFileAsync", + "rule": "complexity" + }, + { + "file": "src/Tslint.ts", + "scopeId": ".Tslint.lintingFinishedAsync", + "rule": "complexity" + }, + { + "file": "src/test/SarifFormatter.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/SarifFormatter.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-lint-plugin/eslint.config.js b/heft-plugins/heft-lint-plugin/eslint.config.js index e54effd122a..d4ba303ef90 100644 --- a/heft-plugins/heft-lint-plugin/eslint.config.js +++ b/heft-plugins/heft-lint-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/heft-plugins/heft-localization-typings-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-localization-typings-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..9e262da4480 --- /dev/null +++ b/heft-plugins/heft-localization-typings-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,34 @@ +{ + "suppressions": [ + { + "file": "src/LocalizationTypingsPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/LocalizationTypingsPlugin.ts", + "scopeId": ".LocalizationTypingsPlugin._runLocalizationTypingsGeneratorAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LocalizationTypingsPlugin.ts", + "scopeId": ".LocalizationTypingsPlugin._runLocalizationTypingsGeneratorAsync", + "rule": "complexity" + }, + { + "file": "src/LocalizationTypingsPlugin.ts", + "scopeId": ".LocalizationTypingsPlugin._runLocalizationTypingsGeneratorAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/LocalizationTypingsPlugin.ts", + "scopeId": ".LocalizationTypingsPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/LocalizationTypingsPlugin.ts", + "scopeId": ".LocalizationTypingsPlugin.apply", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-localization-typings-plugin/eslint.config.js b/heft-plugins/heft-localization-typings-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/heft-plugins/heft-localization-typings-plugin/eslint.config.js +++ b/heft-plugins/heft-localization-typings-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/heft-plugins/heft-rspack-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-rspack-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..d34a1167cf2 --- /dev/null +++ b/heft-plugins/heft-rspack-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,209 @@ +{ + "suppressions": [ + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem._purge", + "rule": "complexity" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem.flush", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem.flush", + "rule": "complexity" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem.flush", + "rule": "max-lines-per-function" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem.watch", + "rule": "max-lines-per-function" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem.watch", + "rule": "max-params" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".WatchCallback", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".WatchUndelayedCallback", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RspackConfigurationLoader.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/RspackConfigurationLoader.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/RspackConfigurationLoader.ts", + "scopeId": ".tryLoadRspackConfigurationAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RspackConfigurationLoader.ts", + "scopeId": ".tryLoadRspackConfigurationAsync", + "rule": "complexity" + }, + { + "file": "src/RspackConfigurationLoader.ts", + "scopeId": ".tryLoadRspackConfigurationAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/RspackConfigurationLoader.ts", + "scopeId": ".tryLoadRspackConfigurationFileAsync", + "rule": "complexity" + }, + { + "file": "src/RspackConfigurationLoader.ts", + "scopeId": ".tryLoadRspackConfigurationFileAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._getRspackConfigurationAsync", + "rule": "complexity" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._getRspackConfigurationAsync", + "rule": "max-depth" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._getRspackConfigurationAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._normalizeError", + "rule": "complexity" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._normalizeError", + "rule": "max-depth" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._normalizeError", + "rule": "max-lines-per-function" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._recordErrors", + "rule": "complexity" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._recordErrors", + "rule": "max-depth" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._recordErrors", + "rule": "max-lines-per-function" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._runRspackAsync", + "rule": "complexity" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._runRspackAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._runRspackWatchAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._runRspackWatchAsync", + "rule": "complexity" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._runRspackWatchAsync", + "rule": "max-depth" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._runRspackWatchAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin._runRspackWatchAsync.defaultDevServerOptions.onListening", + "rule": "complexity" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin.accessor", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/RspackPlugin.ts", + "scopeId": ".RspackPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/shared.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/shared.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/shared.ts", + "scopeId": ".IRspackPluginAccessorHooks", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-rspack-plugin/eslint.config.js b/heft-plugins/heft-rspack-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/heft-plugins/heft-rspack-plugin/eslint.config.js +++ b/heft-plugins/heft-rspack-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/heft-plugins/heft-sass-load-themed-styles-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-sass-load-themed-styles-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..24bb38c478a --- /dev/null +++ b/heft-plugins/heft-sass-load-themed-styles-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,14 @@ +{ + "suppressions": [ + { + "file": "src/SassLoadThemedStylesPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/SassLoadThemedStylesPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-sass-load-themed-styles-plugin/eslint.config.js b/heft-plugins/heft-sass-load-themed-styles-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/heft-plugins/heft-sass-load-themed-styles-plugin/eslint.config.js +++ b/heft-plugins/heft-sass-load-themed-styles-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/heft-plugins/heft-sass-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-sass-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..a8d1890ec8e --- /dev/null +++ b/heft-plugins/heft-sass-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,224 @@ +{ + "suppressions": [ + { + "file": "src/SassPlugin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/SassPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/SassPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/SassPlugin.ts", + "scopeId": ".SassPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/SassPlugin.ts", + "scopeId": ".SassPlugin.apply.compileFilesAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SassPlugin.ts", + "scopeId": ".SassPlugin.apply.initializeSassProcessorAsync", + "rule": "complexity" + }, + { + "file": "src/SassPlugin.ts", + "scopeId": ".SassPlugin.apply.initializeSassProcessorAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor._cache", + "rule": "complexity" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor._cache", + "rule": "max-lines-per-function" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor._canonicalizeAsync", + "rule": "complexity" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor._canonicalizeFileInnerAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor._canonicalizeFileInnerAsync", + "rule": "complexity" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor._canonicalizeFileInnerAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor._canonicalizeHeftInnerAsync", + "rule": "complexity" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor._canonicalizePackageInnerAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor._canonicalizePackageInnerAsync", + "rule": "complexity" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor._compileFileAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor._compileFileAsync", + "rule": "complexity" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor._compileFileAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor.compileFilesAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor.compileFilesAsync", + "rule": "complexity" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor.compileFilesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor.constructor", + "rule": "complexity" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".SassProcessor.loadCacheAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".buildExtensionClassifier", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".buildExtensionClassifier", + "rule": "complexity" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".buildExtensionClassifier", + "rule": "max-lines-per-function" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".createDTS", + "rule": "complexity" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".createDTS", + "rule": "max-depth" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".createDTS", + "rule": "max-lines-per-function" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".generateJsShimContent", + "rule": "complexity" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".heftUrlToPath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".isSassPartial", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SassProcessor.ts", + "scopeId": ".replaceTilde", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/SassProcessor.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/SassProcessor.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/SassProcessor.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/SassProcessor.test.ts", + "scopeId": ".getCssOutput", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/SassProcessor.test.ts", + "scopeId": ".normalizeSourceMapForSnapshot", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-sass-plugin/eslint.config.js b/heft-plugins/heft-sass-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/heft-plugins/heft-sass-plugin/eslint.config.js +++ b/heft-plugins/heft-sass-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/heft-plugins/heft-serverless-stack-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-serverless-stack-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..8f064ec971a --- /dev/null +++ b/heft-plugins/heft-serverless-stack-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,44 @@ +{ + "suppressions": [ + { + "file": "src/ServerlessStackPlugin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/ServerlessStackPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/ServerlessStackPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ServerlessStackPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/ServerlessStackPlugin.ts", + "scopeId": ".ServerlessStackPlugin._runServerlessStackAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ServerlessStackPlugin.ts", + "scopeId": ".ServerlessStackPlugin._runServerlessStackAsync", + "rule": "complexity" + }, + { + "file": "src/ServerlessStackPlugin.ts", + "scopeId": ".ServerlessStackPlugin._runServerlessStackAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/ServerlessStackPlugin.ts", + "scopeId": ".ServerlessStackPlugin.apply", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-serverless-stack-plugin/eslint.config.js b/heft-plugins/heft-serverless-stack-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/heft-plugins/heft-serverless-stack-plugin/eslint.config.js +++ b/heft-plugins/heft-serverless-stack-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/heft-plugins/heft-static-asset-typings-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-static-asset-typings-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..b78e982ecb6 --- /dev/null +++ b/heft-plugins/heft-static-asset-typings-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,134 @@ +{ + "suppressions": [ + { + "file": "src/ResourceAssetsPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/ResourceAssetsPlugin.ts", + "scopeId": ".ResourceAssetsPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/ResourceAssetsPlugin.ts", + "scopeId": ".ResourceAssetsPlugin.apply.createAndRunGeneratorAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/SourceAssetsPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/SourceAssetsPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/SourceAssetsPlugin.ts", + "scopeId": ".SourceAssetsPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/SourceAssetsPlugin.ts", + "scopeId": ".SourceAssetsPlugin.apply.createAndRunGeneratorAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/SourceAssetsPlugin.ts", + "scopeId": ".SourceAssetsPlugin.apply.initializeGeneratorAsync", + "rule": "complexity" + }, + { + "file": "src/SourceAssetsPlugin.ts", + "scopeId": ".SourceAssetsPlugin.apply.initializeGeneratorAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/SourceAssetsPlugin.ts", + "scopeId": ".SourceAssetsPlugin.apply.initializeGeneratorAsync.getVersionAndEmitOutputFilesAsync", + "rule": "complexity" + }, + { + "file": "src/SourceAssetsPlugin.ts", + "scopeId": ".SourceAssetsPlugin.apply.initializeGeneratorAsync.getVersionAndEmitOutputFilesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/StaticAssetTypingsGenerator.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/StaticAssetTypingsGenerator.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/StaticAssetTypingsGenerator.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/StaticAssetTypingsGenerator.ts", + "scopeId": ".", + "rule": "max-params" + }, + { + "file": "src/StaticAssetTypingsGenerator.ts", + "scopeId": ".createTypingsGeneratorAsync", + "rule": "complexity" + }, + { + "file": "src/StaticAssetTypingsGenerator.ts", + "scopeId": ".createTypingsGeneratorAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/StaticAssetTypingsGenerator.ts", + "scopeId": ".hasChanges", + "rule": "complexity" + }, + { + "file": "src/StaticAssetTypingsGenerator.ts", + "scopeId": ".runTypingsGeneratorIncrementalAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/StaticAssetTypingsGenerator.ts", + "scopeId": ".runTypingsGeneratorIncrementalAsync", + "rule": "complexity" + }, + { + "file": "src/StaticAssetTypingsGenerator.ts", + "scopeId": ".runTypingsGeneratorIncrementalAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/StaticAssetTypingsGenerator.ts", + "scopeId": ".runTypingsGeneratorIncrementalAsync", + "rule": "max-params" + }, + { + "file": "src/StaticAssetTypingsGenerator.ts", + "scopeId": ".tryGetConfigFromPluginOptionsAsync", + "rule": "max-params" + }, + { + "file": "src/getConfigFromConfigFileAsync.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/getConfigFromConfigFileAsync.ts", + "scopeId": ".getConfigFromConfigFileAsync", + "rule": "max-params" + }, + { + "file": "src/test/StaticAssetTypingsGenerator.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-static-asset-typings-plugin/eslint.config.js b/heft-plugins/heft-static-asset-typings-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/heft-plugins/heft-static-asset-typings-plugin/eslint.config.js +++ b/heft-plugins/heft-static-asset-typings-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/heft-plugins/heft-storybook-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-storybook-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..e936c39b291 --- /dev/null +++ b/heft-plugins/heft-storybook-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,79 @@ +{ + "suppressions": [ + { + "file": "src/StorybookPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/StorybookPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/StorybookPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/StorybookPlugin.ts", + "scopeId": ".StorybookPlugin._invokeAsSubprocessAsync", + "rule": "complexity" + }, + { + "file": "src/StorybookPlugin.ts", + "scopeId": ".StorybookPlugin._invokeAsSubprocessAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/StorybookPlugin.ts", + "scopeId": ".StorybookPlugin._invokeAsSubprocessAsync", + "rule": "max-params" + }, + { + "file": "src/StorybookPlugin.ts", + "scopeId": ".StorybookPlugin._invokeSync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/StorybookPlugin.ts", + "scopeId": ".StorybookPlugin._invokeSync", + "rule": "complexity" + }, + { + "file": "src/StorybookPlugin.ts", + "scopeId": ".StorybookPlugin._invokeSync", + "rule": "max-lines-per-function" + }, + { + "file": "src/StorybookPlugin.ts", + "scopeId": ".StorybookPlugin._invokeSync", + "rule": "max-params" + }, + { + "file": "src/StorybookPlugin.ts", + "scopeId": ".StorybookPlugin._prepareStorybookAsync", + "rule": "complexity" + }, + { + "file": "src/StorybookPlugin.ts", + "scopeId": ".StorybookPlugin._prepareStorybookAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/StorybookPlugin.ts", + "scopeId": ".StorybookPlugin._runStorybookAsync", + "rule": "complexity" + }, + { + "file": "src/StorybookPlugin.ts", + "scopeId": ".StorybookPlugin._runStorybookAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/StorybookPlugin.ts", + "scopeId": ".StorybookPlugin.apply", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-storybook-plugin/eslint.config.js b/heft-plugins/heft-storybook-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/heft-plugins/heft-storybook-plugin/eslint.config.js +++ b/heft-plugins/heft-storybook-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/heft-plugins/heft-typescript-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-typescript-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..b61d4faee15 --- /dev/null +++ b/heft-plugins/heft-typescript-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,449 @@ +{ + "suppressions": [ + { + "file": "src/TranspilerWorker.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/TranspilerWorker.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/TranspilerWorker.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/TranspilerWorker.ts", + "scopeId": ".runTranspiler", + "rule": "complexity" + }, + { + "file": "src/TranspilerWorker.ts", + "scopeId": ".runTranspiler", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._addModuleKindToEmit", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._addModuleKindToEmit", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._addModuleKindToEmit", + "rule": "max-params" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._changeCompilerHostToUseCache", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._changeCompilerHostToUseCache.getSourceFile", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._emitModulePackageJsonFiles", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._emitModulePackageJsonFiles", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._getAdjustedDiagnosticCategory", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._getCreateBuilderProgram", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._getCreateBuilderProgram.createMultiEmitBuilderProgram", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._getCreateBuilderProgram.createMultiEmitBuilderProgram", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._getCreateBuilderProgram.createMultiEmitBuilderProgram", + "rule": "max-params" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._getCreateBuilderProgram.createMultiEmitBuilderProgram.emit", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._getCreateBuilderProgram.createMultiEmitBuilderProgram.emit", + "rule": "max-params" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._logDiagnostics", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._logDiagnostics", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._logDiagnostics", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._parseModuleKind", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._printDiagnosticMessage", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._printDiagnosticMessage", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._printDiagnosticMessage", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._queueTranspileInWorker", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._queueTranspileInWorker", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._runBuildAsync", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._runBuildAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._runSolutionBuildAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._runSolutionBuildAsync", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._runSolutionBuildAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._runWatchAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._runWatchAsync", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._runWatchAsync", + "rule": "max-depth" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._runWatchAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._tsCacheFilePath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._tsCacheFilePath", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._validateTsconfig", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._validateTsconfig", + "rule": "max-depth" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder._validateTsconfig", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder.invokeAsync", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder.invokeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder.invokeAsync", + "rule": "max-params" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".TypeScriptBuilder.invokeAsync.setTimeout", + "rule": "complexity" + }, + { + "file": "src/TypeScriptBuilder.ts", + "scopeId": ".getFilesToTranspileFromBuilderProgram", + "rule": "complexity" + }, + { + "file": "src/TypeScriptPlugin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/TypeScriptPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/TypeScriptPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/TypeScriptPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/TypeScriptPlugin.ts", + "scopeId": ".TypeScriptPlugin._getStaticAssetCopyOperationsAsync", + "rule": "complexity" + }, + { + "file": "src/TypeScriptPlugin.ts", + "scopeId": ".TypeScriptPlugin._getStaticAssetCopyOperationsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptPlugin.ts", + "scopeId": ".TypeScriptPlugin._getTypeScriptBuilderAsync", + "rule": "complexity" + }, + { + "file": "src/TypeScriptPlugin.ts", + "scopeId": ".TypeScriptPlugin._getTypeScriptBuilderAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptPlugin.ts", + "scopeId": ".TypeScriptPlugin.apply", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/TypeScriptPlugin.ts", + "scopeId": ".TypeScriptPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypeScriptPlugin.ts", + "scopeId": ".loadPartialTsconfigFileAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/TypeScriptPlugin.ts", + "scopeId": ".loadPartialTsconfigFileAsync", + "rule": "complexity" + }, + { + "file": "src/TypeScriptPlugin.ts", + "scopeId": ".loadPartialTsconfigFileAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/configureProgramForMultiEmit.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/configureProgramForMultiEmit.ts", + "scopeId": ".configureProgramForMultiEmit", + "rule": "complexity" + }, + { + "file": "src/configureProgramForMultiEmit.ts", + "scopeId": ".configureProgramForMultiEmit", + "rule": "max-lines-per-function" + }, + { + "file": "src/configureProgramForMultiEmit.ts", + "scopeId": ".configureProgramForMultiEmit", + "rule": "max-params" + }, + { + "file": "src/configureProgramForMultiEmit.ts", + "scopeId": ".wrapWriteFile", + "rule": "max-params" + }, + { + "file": "src/fileSystem/TypeScriptCachedFileSystem.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/fileSystem/TypeScriptCachedFileSystem.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/fileSystem/TypeScriptCachedFileSystem.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/fileSystem/TypeScriptCachedFileSystem.ts", + "scopeId": ".TypeScriptCachedFileSystem._sortFolderEntries", + "rule": "complexity" + }, + { + "file": "src/fileSystem/TypeScriptCachedFileSystem.ts", + "scopeId": ".TypeScriptCachedFileSystem._withCaching", + "rule": "complexity" + }, + { + "file": "src/fileSystem/TypeScriptCachedFileSystem.ts", + "scopeId": ".TypeScriptCachedFileSystem.deleteFile", + "rule": "complexity" + }, + { + "file": "src/fileSystem/TypeScriptCachedFileSystem.ts", + "scopeId": ".TypeScriptCachedFileSystem.ensureFolder", + "rule": "complexity" + }, + { + "file": "src/fileSystem/TypeScriptCachedFileSystem.ts", + "scopeId": ".TypeScriptCachedFileSystem.ensureFolderAsync", + "rule": "complexity" + }, + { + "file": "src/fileSystem/TypeScriptCachedFileSystem.ts", + "scopeId": ".TypeScriptCachedFileSystem.readFile", + "rule": "complexity" + }, + { + "file": "src/internalTypings/TypeScriptInternals.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/internalTypings/TypeScriptInternals.ts", + "scopeId": ".IExtendedSolutionBuilder", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/loadTypeScriptTool.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/loadTypeScriptTool.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/loadTypeScriptTool.ts", + "scopeId": ".loadTypeScriptToolAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/loadTypeScriptTool.ts", + "scopeId": ".loadTypeScriptToolAsync", + "rule": "complexity" + }, + { + "file": "src/loadTypeScriptTool.ts", + "scopeId": ".loadTypeScriptToolAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/loadTypeScriptTool.ts", + "scopeId": ".loadTypeScriptToolAsync.capabilities", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/tsconfigLoader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/tsconfigLoader.ts", + "scopeId": ".loadTsconfig", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-typescript-plugin/eslint.config.js b/heft-plugins/heft-typescript-plugin/eslint.config.js index e54effd122a..d4ba303ef90 100644 --- a/heft-plugins/heft-typescript-plugin/eslint.config.js +++ b/heft-plugins/heft-typescript-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/heft-plugins/heft-vscode-extension-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-vscode-extension-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..f8bdade7be9 --- /dev/null +++ b/heft-plugins/heft-vscode-extension-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,84 @@ +{ + "suppressions": [ + { + "file": "src/VSCodeExtensionPackagePlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/VSCodeExtensionPackagePlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/VSCodeExtensionPackagePlugin.ts", + "scopeId": ".VSCodeExtensionPackagePlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/VSCodeExtensionPackagePlugin.ts", + "scopeId": ".VSCodeExtensionPackagePlugin.apply", + "rule": "complexity" + }, + { + "file": "src/VSCodeExtensionPackagePlugin.ts", + "scopeId": ".VSCodeExtensionPackagePlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/VSCodeExtensionPublishPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/VSCodeExtensionPublishPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/VSCodeExtensionPublishPlugin.ts", + "scopeId": ".VSCodeExtensionPublishPlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/VSCodeExtensionPublishPlugin.ts", + "scopeId": ".VSCodeExtensionPublishPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/VSCodeExtensionPublishPlugin.ts", + "scopeId": ".VSCodeExtensionPublishPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/VSCodeExtensionVerifySignaturePlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/VSCodeExtensionVerifySignaturePlugin.ts", + "scopeId": ".VSCodeExtensionVerifySignaturePlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/VSCodeExtensionVerifySignaturePlugin.ts", + "scopeId": ".VSCodeExtensionVerifySignaturePlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/util.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/util.ts", + "scopeId": ".executeAndWaitAsync", + "rule": "complexity" + }, + { + "file": "src/util.ts", + "scopeId": ".executeAndWaitAsync", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-vscode-extension-plugin/eslint.config.js b/heft-plugins/heft-vscode-extension-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/heft-plugins/heft-vscode-extension-plugin/eslint.config.js +++ b/heft-plugins/heft-vscode-extension-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/heft-plugins/heft-webpack4-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-webpack4-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..aaac63bdfc1 --- /dev/null +++ b/heft-plugins/heft-webpack4-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,214 @@ +{ + "suppressions": [ + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem.flush", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem.flush", + "rule": "complexity" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem.flush", + "rule": "max-lines-per-function" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem.watch", + "rule": "max-lines-per-function" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem.watch", + "rule": "max-params" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".Webpack4Plugin._getWebpackConfigurationAsync", + "rule": "complexity" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".Webpack4Plugin._getWebpackConfigurationAsync", + "rule": "max-depth" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".Webpack4Plugin._getWebpackConfigurationAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".Webpack4Plugin._loadWebpackAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".Webpack4Plugin._recordErrors", + "rule": "complexity" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".Webpack4Plugin._recordErrors", + "rule": "max-depth" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".Webpack4Plugin._runWebpackAsync", + "rule": "complexity" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".Webpack4Plugin._runWebpackAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".Webpack4Plugin._runWebpackWatchAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".Webpack4Plugin._runWebpackWatchAsync", + "rule": "complexity" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".Webpack4Plugin._runWebpackWatchAsync", + "rule": "max-depth" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".Webpack4Plugin._runWebpackWatchAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".Webpack4Plugin._runWebpackWatchAsync.defaultDevServerOptions.onListening", + "rule": "complexity" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".Webpack4Plugin.accessor", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Webpack4Plugin.ts", + "scopeId": ".Webpack4Plugin.apply", + "rule": "complexity" + }, + { + "file": "src/WebpackConfigurationLoader.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WebpackConfigurationLoader.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/WebpackConfigurationLoader.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/WebpackConfigurationLoader.test.ts", + "scopeId": ".createOptions", + "rule": "max-lines-per-function" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": "._tryLoadWebpackConfigurationFileInnerAsync", + "rule": "complexity" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".tryLoadWebpackConfigurationAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".tryLoadWebpackConfigurationAsync", + "rule": "complexity" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".tryLoadWebpackConfigurationAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".tryLoadWebpackConfigurationFileAsync", + "rule": "complexity" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".tryLoadWebpackConfigurationFileAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/shared.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/shared.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/shared.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/shared.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-webpack4-plugin/eslint.config.js b/heft-plugins/heft-webpack4-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/heft-plugins/heft-webpack4-plugin/eslint.config.js +++ b/heft-plugins/heft-webpack4-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/heft-plugins/heft-webpack4-plugin/src/shared.ts b/heft-plugins/heft-webpack4-plugin/src/shared.ts index 22589b3d54e..f52e6ea2282 100644 --- a/heft-plugins/heft-webpack4-plugin/src/shared.ts +++ b/heft-plugins/heft-webpack4-plugin/src/shared.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. -// eslint-disable-next-line import/order +// (The import/order violation for this intentional early import is recorded in +// .eslint-bulk-suppressions.json) import type * as TWebpack from 'webpack'; // Compensate for webpack-dev-server referencing constructs from webpack 5 declare module 'webpack' { diff --git a/heft-plugins/heft-webpack5-plugin/.eslint-bulk-suppressions.json b/heft-plugins/heft-webpack5-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..758328cd579 --- /dev/null +++ b/heft-plugins/heft-webpack5-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,254 @@ +{ + "suppressions": [ + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem._purge", + "rule": "complexity" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem.flush", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem.flush", + "rule": "complexity" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem.flush", + "rule": "max-lines-per-function" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem.watch", + "rule": "max-lines-per-function" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".DeferredWatchFileSystem.watch", + "rule": "max-params" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".WatchCallback", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/DeferredWatchFileSystem.ts", + "scopeId": ".WatchUndelayedCallback", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._getWebpackConfigurationAsync", + "rule": "complexity" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._getWebpackConfigurationAsync", + "rule": "max-depth" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._getWebpackConfigurationAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._normalizeError", + "rule": "complexity" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._normalizeError", + "rule": "max-depth" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._normalizeError", + "rule": "max-lines-per-function" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._recordErrors", + "rule": "complexity" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._recordErrors", + "rule": "max-depth" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._recordErrors", + "rule": "max-lines-per-function" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._runWebpackAsync", + "rule": "complexity" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._runWebpackAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._runWebpackWatchAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._runWebpackWatchAsync", + "rule": "complexity" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._runWebpackWatchAsync", + "rule": "max-depth" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._runWebpackWatchAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin._runWebpackWatchAsync.defaultDevServerOptions.onListening", + "rule": "complexity" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin.accessor", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Webpack5Plugin.ts", + "scopeId": ".Webpack5Plugin.apply", + "rule": "complexity" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": "._tryLoadWebpackConfigurationFileInnerAsync", + "rule": "complexity" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".tryLoadWebpackConfigurationAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".tryLoadWebpackConfigurationAsync", + "rule": "complexity" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".tryLoadWebpackConfigurationAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".tryLoadWebpackConfigurationFileAsync", + "rule": "complexity" + }, + { + "file": "src/WebpackConfigurationLoader.ts", + "scopeId": ".tryLoadWebpackConfigurationFileAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/shared.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/shared.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/shared.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/shared.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/shared.ts", + "scopeId": ".IWebpackPluginAccessorHooks", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/WebpackConfigurationLoader.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/WebpackConfigurationLoader.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/WebpackConfigurationLoader.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/WebpackConfigurationLoader.test.ts", + "scopeId": ".createOptions", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/heft-plugins/heft-webpack5-plugin/eslint.config.js b/heft-plugins/heft-webpack5-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/heft-plugins/heft-webpack5-plugin/eslint.config.js +++ b/heft-plugins/heft-webpack5-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/api-extractor-model/.eslint-bulk-suppressions.json b/libraries/api-extractor-model/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..d14513a6de3 --- /dev/null +++ b/libraries/api-extractor-model/.eslint-bulk-suppressions.json @@ -0,0 +1,859 @@ +{ + "suppressions": [ + { + "file": "src/aedoc/AedocDefinitions.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/aedoc/AedocDefinitions.ts", + "scopeId": ".AedocDefinitions.tsdocConfiguration", + "rule": "max-lines-per-function" + }, + { + "file": "src/aedoc/ReleaseTag.ts", + "scopeId": ".getTagName", + "rule": "complexity" + }, + { + "file": "src/items/ApiDeclaredItem.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/items/ApiDeclaredItem.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/items/ApiDeclaredItem.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/items/ApiDeclaredItem.ts", + "scopeId": ".ApiDeclaredItem._buildSourceLocation", + "rule": "complexity" + }, + { + "file": "src/items/ApiDeclaredItem.ts", + "scopeId": ".ApiDeclaredItem.getExcerptWithModifiers", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/items/ApiDeclaredItem.ts", + "scopeId": ".ApiDeclaredItem.getExcerptWithModifiers", + "rule": "complexity" + }, + { + "file": "src/items/ApiDeclaredItem.ts", + "scopeId": ".ApiDeclaredItem.getExcerptWithModifiers", + "rule": "max-depth" + }, + { + "file": "src/items/ApiDeclaredItem.ts", + "scopeId": ".ApiDeclaredItem.serializeInto", + "rule": "complexity" + }, + { + "file": "src/items/ApiDeclaredItem.ts", + "scopeId": ".ApiDeclaredItem.sourceLocation", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/items/ApiDocumentedItem.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/items/ApiDocumentedItem.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/items/ApiItem.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/items/ApiItem.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/items/ApiItem.ts", + "scopeId": ".ApiItem.canonicalReference", + "rule": "complexity" + }, + { + "file": "src/items/ApiItem.ts", + "scopeId": ".ApiItem.displayName", + "rule": "complexity" + }, + { + "file": "src/items/ApiItem.ts", + "scopeId": ".ApiItem.getScopedNameWithinPackage", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/items/ApiItem.ts", + "scopeId": ".ApiItem.getScopedNameWithinPackage", + "rule": "complexity" + }, + { + "file": "src/items/ApiItem.ts", + "scopeId": ".ApiItem.getScopedNameWithinPackage", + "rule": "max-depth" + }, + { + "file": "src/items/ApiItem.ts", + "scopeId": ".ApiItem.getScopedNameWithinPackage", + "rule": "max-lines-per-function" + }, + { + "file": "src/items/ApiPropertyItem.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/items/ApiPropertyItem.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/mixins/ApiAbstractMixin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/mixins/ApiAbstractMixin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/mixins/ApiAbstractMixin.ts", + "scopeId": ".ApiAbstractMixin", + "rule": "max-lines-per-function" + }, + { + "file": "src/mixins/ApiAbstractMixin.ts", + "scopeId": ".ApiAbstractMixin.MixedClass.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/mixins/ApiExportedMixin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/mixins/ApiExportedMixin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/mixins/ApiExportedMixin.ts", + "scopeId": ".ApiExportedMixin", + "rule": "max-lines-per-function" + }, + { + "file": "src/mixins/ApiExportedMixin.ts", + "scopeId": ".ApiExportedMixin.MixedClass.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/mixins/ApiInitializerMixin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/mixins/ApiInitializerMixin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/mixins/ApiInitializerMixin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/mixins/ApiInitializerMixin.ts", + "scopeId": ".ApiInitializerMixin", + "rule": "max-lines-per-function" + }, + { + "file": "src/mixins/ApiInitializerMixin.ts", + "scopeId": ".ApiInitializerMixin.MixedClass.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/mixins/ApiItemContainerMixin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/mixins/ApiItemContainerMixin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/mixins/ApiItemContainerMixin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/mixins/ApiItemContainerMixin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/mixins/ApiItemContainerMixin.ts", + "scopeId": ".ApiItemContainerMixin", + "rule": "max-lines-per-function" + }, + { + "file": "src/mixins/ApiItemContainerMixin.ts", + "scopeId": ".ApiItemContainerMixin.MixedClass._ensureMemberMaps", + "rule": "complexity" + }, + { + "file": "src/mixins/ApiItemContainerMixin.ts", + "scopeId": ".ApiItemContainerMixin.MixedClass.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/mixins/ApiItemContainerMixin.ts", + "scopeId": ".ApiItemContainerMixin.MixedClass.constructor", + "rule": "complexity" + }, + { + "file": "src/mixins/ApiItemContainerMixin.ts", + "scopeId": ".ApiItemContainerMixin.MixedClass.findMembersWithInheritance", + "rule": "complexity" + }, + { + "file": "src/mixins/ApiItemContainerMixin.ts", + "scopeId": ".ApiItemContainerMixin.MixedClass.findMembersWithInheritance", + "rule": "max-depth" + }, + { + "file": "src/mixins/ApiItemContainerMixin.ts", + "scopeId": ".ApiItemContainerMixin.MixedClass.findMembersWithInheritance", + "rule": "max-lines-per-function" + }, + { + "file": "src/mixins/ApiNameMixin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/mixins/ApiNameMixin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/mixins/ApiNameMixin.ts", + "scopeId": ".ApiNameMixin", + "rule": "max-lines-per-function" + }, + { + "file": "src/mixins/ApiNameMixin.ts", + "scopeId": ".ApiNameMixin.MixedClass.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/mixins/ApiOptionalMixin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/mixins/ApiOptionalMixin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/mixins/ApiOptionalMixin.ts", + "scopeId": ".ApiOptionalMixin", + "rule": "max-lines-per-function" + }, + { + "file": "src/mixins/ApiOptionalMixin.ts", + "scopeId": ".ApiOptionalMixin.MixedClass.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/mixins/ApiParameterListMixin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/mixins/ApiParameterListMixin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/mixins/ApiParameterListMixin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/mixins/ApiParameterListMixin.ts", + "scopeId": ".ApiParameterListMixin", + "rule": "max-lines-per-function" + }, + { + "file": "src/mixins/ApiParameterListMixin.ts", + "scopeId": ".ApiParameterListMixin.MixedClass.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/mixins/ApiParameterListMixin.ts", + "scopeId": ".ApiParameterListMixin.MixedClass.constructor", + "rule": "complexity" + }, + { + "file": "src/mixins/ApiProtectedMixin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/mixins/ApiProtectedMixin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/mixins/ApiProtectedMixin.ts", + "scopeId": ".ApiProtectedMixin", + "rule": "max-lines-per-function" + }, + { + "file": "src/mixins/ApiProtectedMixin.ts", + "scopeId": ".ApiProtectedMixin.MixedClass.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/mixins/ApiReadonlyMixin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/mixins/ApiReadonlyMixin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/mixins/ApiReadonlyMixin.ts", + "scopeId": ".ApiReadonlyMixin", + "rule": "max-lines-per-function" + }, + { + "file": "src/mixins/ApiReadonlyMixin.ts", + "scopeId": ".ApiReadonlyMixin.MixedClass.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/mixins/ApiReleaseTagMixin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/mixins/ApiReleaseTagMixin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/mixins/ApiReleaseTagMixin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/mixins/ApiReleaseTagMixin.ts", + "scopeId": ".ApiReleaseTagMixin", + "rule": "max-lines-per-function" + }, + { + "file": "src/mixins/ApiReleaseTagMixin.ts", + "scopeId": ".ApiReleaseTagMixin.MixedClass.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/mixins/ApiReturnTypeMixin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/mixins/ApiReturnTypeMixin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/mixins/ApiReturnTypeMixin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/mixins/ApiReturnTypeMixin.ts", + "scopeId": ".ApiReturnTypeMixin", + "rule": "max-lines-per-function" + }, + { + "file": "src/mixins/ApiReturnTypeMixin.ts", + "scopeId": ".ApiReturnTypeMixin.MixedClass.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/mixins/ApiStaticMixin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/mixins/ApiStaticMixin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/mixins/ApiStaticMixin.ts", + "scopeId": ".ApiStaticMixin", + "rule": "max-lines-per-function" + }, + { + "file": "src/mixins/ApiStaticMixin.ts", + "scopeId": ".ApiStaticMixin.MixedClass.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/mixins/ApiTypeParameterListMixin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/mixins/ApiTypeParameterListMixin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/mixins/ApiTypeParameterListMixin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/mixins/ApiTypeParameterListMixin.ts", + "scopeId": ".ApiTypeParameterListMixin", + "rule": "max-lines-per-function" + }, + { + "file": "src/mixins/ApiTypeParameterListMixin.ts", + "scopeId": ".ApiTypeParameterListMixin.MixedClass.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/mixins/ApiTypeParameterListMixin.ts", + "scopeId": ".ApiTypeParameterListMixin.MixedClass.constructor", + "rule": "complexity" + }, + { + "file": "src/mixins/ApiTypeParameterListMixin.ts", + "scopeId": ".ApiTypeParameterListMixin.MixedClass.serializeInto", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/mixins/Excerpt.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/mixins/Excerpt.ts", + "scopeId": ".Excerpt.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/mixins/Excerpt.ts", + "scopeId": ".Excerpt.constructor", + "rule": "complexity" + }, + { + "file": "src/mixins/Excerpt.ts", + "scopeId": ".Excerpt.text", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/model/ApiCallSignature.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiCallSignature.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiClass.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiClass.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/model/ApiClass.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiConstructSignature.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiConstructSignature.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiConstructor.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiConstructor.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiEntryPoint.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiEntryPoint.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiEnum.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiEnum.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiEnumMember.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiEnumMember.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiFunction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiFunction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiIndexSignature.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiIndexSignature.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiInterface.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiInterface.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/model/ApiInterface.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiMethod.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiMethod.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/model/ApiMethod.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiMethodSignature.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiMethodSignature.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiModel.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiModel.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/model/ApiModel.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiModel.ts", + "scopeId": ".ApiModel._initApiItemsRecursive", + "rule": "complexity" + }, + { + "file": "src/model/ApiModel.ts", + "scopeId": ".ApiModel.resolveDeclarationReference", + "rule": "complexity" + }, + { + "file": "src/model/ApiModel.ts", + "scopeId": ".ApiModel.resolveDeclarationReference", + "rule": "max-lines-per-function" + }, + { + "file": "src/model/ApiModel.ts", + "scopeId": ".ApiModel.tryGetPackageByName", + "rule": "complexity" + }, + { + "file": "src/model/ApiModel.ts", + "scopeId": ".ApiModel.tryGetPackageByName", + "rule": "max-depth" + }, + { + "file": "src/model/ApiModel.ts", + "scopeId": ".ApiModel.tryGetPackageByName", + "rule": "max-lines-per-function" + }, + { + "file": "src/model/ApiNamespace.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiNamespace.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiPackage.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/model/ApiPackage.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiPackage.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/model/ApiPackage.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiPackage.ts", + "scopeId": ".ApiPackage.loadFromJsonFile", + "rule": "complexity" + }, + { + "file": "src/model/ApiPackage.ts", + "scopeId": ".ApiPackage.loadFromJsonFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/model/ApiPackage.ts", + "scopeId": ".ApiPackage.saveToJsonFile", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/model/ApiPackage.ts", + "scopeId": ".ApiPackage.saveToJsonFile", + "rule": "complexity" + }, + { + "file": "src/model/ApiProperty.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiProperty.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiPropertySignature.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiTypeAlias.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiTypeAlias.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/model/ApiTypeAlias.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/ApiVariable.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ApiVariable.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/model/ApiVariable.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/Deserializer.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/Deserializer.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/model/Deserializer.ts", + "scopeId": ".Deserializer.deserialize", + "rule": "complexity" + }, + { + "file": "src/model/Deserializer.ts", + "scopeId": ".Deserializer.deserialize", + "rule": "max-lines-per-function" + }, + { + "file": "src/model/DeserializerContext.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/model/ModelReferenceResolver.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/model/ModelReferenceResolver.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/ModelReferenceResolver.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/model/ModelReferenceResolver.ts", + "scopeId": ".ModelReferenceResolver._selectUsingIndexSelector", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/model/ModelReferenceResolver.ts", + "scopeId": ".ModelReferenceResolver._selectUsingIndexSelector", + "rule": "complexity" + }, + { + "file": "src/model/ModelReferenceResolver.ts", + "scopeId": ".ModelReferenceResolver._selectUsingIndexSelector", + "rule": "max-lines-per-function" + }, + { + "file": "src/model/ModelReferenceResolver.ts", + "scopeId": ".ModelReferenceResolver._selectUsingSystemSelector", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/model/ModelReferenceResolver.ts", + "scopeId": ".ModelReferenceResolver._selectUsingSystemSelector", + "rule": "complexity" + }, + { + "file": "src/model/ModelReferenceResolver.ts", + "scopeId": ".ModelReferenceResolver._selectUsingSystemSelector", + "rule": "max-lines-per-function" + }, + { + "file": "src/model/ModelReferenceResolver.ts", + "scopeId": ".ModelReferenceResolver.resolve", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/model/ModelReferenceResolver.ts", + "scopeId": ".ModelReferenceResolver.resolve", + "rule": "complexity" + }, + { + "file": "src/model/ModelReferenceResolver.ts", + "scopeId": ".ModelReferenceResolver.resolve", + "rule": "max-lines-per-function" + }, + { + "file": "src/model/Parameter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/SourceLocation.ts", + "scopeId": ".SourceLocation.fileUrl", + "rule": "complexity" + }, + { + "file": "src/model/TypeParameter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/model/TypeParameter.ts", + "scopeId": ".", + "rule": "max-lines" + } + ] +} \ No newline at end of file diff --git a/libraries/api-extractor-model/eslint.config.js b/libraries/api-extractor-model/eslint.config.js index f0925d11b7d..56297c57c86 100644 --- a/libraries/api-extractor-model/eslint.config.js +++ b/libraries/api-extractor-model/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/credential-cache/.eslint-bulk-suppressions.json b/libraries/credential-cache/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..a36ed99b648 --- /dev/null +++ b/libraries/credential-cache/.eslint-bulk-suppressions.json @@ -0,0 +1,74 @@ +{ + "suppressions": [ + { + "file": "src/CredentialCache.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/CredentialCache.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/CredentialCache.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/CredentialCache.ts", + "scopeId": ".CredentialCache._validate", + "rule": "complexity" + }, + { + "file": "src/CredentialCache.ts", + "scopeId": ".CredentialCache.constructor", + "rule": "complexity" + }, + { + "file": "src/CredentialCache.ts", + "scopeId": ".CredentialCache.initializeAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CredentialCache.ts", + "scopeId": ".CredentialCache.initializeAsync", + "rule": "complexity" + }, + { + "file": "src/CredentialCache.ts", + "scopeId": ".CredentialCache.initializeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/CredentialCache.ts", + "scopeId": ".CredentialCache.setCacheEntry", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CredentialCache.ts", + "scopeId": ".CredentialCache.setCacheEntry", + "rule": "complexity" + }, + { + "file": "src/test/CredentialCache.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/CredentialCache.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/CredentialCache.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/CredentialCache.test.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/libraries/credential-cache/eslint.config.js b/libraries/credential-cache/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/libraries/credential-cache/eslint.config.js +++ b/libraries/credential-cache/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/debug-certificate-manager/.eslint-bulk-suppressions.json b/libraries/debug-certificate-manager/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..9e05657c979 --- /dev/null +++ b/libraries/debug-certificate-manager/.eslint-bulk-suppressions.json @@ -0,0 +1,254 @@ +{ + "suppressions": [ + { + "file": "src/CertificateManager.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._createCACertificateAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._createCACertificateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._createDevelopmentCertificateAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._createDevelopmentCertificateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._detectIfCertificateIsTrustedAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._detectIfCertificateIsTrustedAsync", + "rule": "complexity" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._detectIfCertificateIsTrustedAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._ensureCertificateInternalAsync", + "rule": "complexity" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._ensureCertificateInternalAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._parseMacOsMatchingCertificateHash", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._parseMacOsMatchingCertificateHash", + "rule": "complexity" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._trySetFriendlyNameAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._trySetFriendlyNameAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._tryTrustCertificateAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._tryTrustCertificateAsync", + "rule": "complexity" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager._tryTrustCertificateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager.ensureCertificateAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager.ensureCertificateAsync", + "rule": "complexity" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager.ensureCertificateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager.untrustCertificateAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager.untrustCertificateAsync", + "rule": "complexity" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager.untrustCertificateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager.validateCertificateAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager.validateCertificateAsync", + "rule": "complexity" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".CertificateManager.validateCertificateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".IDnsAltName", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".IIPAddressAltName", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".applyDefaultOptions", + "rule": "complexity" + }, + { + "file": "src/CertificateManager.ts", + "scopeId": ".isIPAddress", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CertificateStore.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/CertificateStore.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/CertificateStore.ts", + "scopeId": ".CertificateStore.caCertificateData", + "rule": "complexity" + }, + { + "file": "src/CertificateStore.ts", + "scopeId": ".CertificateStore.certificateData", + "rule": "complexity" + }, + { + "file": "src/CertificateStore.ts", + "scopeId": ".CertificateStore.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/CertificateStore.ts", + "scopeId": ".CertificateStore.constructor", + "rule": "complexity" + }, + { + "file": "src/CertificateStore.ts", + "scopeId": ".CertificateStore.constructor", + "rule": "max-depth" + }, + { + "file": "src/CertificateStore.ts", + "scopeId": ".CertificateStore.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/CertificateStore.ts", + "scopeId": ".CertificateStore.keyData", + "rule": "complexity" + }, + { + "file": "src/runCommand.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/runCommand.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/runCommand.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/runCommand.ts", + "scopeId": "._handleChildProcess", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/runCommand.ts", + "scopeId": ".darwinRunSudoAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/runCommand.ts", + "scopeId": ".darwinRunSudoAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/runCommand.ts", + "scopeId": ".randomTmpPath", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/libraries/debug-certificate-manager/eslint.config.js b/libraries/debug-certificate-manager/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/libraries/debug-certificate-manager/eslint.config.js +++ b/libraries/debug-certificate-manager/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/heft-config-file/.eslint-bulk-suppressions.json b/libraries/heft-config-file/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..0a7440defbf --- /dev/null +++ b/libraries/heft-config-file/.eslint-bulk-suppressions.json @@ -0,0 +1,159 @@ +{ + "suppressions": [ + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._annotateProperties", + "rule": "complexity" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._contextualizeConfigurationFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._finalizeConfigurationFile", + "rule": "complexity" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._finalizeConfigurationFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._loadConfigurationFileEntry", + "rule": "complexity" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._loadConfigurationFileEntry", + "rule": "max-depth" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._loadConfigurationFileEntry", + "rule": "max-lines-per-function" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._loadConfigurationFileEntryAsync", + "rule": "complexity" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._loadConfigurationFileEntryAsync", + "rule": "max-depth" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._loadConfigurationFileEntryAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._loadConfigurationFileEntryWithCache", + "rule": "max-lines-per-function" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._loadConfigurationFileEntryWithCacheAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._mergeObjects", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._mergeObjects", + "rule": "complexity" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._mergeObjects", + "rule": "max-lines-per-function" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._mergeObjects", + "rule": "max-params" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._resolvePathProperty", + "rule": "complexity" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._resolvePathProperty", + "rule": "max-lines-per-function" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase._schema", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/ConfigurationFileBase.ts", + "scopeId": ".ConfigurationFileBase.constructor", + "rule": "complexity" + }, + { + "file": "src/ProjectConfigurationFile.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/ProjectConfigurationFile.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ProjectConfigurationFile.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/TestUtilities.ts", + "scopeId": ".stripAnnotations", + "rule": "complexity" + }, + { + "file": "src/test/ConfigurationFile.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/ConfigurationFile.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/ConfigurationFile.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/ConfigurationFile.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/ConfigurationFile.test.ts", + "scopeId": ".runTests", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/libraries/heft-config-file/eslint.config.js b/libraries/heft-config-file/eslint.config.js index e54effd122a..d4ba303ef90 100644 --- a/libraries/heft-config-file/eslint.config.js +++ b/libraries/heft-config-file/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/load-themed-styles/.eslint-bulk-suppressions.json b/libraries/load-themed-styles/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..7e67bafd8d9 --- /dev/null +++ b/libraries/load-themed-styles/.eslint-bulk-suppressions.json @@ -0,0 +1,109 @@ +{ + "suppressions": [ + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/index.ts", + "scopeId": ".asyncLoadStyles", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/index.ts", + "scopeId": ".clearStyles", + "rule": "complexity" + }, + { + "file": "src/index.ts", + "scopeId": ".clearStylesInternal", + "rule": "complexity" + }, + { + "file": "src/index.ts", + "scopeId": ".flush", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/index.ts", + "scopeId": ".initializeThemeState", + "rule": "complexity" + }, + { + "file": "src/index.ts", + "scopeId": ".loadStyles", + "rule": "complexity" + }, + { + "file": "src/index.ts", + "scopeId": ".registerStyles", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/index.ts", + "scopeId": ".registerStyles", + "rule": "complexity" + }, + { + "file": "src/index.ts", + "scopeId": ".registerStyles", + "rule": "max-lines-per-function" + }, + { + "file": "src/index.ts", + "scopeId": ".reloadStyles", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/index.ts", + "scopeId": ".reloadStyles", + "rule": "complexity" + }, + { + "file": "src/index.ts", + "scopeId": ".resolveThemableArray", + "rule": "complexity" + }, + { + "file": "src/index.ts", + "scopeId": ".resolveThemableArray", + "rule": "max-lines-per-function" + }, + { + "file": "src/index.ts", + "scopeId": ".splitStyles", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/index.ts", + "scopeId": ".splitStyles", + "rule": "complexity" + }, + { + "file": "src/test/index.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/index.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/index.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/index.test.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/libraries/load-themed-styles/eslint.config.js b/libraries/load-themed-styles/eslint.config.js index 8a61a653f26..aa2782432fb 100644 --- a/libraries/load-themed-styles/eslint.config.js +++ b/libraries/load-themed-styles/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-web-rig/profiles/library/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-web-rig/profiles/library/includes/eslint/flat/profile/web-app'); const friendlyLocalsMixin = require('local-web-rig/profiles/library/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/localization-utilities/.eslint-bulk-suppressions.json b/libraries/localization-utilities/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..6493d2fb9c4 --- /dev/null +++ b/libraries/localization-utilities/.eslint-bulk-suppressions.json @@ -0,0 +1,189 @@ +{ + "suppressions": [ + { + "file": "src/LocFileParser.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/LocFileParser.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/LocFileParser.ts", + "scopeId": ".parseLocFile", + "rule": "complexity" + }, + { + "file": "src/LocFileParser.ts", + "scopeId": ".parseLocFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/LocFileParser.ts", + "scopeId": ".selectParserByFilePath", + "rule": "complexity" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator.constructor", + "rule": "complexity" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator.constructor.parseAndGenerateTypings", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator.constructor.parseAndGenerateTypings", + "rule": "complexity" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator.constructor.parseAndGenerateTypings", + "rule": "max-lines-per-function" + }, + { + "file": "src/parsers/parseLocJson.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/parsers/parseLocJson.ts", + "scopeId": ".parseLocJson", + "rule": "complexity" + }, + { + "file": "src/parsers/parseResJson.ts", + "scopeId": ".parseResJson", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/parsers/parseResJson.ts", + "scopeId": ".parseResJson", + "rule": "complexity" + }, + { + "file": "src/parsers/parseResJson.ts", + "scopeId": ".parseResJson", + "rule": "max-lines-per-function" + }, + { + "file": "src/parsers/parseResx.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/parsers/parseResx.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/parsers/parseResx.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/parsers/parseResx.ts", + "scopeId": "._logErrorWithLocation", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/parsers/parseResx.ts", + "scopeId": "._logWarningWithLocation", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/parsers/parseResx.ts", + "scopeId": "._logWithLocation", + "rule": "max-params" + }, + { + "file": "src/parsers/parseResx.ts", + "scopeId": "._readDataElement", + "rule": "complexity" + }, + { + "file": "src/parsers/parseResx.ts", + "scopeId": "._readDataElement", + "rule": "max-depth" + }, + { + "file": "src/parsers/parseResx.ts", + "scopeId": "._readDataElement", + "rule": "max-lines-per-function" + }, + { + "file": "src/parsers/parseResx.ts", + "scopeId": "._readResxAsLocFileInternal", + "rule": "complexity" + }, + { + "file": "src/parsers/parseResx.ts", + "scopeId": "._readResxAsLocFileInternal", + "rule": "max-depth" + }, + { + "file": "src/parsers/parseResx.ts", + "scopeId": "._readResxAsLocFileInternal", + "rule": "max-lines-per-function" + }, + { + "file": "src/parsers/parseResx.ts", + "scopeId": "._readTextElement", + "rule": "complexity" + }, + { + "file": "src/parsers/parseResx.ts", + "scopeId": "._readTextElement", + "rule": "max-lines-per-function" + }, + { + "file": "src/parsers/test/parseLocJson.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/parsers/test/parseResJson.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/parsers/test/parseResx.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/parsers/test/parseResx.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/libraries/localization-utilities/eslint.config.js b/libraries/localization-utilities/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/libraries/localization-utilities/eslint.config.js +++ b/libraries/localization-utilities/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/lookup-by-path/.eslint-bulk-suppressions.json b/libraries/lookup-by-path/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..79316a05d45 --- /dev/null +++ b/libraries/lookup-by-path/.eslint-bulk-suppressions.json @@ -0,0 +1,164 @@ +{ + "suppressions": [ + { + "file": "src/LookupByPath.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath._findLongestPrefixMatch", + "rule": "complexity" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath._findLongestPrefixMatch", + "rule": "max-lines-per-function" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath._findNodeAtPrefix", + "rule": "complexity" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.constructor", + "rule": "complexity" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.deleteItem", + "rule": "complexity" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.deleteSubtree", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.deleteSubtree", + "rule": "complexity" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.entries", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.entries", + "rule": "complexity" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.findChildPathFromSegments", + "rule": "complexity" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.fromJson", + "rule": "max-lines-per-function" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.fromJson.deserializeNode", + "rule": "complexity" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.get", + "rule": "complexity" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.groupByChild", + "rule": "complexity" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.setItemFromSegments", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.setItemFromSegments", + "rule": "complexity" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.toJson", + "rule": "max-lines-per-function" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.toJson.serializeNode", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": ".LookupByPath.toJson.serializeNode", + "rule": "complexity" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": "._iteratePrefixes", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LookupByPath.ts", + "scopeId": "._iteratePrefixes", + "rule": "complexity" + }, + { + "file": "src/getFirstDifferenceInCommonNodes.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/getFirstDifferenceInCommonNodes.ts", + "scopeId": ".getFirstDifferenceInCommonNodes", + "rule": "complexity" + }, + { + "file": "src/getFirstDifferenceInCommonNodes.ts", + "scopeId": ".getFirstDifferenceInCommonNodesInternal", + "rule": "complexity" + }, + { + "file": "src/getFirstDifferenceInCommonNodes.ts", + "scopeId": ".getFirstDifferenceInCommonNodesInternal", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/LookupByPath.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/LookupByPath.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/LookupByPath.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/getFirstDifferenceInCommonNodes.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/getFirstDifferenceInCommonNodes.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/getFirstDifferenceInCommonNodes.test.ts", + "scopeId": ".customEquals", + "rule": "complexity" + } + ] +} \ No newline at end of file diff --git a/libraries/lookup-by-path/eslint.config.js b/libraries/lookup-by-path/eslint.config.js index 87132f43292..0f47d7e24bf 100644 --- a/libraries/lookup-by-path/eslint.config.js +++ b/libraries/lookup-by-path/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/libraries/module-minifier/.eslint-bulk-suppressions.json b/libraries/module-minifier/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..81d1ad81991 --- /dev/null +++ b/libraries/module-minifier/.eslint-bulk-suppressions.json @@ -0,0 +1,144 @@ +{ + "suppressions": [ + { + "file": "src/LocalMinifier.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/LocalMinifier.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/LocalMinifier.ts", + "scopeId": ".LocalMinifier.constructor", + "rule": "complexity" + }, + { + "file": "src/MinifiedIdentifier.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/MinifiedIdentifier.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/MinifiedIdentifier.ts", + "scopeId": ".getIdentifierInternal", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/MinifiedIdentifier.ts", + "scopeId": ".getOrdinalFromIdentifierInternal", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/MinifiedIdentifier.ts", + "scopeId": ".getOrdinalFromIdentifierInternal", + "rule": "complexity" + }, + { + "file": "src/MinifySingleFile.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/MinifySingleFile.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/MinifySingleFile.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/MinifySingleFile.ts", + "scopeId": ".minifySingleFileAsync", + "rule": "complexity" + }, + { + "file": "src/MinifySingleFile.ts", + "scopeId": ".minifySingleFileAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/WorkerPoolMinifier.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/WorkerPoolMinifier.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/WorkerPoolMinifier.ts", + "scopeId": ".WorkerPoolMinifier.connectAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WorkerPoolMinifier.ts", + "scopeId": ".WorkerPoolMinifier.connectAsync.disconnectAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WorkerPoolMinifier.ts", + "scopeId": ".WorkerPoolMinifier.connectAsync.disconnectAsync", + "rule": "complexity" + }, + { + "file": "src/WorkerPoolMinifier.ts", + "scopeId": ".WorkerPoolMinifier.constructor", + "rule": "complexity" + }, + { + "file": "src/WorkerPoolMinifier.ts", + "scopeId": ".WorkerPoolMinifier.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/WorkerPoolMinifier.ts", + "scopeId": ".WorkerPoolMinifier.minify", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/LocalMinifier.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/MinifiedIdentifier.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/MinifiedIdentifier.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/MinifiedIdentifier.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/MinifiedIdentifier.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/WorkerPoolMinifier.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/types.ts", + "scopeId": ".", + "rule": "max-lines" + } + ] +} \ No newline at end of file diff --git a/libraries/module-minifier/eslint.config.js b/libraries/module-minifier/eslint.config.js index 87132f43292..0f47d7e24bf 100644 --- a/libraries/module-minifier/eslint.config.js +++ b/libraries/module-minifier/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/libraries/node-core-library/.eslint-bulk-suppressions.json b/libraries/node-core-library/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..6a4a784f987 --- /dev/null +++ b/libraries/node-core-library/.eslint-bulk-suppressions.json @@ -0,0 +1,1629 @@ +{ + "suppressions": [ + { + "file": "src/Async.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Async.ts", + "scopeId": ".Async.runWithRetriesAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Async.ts", + "scopeId": ".Async.runWithRetriesAsync", + "rule": "complexity" + }, + { + "file": "src/Async.ts", + "scopeId": ".Async.validateWeightedIterable", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Async.ts", + "scopeId": ".AsyncQueue", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Async.ts", + "scopeId": ".AsyncQueue", + "rule": "complexity" + }, + { + "file": "src/Async.ts", + "scopeId": ".AsyncQueue.callback", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Async.ts", + "scopeId": "._forEachWeightedAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Async.ts", + "scopeId": "._forEachWeightedAsync", + "rule": "complexity" + }, + { + "file": "src/Async.ts", + "scopeId": "._forEachWeightedAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Async.ts", + "scopeId": "._forEachWeightedAsync.onOperationCompletionAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Async.ts", + "scopeId": "._forEachWeightedAsync.onOperationCompletionAsync", + "rule": "complexity" + }, + { + "file": "src/Async.ts", + "scopeId": "._forEachWeightedAsync.queueOperationsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Async.ts", + "scopeId": "._forEachWeightedAsync.queueOperationsAsync", + "rule": "complexity" + }, + { + "file": "src/Async.ts", + "scopeId": "._forEachWeightedAsync.queueOperationsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Async.ts", + "scopeId": ".toWeightedIterator.next.value", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Enum.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/EnvironmentMap.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/EnvironmentMap.ts", + "scopeId": ".EnvironmentMap.mergeFromObject", + "rule": "complexity" + }, + { + "file": "src/Executable.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Executable.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/Executable.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Executable.ts", + "scopeId": ".Executable.getProcessInfoById", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Executable.ts", + "scopeId": ".Executable.spawn", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Executable.ts", + "scopeId": ".Executable.spawnSync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Executable.ts", + "scopeId": ".Executable.spawnSync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Executable.ts", + "scopeId": ".Executable.waitForExitAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Executable.ts", + "scopeId": ".Executable.waitForExitAsync", + "rule": "complexity" + }, + { + "file": "src/Executable.ts", + "scopeId": ".Executable.waitForExitAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Executable.ts", + "scopeId": ".Executable.waitForExitAsync.normalizeChunk", + "rule": "complexity" + }, + { + "file": "src/Executable.ts", + "scopeId": "._buildCommandLineFixup", + "rule": "complexity" + }, + { + "file": "src/Executable.ts", + "scopeId": "._buildCommandLineFixup", + "rule": "max-lines-per-function" + }, + { + "file": "src/Executable.ts", + "scopeId": "._buildEnvironmentMap", + "rule": "complexity" + }, + { + "file": "src/Executable.ts", + "scopeId": "._canExecute", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Executable.ts", + "scopeId": "._canExecute", + "rule": "complexity" + }, + { + "file": "src/Executable.ts", + "scopeId": "._canExecute", + "rule": "max-lines-per-function" + }, + { + "file": "src/Executable.ts", + "scopeId": "._getExecutableContext", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Executable.ts", + "scopeId": "._getExecutableContext", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Executable.ts", + "scopeId": "._getExecutableContext", + "rule": "complexity" + }, + { + "file": "src/Executable.ts", + "scopeId": "._getExecutableContext", + "rule": "max-depth" + }, + { + "file": "src/Executable.ts", + "scopeId": "._getExecutableContext", + "rule": "max-lines-per-function" + }, + { + "file": "src/Executable.ts", + "scopeId": "._getSearchFolders", + "rule": "complexity" + }, + { + "file": "src/Executable.ts", + "scopeId": "._getSearchFolders", + "rule": "max-depth" + }, + { + "file": "src/Executable.ts", + "scopeId": "._getSearchFolders", + "rule": "max-lines-per-function" + }, + { + "file": "src/Executable.ts", + "scopeId": "._tryResolve", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Executable.ts", + "scopeId": "._tryResolve", + "rule": "complexity" + }, + { + "file": "src/Executable.ts", + "scopeId": "._tryResolve", + "rule": "max-lines-per-function" + }, + { + "file": "src/Executable.ts", + "scopeId": "._tryResolveFileExtension", + "rule": "complexity" + }, + { + "file": "src/Executable.ts", + "scopeId": "._validateArgsForWindowsShell", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Executable.ts", + "scopeId": ".parseProcessInfoEntry", + "rule": "complexity" + }, + { + "file": "src/Executable.ts", + "scopeId": ".parseProcessInfoEntry", + "rule": "max-lines-per-function" + }, + { + "file": "src/Executable.ts", + "scopeId": ".parseProcessListOutput", + "rule": "complexity" + }, + { + "file": "src/Executable.ts", + "scopeId": ".parseProcessListOutputAsync", + "rule": "complexity" + }, + { + "file": "src/FileError.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/FileError.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/FileError.ts", + "scopeId": ".FileError._evaluateBaseFolder", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/FileError.ts", + "scopeId": ".FileError._evaluateBaseFolder", + "rule": "complexity" + }, + { + "file": "src/FileError.ts", + "scopeId": ".FileError._evaluateBaseFolder", + "rule": "max-lines-per-function" + }, + { + "file": "src/FileError.ts", + "scopeId": ".FileError.getProblemMatcher", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.appendToFile", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.appendToFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.appendToFileAsync", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.appendToFileAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.deleteFile", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.deleteFileAsync", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.formatPosixModeBits", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.move", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.moveAsync", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.writeBuffersToFile", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.writeBuffersToFile", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.writeBuffersToFile", + "rule": "max-depth" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.writeBuffersToFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.writeBuffersToFileAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.writeBuffersToFileAsync", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.writeBuffersToFileAsync", + "rule": "max-depth" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.writeBuffersToFileAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.writeFile", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.writeFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.writeFileAsync", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": ".FileSystem.writeFileAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/FileSystem.ts", + "scopeId": "._handleLink", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": "._handleLink", + "rule": "max-depth" + }, + { + "file": "src/FileSystem.ts", + "scopeId": "._handleLink", + "rule": "max-lines-per-function" + }, + { + "file": "src/FileSystem.ts", + "scopeId": "._handleLinkAsync", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": "._handleLinkAsync", + "rule": "max-depth" + }, + { + "file": "src/FileSystem.ts", + "scopeId": "._handleLinkAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/FileSystem.ts", + "scopeId": "._handleLinkExistError", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": "._handleLinkExistErrorAsync", + "rule": "complexity" + }, + { + "file": "src/FileSystem.ts", + "scopeId": "._updateErrorMessage", + "rule": "complexity" + }, + { + "file": "src/FileWriter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/IPackageJson.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Import.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Import.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/Import.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Import.ts", + "scopeId": ".Import.resolveModule", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Import.ts", + "scopeId": ".Import.resolveModule", + "rule": "complexity" + }, + { + "file": "src/Import.ts", + "scopeId": ".Import.resolveModule", + "rule": "max-lines-per-function" + }, + { + "file": "src/Import.ts", + "scopeId": ".Import.resolveModuleAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Import.ts", + "scopeId": ".Import.resolveModuleAsync", + "rule": "complexity" + }, + { + "file": "src/Import.ts", + "scopeId": ".Import.resolveModuleAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Import.ts", + "scopeId": ".Import.resolvePackage", + "rule": "complexity" + }, + { + "file": "src/Import.ts", + "scopeId": ".Import.resolvePackage", + "rule": "max-lines-per-function" + }, + { + "file": "src/Import.ts", + "scopeId": ".Import.resolvePackageAsync", + "rule": "complexity" + }, + { + "file": "src/Import.ts", + "scopeId": ".Import.resolvePackageAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Import.ts", + "scopeId": ".RealpathFnType", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Import.ts", + "scopeId": "._getBuiltInModules", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/JsonFile.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/JsonFile.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/JsonFile.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/JsonFile.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/JsonFile.ts", + "scopeId": ".JsonFile.save", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/JsonFile.ts", + "scopeId": ".JsonFile.save", + "rule": "complexity" + }, + { + "file": "src/JsonFile.ts", + "scopeId": ".JsonFile.save", + "rule": "max-lines-per-function" + }, + { + "file": "src/JsonFile.ts", + "scopeId": ".JsonFile.saveAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/JsonFile.ts", + "scopeId": ".JsonFile.saveAsync", + "rule": "complexity" + }, + { + "file": "src/JsonFile.ts", + "scopeId": ".JsonFile.saveAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/JsonFile.ts", + "scopeId": ".JsonFile.updateString", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/JsonFile.ts", + "scopeId": ".JsonFile.updateString", + "rule": "complexity" + }, + { + "file": "src/JsonFile.ts", + "scopeId": ".JsonFile.updateString", + "rule": "max-lines-per-function" + }, + { + "file": "src/JsonFile.ts", + "scopeId": "._buildJjuParseOptions", + "rule": "complexity" + }, + { + "file": "src/JsonFile.ts", + "scopeId": "._formatJsonHeaderComment", + "rule": "complexity" + }, + { + "file": "src/JsonFile.ts", + "scopeId": "._formatKeyPath", + "rule": "complexity" + }, + { + "file": "src/JsonFile.ts", + "scopeId": "._validateNoUndefinedMembers", + "rule": "complexity" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": ".JsonSchema._collectDependentSchemas", + "rule": "complexity" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": ".JsonSchema._collectDependentSchemas", + "rule": "max-lines-per-function" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": ".JsonSchema._ensureLoaded", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": ".JsonSchema._ensureLoaded", + "rule": "complexity" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": ".JsonSchema.ensureCompiled", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": ".JsonSchema.ensureCompiled", + "rule": "complexity" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": ".JsonSchema.ensureCompiled", + "rule": "max-lines-per-function" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": ".JsonSchema.fromFile", + "rule": "complexity" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": ".JsonSchema.fromLoadedObject", + "rule": "complexity" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": ".JsonSchema.shortName", + "rule": "complexity" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": ".JsonSchema.validateObjectWithCallback", + "rule": "complexity" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": "._collectVendorExtensionKeywords", + "rule": "complexity" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": "._formatErrorDetailsHelper", + "rule": "complexity" + }, + { + "file": "src/JsonSchema.ts", + "scopeId": "._inferJsonSchemaVersion", + "rule": "complexity" + }, + { + "file": "src/LegacyAdapters.ts", + "scopeId": ".LegacyAdapters.convertCallbackToPromise", + "rule": "complexity" + }, + { + "file": "src/LegacyAdapters.ts", + "scopeId": ".LegacyAdapters.convertCallbackToPromise", + "rule": "max-lines-per-function" + }, + { + "file": "src/LegacyAdapters.ts", + "scopeId": ".LegacyAdapters.convertCallbackToPromise", + "rule": "max-params" + }, + { + "file": "src/LockFile.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/LockFile.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/LockFile.ts", + "scopeId": ".LockFile.acquireAsync", + "rule": "complexity" + }, + { + "file": "src/LockFile.ts", + "scopeId": ".LockFile.getLockFilePath", + "rule": "complexity" + }, + { + "file": "src/LockFile.ts", + "scopeId": ".LockFile.release", + "rule": "complexity" + }, + { + "file": "src/LockFile.ts", + "scopeId": "._tryAcquireInner", + "rule": "complexity" + }, + { + "file": "src/LockFile.ts", + "scopeId": "._tryAcquireMacOrLinux", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LockFile.ts", + "scopeId": "._tryAcquireMacOrLinux", + "rule": "complexity" + }, + { + "file": "src/LockFile.ts", + "scopeId": "._tryAcquireMacOrLinux", + "rule": "max-depth" + }, + { + "file": "src/LockFile.ts", + "scopeId": "._tryAcquireMacOrLinux", + "rule": "max-lines-per-function" + }, + { + "file": "src/LockFile.ts", + "scopeId": "._tryAcquireWindows", + "rule": "complexity" + }, + { + "file": "src/LockFile.ts", + "scopeId": "._tryAcquireWindows", + "rule": "max-lines-per-function" + }, + { + "file": "src/LockFile.ts", + "scopeId": ".getProcessStartTime", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LockFile.ts", + "scopeId": ".getProcessStartTime", + "rule": "complexity" + }, + { + "file": "src/LockFile.ts", + "scopeId": ".getProcessStartTime", + "rule": "max-lines-per-function" + }, + { + "file": "src/LockFile.ts", + "scopeId": ".getProcessStartTimeFromProcStat", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LockFile.ts", + "scopeId": ".getProcessStartTimeFromProcStat", + "rule": "complexity" + }, + { + "file": "src/LockFile.ts", + "scopeId": ".getProcessStartTimeFromProcStat", + "rule": "max-lines-per-function" + }, + { + "file": "src/MapExtensions.ts", + "scopeId": ".MapExtensions.mergeFromMap", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/MinimumHeap.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/MinimumHeap.ts", + "scopeId": ".MinimumHeap.peek", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/MinimumHeap.ts", + "scopeId": ".MinimumHeap.poll", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/MinimumHeap.ts", + "scopeId": ".MinimumHeap.poll", + "rule": "complexity" + }, + { + "file": "src/MinimumHeap.ts", + "scopeId": ".MinimumHeap.poll", + "rule": "max-depth" + }, + { + "file": "src/MinimumHeap.ts", + "scopeId": ".MinimumHeap.poll", + "rule": "max-lines-per-function" + }, + { + "file": "src/MinimumHeap.ts", + "scopeId": ".MinimumHeap.push", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/PackageJsonLookup.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/PackageJsonLookup.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/PackageJsonLookup.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/PackageJsonLookup.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/PackageJsonLookup.ts", + "scopeId": ".PackageJsonLookup._loadPackageJsonInner", + "rule": "complexity" + }, + { + "file": "src/PackageJsonLookup.ts", + "scopeId": ".PackageJsonLookup._tryGetPackageFolderFor", + "rule": "complexity" + }, + { + "file": "src/PackageJsonLookup.ts", + "scopeId": ".PackageJsonLookup._tryGetPackageFolderFor", + "rule": "max-lines-per-function" + }, + { + "file": "src/PackageJsonLookup.ts", + "scopeId": ".PackageJsonLookup._tryLoadNodePackageJsonInner", + "rule": "complexity" + }, + { + "file": "src/PackageJsonLookup.ts", + "scopeId": ".PackageJsonLookup._tryLoadNodePackageJsonInner", + "rule": "max-lines-per-function" + }, + { + "file": "src/PackageJsonLookup.ts", + "scopeId": ".PackageJsonLookup.instance", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/PackageJsonLookup.ts", + "scopeId": ".PackageJsonLookup.loadOwnPackageJson", + "rule": "complexity" + }, + { + "file": "src/PackageName.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/PackageName.ts", + "scopeId": ".PackageNameParser.combineParts", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/PackageName.ts", + "scopeId": ".PackageNameParser.combineParts", + "rule": "complexity" + }, + { + "file": "src/PackageName.ts", + "scopeId": ".PackageNameParser.tryParse", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/PackageName.ts", + "scopeId": ".PackageNameParser.tryParse", + "rule": "complexity" + }, + { + "file": "src/PackageName.ts", + "scopeId": ".PackageNameParser.tryParse", + "rule": "max-lines-per-function" + }, + { + "file": "src/Path.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Path.ts", + "scopeId": ".Path.formatConcisely", + "rule": "complexity" + }, + { + "file": "src/Path.ts", + "scopeId": ".Path.formatFileLocation", + "rule": "complexity" + }, + { + "file": "src/Path.ts", + "scopeId": ".Path.formatFileLocation", + "rule": "max-lines-per-function" + }, + { + "file": "src/PosixModeBits.ts", + "scopeId": ".PosixModeBits", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ProtectableMap.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ProtectableMapView.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/RealNodeModulePath.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/RealNodeModulePath.ts", + "scopeId": ".RealNodeModulePathResolver._tryReadLink", + "rule": "complexity" + }, + { + "file": "src/RealNodeModulePath.ts", + "scopeId": ".RealNodeModulePathResolver.constructor", + "rule": "complexity" + }, + { + "file": "src/RealNodeModulePath.ts", + "scopeId": ".RealNodeModulePathResolver.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/RealNodeModulePath.ts", + "scopeId": ".RealNodeModulePathResolver.constructor.realNodeModulePathInternal", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RealNodeModulePath.ts", + "scopeId": ".RealNodeModulePathResolver.constructor.realNodeModulePathInternal", + "rule": "complexity" + }, + { + "file": "src/RealNodeModulePath.ts", + "scopeId": ".RealNodeModulePathResolver.constructor.realNodeModulePathInternal", + "rule": "max-lines-per-function" + }, + { + "file": "src/Sort.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Sort.ts", + "scopeId": ".Sort.compareByValue", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Sort.ts", + "scopeId": ".Sort.compareByValue", + "rule": "complexity" + }, + { + "file": "src/Sort.ts", + "scopeId": ".Sort.compareByValue", + "rule": "max-lines-per-function" + }, + { + "file": "src/Sort.ts", + "scopeId": ".Sort.isSorted", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Sort.ts", + "scopeId": ".Sort.isSorted", + "rule": "complexity" + }, + { + "file": "src/Sort.ts", + "scopeId": ".Sort.isSortedBy", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Sort.ts", + "scopeId": ".Sort.isSortedBy", + "rule": "complexity" + }, + { + "file": "src/Sort.ts", + "scopeId": ".Sort.sortKeys", + "rule": "complexity" + }, + { + "file": "src/Sort.ts", + "scopeId": ".Sort.sortMapKeys", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Sort.ts", + "scopeId": ".Sort.sortMapKeys", + "rule": "complexity" + }, + { + "file": "src/Sort.ts", + "scopeId": ".Sort.sortSet", + "rule": "complexity" + }, + { + "file": "src/Sort.ts", + "scopeId": ".Sort.sortSetBy", + "rule": "complexity" + }, + { + "file": "src/Sort.ts", + "scopeId": ".innerSortArray", + "rule": "complexity" + }, + { + "file": "src/Sort.ts", + "scopeId": ".innerSortKeys", + "rule": "complexity" + }, + { + "file": "src/StringBuilder.ts", + "scopeId": ".StringBuilder.toString", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SubprocessTerminator.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/SubprocessTerminator.ts", + "scopeId": ".SubprocessTerminator.killProcessTree", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SubprocessTerminator.ts", + "scopeId": ".SubprocessTerminator.killProcessTree", + "rule": "complexity" + }, + { + "file": "src/SubprocessTerminator.ts", + "scopeId": ".SubprocessTerminator.killProcessTree", + "rule": "max-lines-per-function" + }, + { + "file": "src/SubprocessTerminator.ts", + "scopeId": ".SubprocessTerminator.killProcessTreeOnExit", + "rule": "max-lines-per-function" + }, + { + "file": "src/SubprocessTerminator.ts", + "scopeId": "._cleanupChildProcesses", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/SubprocessTerminator.ts", + "scopeId": "._cleanupChildProcesses", + "rule": "complexity" + }, + { + "file": "src/SubprocessTerminator.ts", + "scopeId": "._cleanupChildProcesses", + "rule": "max-depth" + }, + { + "file": "src/SubprocessTerminator.ts", + "scopeId": "._cleanupChildProcesses", + "rule": "max-lines-per-function" + }, + { + "file": "src/Text.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Text.ts", + "scopeId": ".Text.getNewline", + "rule": "complexity" + }, + { + "file": "src/Text.ts", + "scopeId": ".Text.padEnd", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Text.ts", + "scopeId": ".Text.padEnd", + "rule": "complexity" + }, + { + "file": "src/Text.ts", + "scopeId": ".Text.padStart", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Text.ts", + "scopeId": ".Text.padStart", + "rule": "complexity" + }, + { + "file": "src/Text.ts", + "scopeId": ".Text.readLinesFromIterable", + "rule": "complexity" + }, + { + "file": "src/Text.ts", + "scopeId": ".Text.readLinesFromIterableAsync", + "rule": "complexity" + }, + { + "file": "src/Text.ts", + "scopeId": ".Text.truncateWithEllipsis", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Text.ts", + "scopeId": ".Text.truncateWithEllipsis", + "rule": "complexity" + }, + { + "file": "src/Text.ts", + "scopeId": ".readLinesFromChunk", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Text.ts", + "scopeId": ".readLinesFromChunk", + "rule": "complexity" + }, + { + "file": "src/TypeUuid.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/TypeUuid.ts", + "scopeId": ".TypeUuid.isInstanceOf", + "rule": "complexity" + }, + { + "file": "src/TypeUuid.ts", + "scopeId": ".TypeUuid.registerClass", + "rule": "complexity" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/objects/areDeepEqual.ts", + "scopeId": ".areDeepEqual", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/objects/areDeepEqual.ts", + "scopeId": ".areDeepEqual", + "rule": "complexity" + }, + { + "file": "src/objects/areDeepEqual.ts", + "scopeId": ".areDeepEqual", + "rule": "max-depth" + }, + { + "file": "src/objects/areDeepEqual.ts", + "scopeId": ".areDeepEqual", + "rule": "max-lines-per-function" + }, + { + "file": "src/objects/mergeWith.ts", + "scopeId": ".mergeWith", + "rule": "complexity" + }, + { + "file": "src/objects/test/areDeepEqual.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/objects/test/areDeepEqual.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/objects/test/mergeWith.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/objects/test/mergeWith.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/objects/test/mergeWith.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/objects/test/mergeWith.test.ts", + "scopeId": ".target", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/Async.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/Async.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/Async.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/Async.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/Async.test.ts", + "scopeId": ".action", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/Async.test.ts", + "scopeId": ".asyncIterator.next", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/Async.test.ts", + "scopeId": ".fn", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/Async.test.ts", + "scopeId": ".syncIterator.next", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/Enum.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/Enum.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/EnvironmentMap.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/Executable.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/Executable.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/Executable.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/Executable.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/Executable.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/Executable.test.ts", + "scopeId": ".executeNpmBinaryWrapper", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/Executable.test.ts", + "scopeId": ".executeNpmBinaryWrapper", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/FileError.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/FileError.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/FileError.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/FileSystem.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/FileSystem.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/FileSystem.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/Import.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/Import.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/JsonFile.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/JsonSchema.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/JsonSchema.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/JsonSchema.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/JsonSchema.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/JsonSchema.test.ts", + "scopeId": ".customFormats.uint8.validate", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/LockFile.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/LockFile.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/LockFile.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/LockFile.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/LockFile.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/MinimumHeap.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/MinimumHeap.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/MinimumHeap.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/MinimumHeap.test.ts", + "scopeId": ".comparator", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/PackageJsonLookup.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/PackageJsonLookup.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/test/PackageJsonLookup.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/PackageJsonLookup.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/PackageName.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/Path.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/Path.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/ProtectableMap.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/ProtectableMap.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/ProtectableMap.test.ts", + "scopeId": ".ExampleApi", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/ProtectableMap.test.ts", + "scopeId": ".ExampleApi.constructor.onSet", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/ProtectableMap.test.ts", + "scopeId": ".ExampleApi.doUnprotectedOperations", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/RealNodeModulePath.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/RealNodeModulePath.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/RealNodeModulePath.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/Sort.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/Sort.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/Sort.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/Sort.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/Text.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/Text.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/Text.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/TypeUuid.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/TypeUuid.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/writeBuffersToFile.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/writeBuffersToFile.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/writeBuffersToFile.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/user/getHomeFolder.ts", + "scopeId": ".getHomeFolder", + "rule": "complexity" + } + ] +} \ No newline at end of file diff --git a/libraries/node-core-library/eslint.config.js b/libraries/node-core-library/eslint.config.js index f83aea7d1b7..0c0156944bc 100644 --- a/libraries/node-core-library/eslint.config.js +++ b/libraries/node-core-library/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/libraries/npm-check-fork/.eslint-bulk-suppressions.json b/libraries/npm-check-fork/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..c8e42076daa --- /dev/null +++ b/libraries/npm-check-fork/.eslint-bulk-suppressions.json @@ -0,0 +1,184 @@ +{ + "suppressions": [ + { + "file": "src/BestGuessHomepage.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/BestGuessHomepage.ts", + "scopeId": ".bestGuessHomepage", + "rule": "complexity" + }, + { + "file": "src/CreatePackageSummary.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/CreatePackageSummary.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/CreatePackageSummary.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/CreatePackageSummary.ts", + "scopeId": ".createPackageSummary", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/CreatePackageSummary.ts", + "scopeId": ".createPackageSummary", + "rule": "complexity" + }, + { + "file": "src/CreatePackageSummary.ts", + "scopeId": ".createPackageSummary", + "rule": "max-lines-per-function" + }, + { + "file": "src/FindModulePath.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/GetLatestFromRegistry.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/GetLatestFromRegistry.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/GetLatestFromRegistry.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/GetLatestFromRegistry.ts", + "scopeId": ".getNpmInfo", + "rule": "complexity" + }, + { + "file": "src/GetLatestFromRegistry.ts", + "scopeId": ".getNpmInfo", + "rule": "max-lines-per-function" + }, + { + "file": "src/GetLatestFromRegistry.ts", + "scopeId": ".getRegistryClient", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/NpmCheck.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/NpmCheckState.ts", + "scopeId": ".initializeState", + "rule": "complexity" + }, + { + "file": "src/NpmRegistryClient.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/NpmRegistryClient.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/NpmRegistryClient.ts", + "scopeId": ".NpmRegistryClient.constructor", + "rule": "complexity" + }, + { + "file": "src/NpmRegistryClient.ts", + "scopeId": ".NpmRegistryClient.fetchPackageMetadataAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/NpmRegistryClient.ts", + "scopeId": ".NpmRegistryClient.fetchPackageMetadataAsync", + "rule": "complexity" + }, + { + "file": "src/NpmRegistryClient.ts", + "scopeId": ".NpmRegistryClient.fetchPackageMetadataAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/NpmRegistryClient.ts", + "scopeId": ".NpmRegistryClient.fetchPackageMetadataAsync.requestOptions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ReadPackageJson.ts", + "scopeId": ".readPackageJson", + "rule": "complexity" + }, + { + "file": "src/tests/BestGuessHomepage.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/tests/CreatePackageSummary.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/tests/CreatePackageSummary.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/tests/GetLatestFromRegistry.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/tests/GetLatestFromRegistry.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/tests/NpmCheck.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/tests/NpmRegistryClient.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/tests/NpmRegistryClient.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/tests/NpmRegistryClient.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/tests/NpmRegistryClient.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/tests/toHttpsUrl.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/libraries/npm-check-fork/eslint.config.js b/libraries/npm-check-fork/eslint.config.js index 9175fbaa4cd..750a313e64e 100644 --- a/libraries/npm-check-fork/eslint.config.js +++ b/libraries/npm-check-fork/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/operation-graph/.eslint-bulk-suppressions.json b/libraries/operation-graph/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..6589e56e44b --- /dev/null +++ b/libraries/operation-graph/.eslint-bulk-suppressions.json @@ -0,0 +1,314 @@ +{ + "suppressions": [ + { + "file": "src/IOperationRunner.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/Operation.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/Operation.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Operation.ts", + "scopeId": ".Operation._executeAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Operation.ts", + "scopeId": ".Operation._executeInnerAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Operation.ts", + "scopeId": ".Operation._executeInnerAsync", + "rule": "complexity" + }, + { + "file": "src/Operation.ts", + "scopeId": ".Operation._executeInnerAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Operation.ts", + "scopeId": ".Operation._executeInnerAsync.innerContext", + "rule": "complexity" + }, + { + "file": "src/Operation.ts", + "scopeId": ".Operation._executeInnerAsync.innerContext", + "rule": "max-lines-per-function" + }, + { + "file": "src/Operation.ts", + "scopeId": ".Operation.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Operation.ts", + "scopeId": ".Operation.constructor", + "rule": "complexity" + }, + { + "file": "src/Operation.ts", + "scopeId": ".Operation.reset", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Operation.ts", + "scopeId": ".Operation.reset", + "rule": "complexity" + }, + { + "file": "src/OperationExecutionManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/OperationExecutionManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/OperationExecutionManager.ts", + "scopeId": ".OperationExecutionManager.constructor", + "rule": "complexity" + }, + { + "file": "src/OperationExecutionManager.ts", + "scopeId": ".OperationExecutionManager.executeAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/OperationExecutionManager.ts", + "scopeId": ".OperationExecutionManager.executeAsync", + "rule": "complexity" + }, + { + "file": "src/OperationExecutionManager.ts", + "scopeId": ".OperationExecutionManager.executeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/OperationExecutionManager.ts", + "scopeId": ".OperationExecutionManager.executeAsync.executionContext.afterExecute", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/OperationExecutionManager.ts", + "scopeId": ".OperationExecutionManager.executeAsync.executionContext.afterExecute", + "rule": "complexity" + }, + { + "file": "src/OperationExecutionManager.ts", + "scopeId": ".OperationExecutionManager.executeAsync.executionContext.afterExecute", + "rule": "max-lines-per-function" + }, + { + "file": "src/OperationExecutionManager.ts", + "scopeId": ".OperationExecutionManager.executeAsync.executionContext.beforeExecute", + "rule": "complexity" + }, + { + "file": "src/OperationGroupRecord.ts", + "scopeId": ".OperationGroupRecord.duration", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/OperationGroupRecord.ts", + "scopeId": ".OperationGroupRecord.finished", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/OperationGroupRecord.ts", + "scopeId": ".OperationGroupRecord.setOperationAsComplete", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/OperationGroupRecord.ts", + "scopeId": ".OperationGroupRecord.setOperationAsComplete", + "rule": "complexity" + }, + { + "file": "src/Stopwatch.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Stopwatch.ts", + "scopeId": ".Stopwatch.duration", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Stopwatch.ts", + "scopeId": ".Stopwatch.duration", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Stopwatch.ts", + "scopeId": ".Stopwatch.toString", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Stopwatch.ts", + "scopeId": ".Stopwatch.toString", + "rule": "complexity" + }, + { + "file": "src/WatchLoop.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/WatchLoop.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/WatchLoop.ts", + "scopeId": ".WatchLoop.runIPCAsync", + "rule": "complexity" + }, + { + "file": "src/WatchLoop.ts", + "scopeId": ".WatchLoop.runIPCAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/WatchLoop.ts", + "scopeId": ".WatchLoop.runUntilStableAsync", + "rule": "complexity" + }, + { + "file": "src/WorkQueue.ts", + "scopeId": ".WorkQueue", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WorkQueue.ts", + "scopeId": ".WorkQueue._resolvePushDebounced", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/calculateCriticalPath.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/calculateCriticalPath.ts", + "scopeId": ".calculateCriticalPathLength", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/calculateCriticalPath.ts", + "scopeId": ".calculateCriticalPathLength", + "rule": "complexity" + }, + { + "file": "src/calculateCriticalPath.ts", + "scopeId": ".calculateCriticalPathLength", + "rule": "max-lines-per-function" + }, + { + "file": "src/calculateCriticalPath.ts", + "scopeId": ".calculateShortestPath", + "rule": "complexity" + }, + { + "file": "src/calculateCriticalPath.ts", + "scopeId": ".calculateShortestPath", + "rule": "max-lines-per-function" + }, + { + "file": "src/protocol.types.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/OperationExecutionManager.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/OperationExecutionManager.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/OperationExecutionManager.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/OperationExecutionManager.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/WatchLoop.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/WatchLoop.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/WatchLoop.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/WorkQueue.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/WorkQueue.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/WorkQueue.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/WorkQueue.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/calculateCriticalPath.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/calculateCriticalPath.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/calculateCriticalPath.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/calculateCriticalPath.test.ts", + "scopeId": ".createGraph", + "rule": "complexity" + }, + { + "file": "src/test/calculateCriticalPath.test.ts", + "scopeId": ".createGraph", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/libraries/operation-graph/eslint.config.js b/libraries/operation-graph/eslint.config.js index f83aea7d1b7..0c0156944bc 100644 --- a/libraries/operation-graph/eslint.config.js +++ b/libraries/operation-graph/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/libraries/package-deps-hash/.eslint-bulk-suppressions.json b/libraries/package-deps-hash/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..d938bc97b1c --- /dev/null +++ b/libraries/package-deps-hash/.eslint-bulk-suppressions.json @@ -0,0 +1,299 @@ +{ + "suppressions": [ + { + "file": "src/getPackageDeps.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".getGitHashForFiles", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".getGitHashForFiles", + "rule": "complexity" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".getGitHashForFiles", + "rule": "max-lines-per-function" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".getPackageDeps", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".getPackageDeps", + "rule": "complexity" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".getPackageDeps", + "rule": "max-lines-per-function" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".gitLsTree", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".gitStatus", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".parseGitFilename", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".parseGitFilename", + "rule": "complexity" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".parseGitLsTree", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".parseGitLsTree", + "rule": "complexity" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".parseGitLsTree", + "rule": "max-depth" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".parseGitStatus", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".parseGitStatus", + "rule": "complexity" + }, + { + "file": "src/getPackageDeps.ts", + "scopeId": ".parseGitStatus", + "rule": "max-lines-per-function" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".ensureGitMinimumVersion", + "rule": "complexity" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".getDetailedRepoStateAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".getDetailedRepoStateAsync", + "rule": "complexity" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".getDetailedRepoStateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".getDetailedRepoStateAsync.getFilesToHash", + "rule": "complexity" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".getGitVersion", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".getRepoChanges", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".getRepoChanges", + "rule": "complexity" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".getRepoChanges", + "rule": "max-lines-per-function" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".getRepoRoot", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".getRepoRoot", + "rule": "complexity" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".hashFilesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".isWindowsReservedPath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".parseGitDiffIndex", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".parseGitDiffIndex", + "rule": "max-lines-per-function" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".parseGitHashObject", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".parseGitHashObject", + "rule": "complexity" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".parseGitHashObject", + "rule": "max-lines-per-function" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".parseGitLsTree", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".parseGitLsTree", + "rule": "complexity" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".parseGitLsTree", + "rule": "max-lines-per-function" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".parseGitStatus", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".parseGitStatus", + "rule": "complexity" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".parseGitVersion", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".spawnGitAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".spawnGitAsync", + "rule": "complexity" + }, + { + "file": "src/getRepoState.ts", + "scopeId": ".spawnGitAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/getPackageDeps.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/getPackageDeps.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/getPackageDeps.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/getPackageDeps.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/getRepoDeps.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/getRepoDeps.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/getRepoDeps.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/getRepoDeps.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/getRepoDeps.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/getRepoState.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/getRepoState.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/getRepoState.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/libraries/package-deps-hash/eslint.config.js b/libraries/package-deps-hash/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/libraries/package-deps-hash/eslint.config.js +++ b/libraries/package-deps-hash/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/package-extractor/.eslint-bulk-suppressions.json b/libraries/package-extractor/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..40eff3cf544 --- /dev/null +++ b/libraries/package-extractor/.eslint-bulk-suppressions.json @@ -0,0 +1,289 @@ +{ + "suppressions": [ + { + "file": "src/ArchiveManager.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ArchiveManager.ts", + "scopeId": ".ArchiveManager.addToArchiveAsync", + "rule": "complexity" + }, + { + "file": "src/AssetHandler.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/AssetHandler.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/AssetHandler.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/AssetHandler.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/AssetHandler.ts", + "scopeId": ".AssetHandler._extractSymlinkAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/AssetHandler.ts", + "scopeId": ".AssetHandler.constructor", + "rule": "complexity" + }, + { + "file": "src/AssetHandler.ts", + "scopeId": ".AssetHandler.finalizeAsync", + "rule": "complexity" + }, + { + "file": "src/AssetHandler.ts", + "scopeId": ".AssetHandler.includeAssetAsync", + "rule": "complexity" + }, + { + "file": "src/AssetHandler.ts", + "scopeId": ".AssetHandler.includeAssetAsync", + "rule": "max-depth" + }, + { + "file": "src/AssetHandler.ts", + "scopeId": ".AssetHandler.includeAssetAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._applyDependencyFilters", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._applyDependencyFilters", + "rule": "complexity" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._applyDependencyFilters", + "rule": "max-depth" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._applyDependencyFilters", + "rule": "max-lines-per-function" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._collectFoldersAsync", + "rule": "complexity" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._collectFoldersAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._extractFolderAsync", + "rule": "complexity" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._extractFolderAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._extractFolderAsync.isFileExcluded", + "rule": "complexity" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._extractFolderAsync.isFileExcluded", + "rule": "max-lines-per-function" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._extractFolderAsync.isFileExcluded.excludeFileByPatterns", + "rule": "complexity" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._performExtractionAsync", + "rule": "complexity" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._performExtractionAsync", + "rule": "max-depth" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._performExtractionAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._writeExtractorMetadataAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._writeExtractorMetadataAsync", + "rule": "complexity" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor._writeExtractorMetadataAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor.extractAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor.extractAsync", + "rule": "complexity" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": ".PackageExtractor.extractAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/PackageExtractor.ts", + "scopeId": "._normalizeOptions", + "rule": "complexity" + }, + { + "file": "src/SymlinkAnalyzer.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/SymlinkAnalyzer.ts", + "scopeId": ".SymlinkAnalyzer.analyzePathAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SymlinkAnalyzer.ts", + "scopeId": ".SymlinkAnalyzer.analyzePathAsync", + "rule": "complexity" + }, + { + "file": "src/SymlinkAnalyzer.ts", + "scopeId": ".SymlinkAnalyzer.analyzePathAsync", + "rule": "max-depth" + }, + { + "file": "src/SymlinkAnalyzer.ts", + "scopeId": ".SymlinkAnalyzer.analyzePathAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/Utils.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Utils.ts", + "scopeId": ".makeBinLinksAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/scripts/createLinks/cli/CreateLinksCommandLineParser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/scripts/createLinks/cli/actions/CreateLinksAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/scripts/createLinks/cli/actions/CreateLinksAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/scripts/createLinks/cli/actions/CreateLinksAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/scripts/createLinks/cli/actions/CreateLinksAction.ts", + "scopeId": ".createLinksAsync", + "rule": "complexity" + }, + { + "file": "src/scripts/createLinks/cli/actions/CreateLinksAction.ts", + "scopeId": ".createLinksAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/scripts/createLinks/cli/actions/RemoveLinksAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/scripts/createLinks/cli/actions/RemoveLinksAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/scripts/createLinks/start.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/scripts/createLinks/utilities/constants.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/PackageExtractor.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/PackageExtractor.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/PackageExtractor.test.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/libraries/package-extractor/eslint.config.js b/libraries/package-extractor/eslint.config.js index 87132f43292..0f47d7e24bf 100644 --- a/libraries/package-extractor/eslint.config.js +++ b/libraries/package-extractor/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/libraries/problem-matcher/.eslint-bulk-suppressions.json b/libraries/problem-matcher/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..a19b810c467 --- /dev/null +++ b/libraries/problem-matcher/.eslint-bulk-suppressions.json @@ -0,0 +1,109 @@ +{ + "suppressions": [ + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".applyPatternCaptures", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".applyPatternCaptures", + "rule": "complexity" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".applyPatternCaptures", + "rule": "max-lines-per-function" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".compileProblemPatterns", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".compileProblemPatterns", + "rule": "complexity" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".createMultiLineMatcher", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".createMultiLineMatcher", + "rule": "max-lines-per-function" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".createMultiLineMatcher.exec", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".createMultiLineMatcher.exec", + "rule": "complexity" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".createMultiLineMatcher.exec", + "rule": "max-lines-per-function" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".finalizeProblem", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".normalizeSeverity", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".normalizeSeverity", + "rule": "complexity" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".parseProblemMatchersJson", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ProblemMatcher.ts", + "scopeId": ".parseProblemMatchersJson", + "rule": "complexity" + }, + { + "file": "src/test/ProblemMatcher.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/ProblemMatcher.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/ProblemMatcher.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/ProblemMatcher.test.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/libraries/problem-matcher/eslint.config.js b/libraries/problem-matcher/eslint.config.js index f83aea7d1b7..0c0156944bc 100644 --- a/libraries/problem-matcher/eslint.config.js +++ b/libraries/problem-matcher/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/libraries/rig-package/.eslint-bulk-suppressions.json b/libraries/rig-package/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..6b243bc8c9b --- /dev/null +++ b/libraries/rig-package/.eslint-bulk-suppressions.json @@ -0,0 +1,89 @@ +{ + "suppressions": [ + { + "file": "src/Helpers.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/RigConfig.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/RigConfig.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/RigConfig.ts", + "scopeId": ".RigConfig.getResolvedProfileFolder", + "rule": "complexity" + }, + { + "file": "src/RigConfig.ts", + "scopeId": ".RigConfig.getResolvedProfileFolderAsync", + "rule": "complexity" + }, + { + "file": "src/RigConfig.ts", + "scopeId": ".RigConfig.loadForProjectFolder", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/RigConfig.ts", + "scopeId": ".RigConfig.loadForProjectFolder", + "rule": "complexity" + }, + { + "file": "src/RigConfig.ts", + "scopeId": ".RigConfig.loadForProjectFolder", + "rule": "max-lines-per-function" + }, + { + "file": "src/RigConfig.ts", + "scopeId": ".RigConfig.loadForProjectFolderAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/RigConfig.ts", + "scopeId": ".RigConfig.loadForProjectFolderAsync", + "rule": "complexity" + }, + { + "file": "src/RigConfig.ts", + "scopeId": ".RigConfig.loadForProjectFolderAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/RigConfig.ts", + "scopeId": ".RigConfig.tryResolveConfigFilePath", + "rule": "complexity" + }, + { + "file": "src/RigConfig.ts", + "scopeId": ".RigConfig.tryResolveConfigFilePathAsync", + "rule": "complexity" + }, + { + "file": "src/RigConfig.ts", + "scopeId": "._validateSchema", + "rule": "complexity" + }, + { + "file": "src/RigConfig.ts", + "scopeId": "._validateSchema", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/RigConfig.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/RigConfig.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/libraries/rig-package/eslint.config.js b/libraries/rig-package/eslint.config.js index f83aea7d1b7..0c0156944bc 100644 --- a/libraries/rig-package/eslint.config.js +++ b/libraries/rig-package/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/libraries/rush-daemon-protocol/eslint.config.js b/libraries/rush-daemon-protocol/eslint.config.js index b08a47af297..23a110b39cb 100644 --- a/libraries/rush-daemon-protocol/eslint.config.js +++ b/libraries/rush-daemon-protocol/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/libraries/rush-daemon-transport/eslint.config.js b/libraries/rush-daemon-transport/eslint.config.js index b08a47af297..23a110b39cb 100644 --- a/libraries/rush-daemon-transport/eslint.config.js +++ b/libraries/rush-daemon-transport/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/libraries/rush-daemon/.eslint-bulk-suppressions.json b/libraries/rush-daemon/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..9cdc386e133 --- /dev/null +++ b/libraries/rush-daemon/.eslint-bulk-suppressions.json @@ -0,0 +1,94 @@ +{ + "suppressions": [ + { + "file": "src/RequestScheduler.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/RequestScheduler.ts", + "scopeId": ".RequestScheduler", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RequestScheduler.ts", + "scopeId": ".RequestScheduler._canAdmit", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RequestScheduler.ts", + "scopeId": ".RequestScheduler._cleanupQueuedRequest", + "rule": "complexity" + }, + { + "file": "src/RequestScheduler.ts", + "scopeId": ".RequestScheduler._createLease.release", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RequestScheduler.ts", + "scopeId": ".RequestScheduler._drainQueue", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RequestScheduler.ts", + "scopeId": ".RequestScheduler._drainQueue", + "rule": "complexity" + }, + { + "file": "src/RequestScheduler.ts", + "scopeId": ".RequestScheduler._notifyQueuePositions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RequestScheduler.ts", + "scopeId": ".RequestScheduler._notifyQueuePositions", + "rule": "complexity" + }, + { + "file": "src/RequestScheduler.ts", + "scopeId": ".RequestScheduler._rejectQueuedRequest", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RequestScheduler.ts", + "scopeId": ".RequestScheduler._validateOptions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RequestScheduler.ts", + "scopeId": ".RequestScheduler._validateOptions", + "rule": "complexity" + }, + { + "file": "src/RequestScheduler.ts", + "scopeId": ".RequestScheduler.acquireAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RequestScheduler.ts", + "scopeId": ".RequestScheduler.acquireAsync", + "rule": "complexity" + }, + { + "file": "src/RequestScheduler.ts", + "scopeId": ".RequestScheduler.acquireAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/RequestScheduler.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/RequestScheduler.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/RequestScheduler.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/libraries/rush-daemon/eslint.config.js b/libraries/rush-daemon/eslint.config.js index 283ad708e70..3c74dea3e48 100644 --- a/libraries/rush-daemon/eslint.config.js +++ b/libraries/rush-daemon/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/libraries/rush-lib/.eslint-bulk-suppressions.json b/libraries/rush-lib/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..56a27b862d9 --- /dev/null +++ b/libraries/rush-lib/.eslint-bulk-suppressions.json @@ -0,0 +1,9574 @@ +{ + "suppressions": [ + { + "file": "src/api/ApprovedPackagesConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/api/ApprovedPackagesConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/ApprovedPackagesConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/ApprovedPackagesConfiguration.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/ApprovedPackagesConfiguration.ts", + "scopeId": ".ApprovedPackagesConfiguration._addItemJson", + "rule": "complexity" + }, + { + "file": "src/api/ApprovedPackagesConfiguration.ts", + "scopeId": ".ApprovedPackagesConfiguration.addOrUpdatePackage", + "rule": "complexity" + }, + { + "file": "src/api/ApprovedPackagesConfiguration.ts", + "scopeId": ".ApprovedPackagesConfiguration.saveToFile", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/ApprovedPackagesConfiguration.ts", + "scopeId": ".ApprovedPackagesConfiguration.saveToFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/ApprovedPackagesPolicy.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/api/ApprovedPackagesPolicy.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/ApprovedPackagesPolicy.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/ApprovedPackagesPolicy.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/ApprovedPackagesPolicy.ts", + "scopeId": ".ApprovedPackagesPolicy.constructor", + "rule": "complexity" + }, + { + "file": "src/api/ApprovedPackagesPolicy.ts", + "scopeId": ".ApprovedPackagesPolicy.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/BuildCacheConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/api/BuildCacheConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/BuildCacheConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/BuildCacheConfiguration.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/BuildCacheConfiguration.ts", + "scopeId": ".BuildCacheConfiguration.loadAndRequireEnabledAsync", + "rule": "complexity" + }, + { + "file": "src/api/BuildCacheConfiguration.ts", + "scopeId": "._tryLoadAsync", + "rule": "complexity" + }, + { + "file": "src/api/BuildCacheConfiguration.ts", + "scopeId": "._tryLoadAsync", + "rule": "max-depth" + }, + { + "file": "src/api/BuildCacheConfiguration.ts", + "scopeId": "._tryLoadAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/ChangeFile.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/ChangeFile.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/ChangeFile.ts", + "scopeId": ".ChangeFile._getTimestamp", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/ChangeFile.ts", + "scopeId": ".ChangeFile._getTimestamp", + "rule": "complexity" + }, + { + "file": "src/api/ChangeFile.ts", + "scopeId": ".ChangeFile._getTimestamp", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/ChangeFile.ts", + "scopeId": ".ChangeFile.generatePath", + "rule": "complexity" + }, + { + "file": "src/api/ChangeManagement.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/ChangeManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/CobuildConfiguration.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/api/CobuildConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/api/CobuildConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/CobuildConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/CobuildConfiguration.ts", + "scopeId": ".CobuildConfiguration.constructor", + "rule": "complexity" + }, + { + "file": "src/api/CobuildConfiguration.ts", + "scopeId": ".CobuildConfiguration.tryLoadAsync", + "rule": "complexity" + }, + { + "file": "src/api/CobuildConfiguration.ts", + "scopeId": "._loadAsync", + "rule": "complexity" + }, + { + "file": "src/api/CobuildConfiguration.ts", + "scopeId": "._loadAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": ".CommandLineConfiguration._checkForPhaseSelfCycles", + "rule": "complexity" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": ".CommandLineConfiguration._translateBulkCommandToPhasedCommand", + "rule": "complexity" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": ".CommandLineConfiguration._translateBulkCommandToPhasedCommand", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": ".CommandLineConfiguration.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": ".CommandLineConfiguration.constructor", + "rule": "complexity" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": ".CommandLineConfiguration.constructor", + "rule": "max-depth" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": ".CommandLineConfiguration.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": ".CommandLineConfiguration.loadFromFileOrDefault", + "rule": "complexity" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": ".CommandLineConfiguration.loadFromFileOrDefault", + "rule": "max-depth" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": ".CommandLineConfiguration.loadFromFileOrDefault", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": ".CommandLineConfiguration.tryLoadFromFile", + "rule": "complexity" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": "._applyBuildCommandDefaults", + "rule": "complexity" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": "._applyBuildCommandDefaults", + "rule": "max-depth" + }, + { + "file": "src/api/CommandLineConfiguration.ts", + "scopeId": "._applyBuildCommandDefaults", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/CommandLineJson.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/CommonVersionsConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/api/CommonVersionsConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/CommonVersionsConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/CommonVersionsConfiguration.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/CommonVersionsConfiguration.ts", + "scopeId": ".CommonVersionsConfiguration._serialize", + "rule": "complexity" + }, + { + "file": "src/api/CommonVersionsConfiguration.ts", + "scopeId": ".CommonVersionsConfiguration.constructor", + "rule": "complexity" + }, + { + "file": "src/api/CommonVersionsConfiguration.ts", + "scopeId": ".CommonVersionsConfiguration.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/CustomTipsConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/api/CustomTipsConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/CustomTipsConfiguration.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/CustomTipsConfiguration.ts", + "scopeId": ".CustomTipsConfiguration._writeMessageWithPipes", + "rule": "complexity" + }, + { + "file": "src/api/CustomTipsConfiguration.ts", + "scopeId": ".CustomTipsConfiguration._writeMessageWithPipes", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/CustomTipsConfiguration.ts", + "scopeId": ".CustomTipsConfiguration.constructor", + "rule": "complexity" + }, + { + "file": "src/api/CustomTipsConfiguration.ts", + "scopeId": ".CustomTipsConfiguration.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/EnvironmentConfiguration.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/api/EnvironmentConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/EnvironmentConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/EnvironmentConfiguration.ts", + "scopeId": ".EnvironmentConfiguration.parseBooleanEnvironmentVariable", + "rule": "complexity" + }, + { + "file": "src/api/EnvironmentConfiguration.ts", + "scopeId": ".EnvironmentConfiguration.validate", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/EnvironmentConfiguration.ts", + "scopeId": ".EnvironmentConfiguration.validate", + "rule": "complexity" + }, + { + "file": "src/api/EnvironmentConfiguration.ts", + "scopeId": ".EnvironmentConfiguration.validate", + "rule": "max-depth" + }, + { + "file": "src/api/EnvironmentConfiguration.ts", + "scopeId": ".EnvironmentConfiguration.validate", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/EnvironmentConfiguration.ts", + "scopeId": "._normalizeDeepestParentFolderPath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/EnvironmentConfiguration.ts", + "scopeId": "._normalizeDeepestParentFolderPath", + "rule": "complexity" + }, + { + "file": "src/api/EventHooks.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/api/ExperimentsConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/api/ExperimentsConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/ExperimentsConfiguration.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/ExperimentsConfiguration.ts", + "scopeId": ".ExperimentsConfiguration.constructor", + "rule": "complexity" + }, + { + "file": "src/api/LastInstallFlag.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/api/LastInstallFlag.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/LastInstallFlag.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/LastInstallFlag.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/LastInstallFlag.ts", + "scopeId": ".LastInstallFlag._isValidAsync", + "rule": "complexity" + }, + { + "file": "src/api/LastInstallFlag.ts", + "scopeId": ".LastInstallFlag._isValidAsync", + "rule": "max-depth" + }, + { + "file": "src/api/LastInstallFlag.ts", + "scopeId": ".LastInstallFlag._isValidAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/LastInstallFlag.ts", + "scopeId": ".getCommonTempFlag", + "rule": "complexity" + }, + { + "file": "src/api/PackageJsonEditor.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/PackageJsonEditor.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/PackageJsonEditor.ts", + "scopeId": ".PackageJsonEditor._normalize", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/api/PackageJsonEditor.ts", + "scopeId": ".PackageJsonEditor._normalize", + "rule": "complexity" + }, + { + "file": "src/api/PackageJsonEditor.ts", + "scopeId": ".PackageJsonEditor._normalize", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/PackageJsonEditor.ts", + "scopeId": ".PackageJsonEditor.addOrUpdateDependency", + "rule": "complexity" + }, + { + "file": "src/api/PackageJsonEditor.ts", + "scopeId": ".PackageJsonEditor.addOrUpdateDependency", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/PackageJsonEditor.ts", + "scopeId": ".PackageJsonEditor.constructor", + "rule": "complexity" + }, + { + "file": "src/api/PackageJsonEditor.ts", + "scopeId": ".PackageJsonEditor.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/PackageJsonEditor.ts", + "scopeId": ".PackageJsonEditor.removeDependency", + "rule": "complexity" + }, + { + "file": "src/api/Rush.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/Rush.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/Rush.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/RushCommandLine.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/RushCommandLine.ts", + "scopeId": ".RushCommandLine.getCliSpec", + "rule": "complexity" + }, + { + "file": "src/api/RushCommandLine.ts", + "scopeId": ".RushCommandLine.getCliSpec", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration._initializeAndValidateLocalProjects", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration._initializeAndValidateLocalProjects", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration._initializeAndValidateLocalProjects", + "rule": "complexity" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration._initializeAndValidateLocalProjects", + "rule": "max-depth" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration._initializeAndValidateLocalProjects", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration.constructor", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration.constructor", + "rule": "complexity" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration.findProjectByShorthandName", + "rule": "complexity" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration.getCurrentlyInstalledVariantAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration.getCurrentlyInstalledVariantAsync", + "rule": "complexity" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration.loadFromConfigurationFile", + "rule": "complexity" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration.loadFromConfigurationFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration.projectsByTag", + "rule": "complexity" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration.projectsByTag", + "rule": "max-depth" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration.tryFindRushJsonLocation", + "rule": "complexity" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": ".RushConfiguration.tryGetSubspace", + "rule": "complexity" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": "._validateCommonRushConfigFolder", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": "._validateCommonRushConfigFolder", + "rule": "complexity" + }, + { + "file": "src/api/RushConfiguration.ts", + "scopeId": "._validateCommonRushConfigFolder", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/RushConfigurationProject.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/api/RushConfigurationProject.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/RushConfigurationProject.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/RushConfigurationProject.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/RushConfigurationProject.ts", + "scopeId": ".RushConfigurationProject.constructor", + "rule": "complexity" + }, + { + "file": "src/api/RushConfigurationProject.ts", + "scopeId": ".RushConfigurationProject.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/RushConfigurationProject.ts", + "scopeId": ".RushConfigurationProject.consumingProjects", + "rule": "complexity" + }, + { + "file": "src/api/RushConfigurationProject.ts", + "scopeId": ".RushConfigurationProject.dependencyProjects", + "rule": "complexity" + }, + { + "file": "src/api/RushConfigurationProject.ts", + "scopeId": ".RushConfigurationProject.dependencyProjects", + "rule": "max-depth" + }, + { + "file": "src/api/RushConfigurationProject.ts", + "scopeId": ".RushConfigurationProject.dependencyProjects", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/RushConfigurationProject.ts", + "scopeId": ".RushConfigurationProject.isMainProject", + "rule": "complexity" + }, + { + "file": "src/api/RushConfigurationProject.ts", + "scopeId": ".RushConfigurationProject.versionPolicy", + "rule": "complexity" + }, + { + "file": "src/api/RushConfigurationProject.ts", + "scopeId": ".validateRelativePathField", + "rule": "complexity" + }, + { + "file": "src/api/RushPluginsConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": ".RushProjectConfiguration.getCacheDisabledReason", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": ".RushProjectConfiguration.getCacheDisabledReason", + "rule": "complexity" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": ".RushProjectConfiguration.getCacheDisabledReason", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": ".RushProjectConfiguration.tryLoadForProjectAsync", + "rule": "complexity" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": ".RushProjectConfiguration.validatePhaseConfiguration", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": ".RushProjectConfiguration.validatePhaseConfiguration", + "rule": "complexity" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": ".RushProjectConfiguration.validatePhaseConfiguration", + "rule": "max-depth" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": ".RushProjectConfiguration.validatePhaseConfiguration", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": "._getRushProjectConfiguration", + "rule": "complexity" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": "._getRushProjectConfiguration", + "rule": "max-depth" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": "._getRushProjectConfiguration", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": "._tryLoadJsonForProjectAsync", + "rule": "complexity" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": "._tryLoadJsonForProjectAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": ".propertyInheritance.operationSettings.inheritanceFunction", + "rule": "complexity" + }, + { + "file": "src/api/RushProjectConfiguration.ts", + "scopeId": ".propertyInheritance.operationSettings.inheritanceFunction", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/RushUserConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/api/RushUserConfiguration.ts", + "scopeId": ".RushUserConfiguration.constructor", + "rule": "complexity" + }, + { + "file": "src/api/Subspace.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/api/Subspace.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/Subspace.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/Subspace.ts", + "scopeId": ".Subspace._ensureDetail", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/Subspace.ts", + "scopeId": ".Subspace._ensureDetail", + "rule": "complexity" + }, + { + "file": "src/api/Subspace.ts", + "scopeId": ".Subspace._ensureDetail", + "rule": "max-depth" + }, + { + "file": "src/api/Subspace.ts", + "scopeId": ".Subspace._ensureDetail", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/Subspace.ts", + "scopeId": ".Subspace.getCommonVersions", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/api/Subspace.ts", + "scopeId": ".Subspace.getPackageJsonInjectedDependenciesHash", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/Subspace.ts", + "scopeId": ".Subspace.getPackageJsonInjectedDependenciesHash", + "rule": "complexity" + }, + { + "file": "src/api/Subspace.ts", + "scopeId": ".Subspace.getPackageJsonInjectedDependenciesHash", + "rule": "max-depth" + }, + { + "file": "src/api/Subspace.ts", + "scopeId": ".Subspace.getPackageJsonInjectedDependenciesHash", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/Subspace.ts", + "scopeId": ".Subspace.getPnpmCatalogsHash", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/Subspace.ts", + "scopeId": ".Subspace.getPnpmCatalogsHash", + "rule": "complexity" + }, + { + "file": "src/api/Subspace.ts", + "scopeId": ".Subspace.getPnpmOptions", + "rule": "complexity" + }, + { + "file": "src/api/SubspacesConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/api/SubspacesConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/SubspacesConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/SubspacesConfiguration.ts", + "scopeId": ".SubspacesConfiguration.explainIfInvalidSubspaceName", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/SubspacesConfiguration.ts", + "scopeId": ".SubspacesConfiguration.explainIfInvalidSubspaceName", + "rule": "complexity" + }, + { + "file": "src/api/SubspacesConfiguration.ts", + "scopeId": ".SubspacesConfiguration.tryLoadFromConfigurationFile", + "rule": "complexity" + }, + { + "file": "src/api/Variants.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/Variants.ts", + "scopeId": ".getVariantAsync", + "rule": "complexity" + }, + { + "file": "src/api/VersionPolicy.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/VersionPolicy.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/VersionPolicy.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/VersionPolicy.ts", + "scopeId": ".IndividualVersionPolicy.ensure", + "rule": "complexity" + }, + { + "file": "src/api/VersionPolicy.ts", + "scopeId": ".LockStepVersionPolicy.ensure", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/VersionPolicy.ts", + "scopeId": ".LockStepVersionPolicy.ensure", + "rule": "complexity" + }, + { + "file": "src/api/VersionPolicy.ts", + "scopeId": ".LockStepVersionPolicy.validate", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/VersionPolicy.ts", + "scopeId": ".updateDependenciesBeforeCommit", + "rule": "complexity" + }, + { + "file": "src/api/VersionPolicy.ts", + "scopeId": ".updateDependenciesBeforePublish", + "rule": "complexity" + }, + { + "file": "src/api/VersionPolicyConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/api/VersionPolicyConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/VersionPolicyConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/VersionPolicyConfiguration.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/VersionPolicyConfiguration.ts", + "scopeId": ".VersionPolicyConfiguration.update", + "rule": "complexity" + }, + { + "file": "src/api/packageManager/NpmPackageManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/packageManager/PnpmPackageManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/packageManager/PnpmPackageManager.ts", + "scopeId": ".PnpmPackageManager.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/packageManager/YarnPackageManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/api/test/ChangeFile.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/test/ChangeFile.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/test/CommandLineConfiguration.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/test/CommandLineConfiguration.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/test/CommandLineConfiguration.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/test/CommandLineConfiguration.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/api/test/CommandLineConfiguration.test.ts", + "scopeId": ".validateCommandByName", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/test/CommonVersionsConfiguration.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/test/CustomTipsConfiguration.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/test/CustomTipsConfiguration.test.ts", + "scopeId": ".runFormattingTests", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/test/CustomTipsConfiguration.test.ts", + "scopeId": ".runFormattingTests", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/test/EnvironmentConfiguration.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/test/EnvironmentConfiguration.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/test/EventHooks.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/test/LastInstallFlag.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/test/LastInstallFlag.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/test/RushConfiguration.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/test/RushConfiguration.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/test/RushConfiguration.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/test/RushConfigurationProject.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/test/RushProjectConfiguration.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/test/RushProjectConfiguration.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/test/RushProjectConfiguration.test.ts", + "scopeId": ".loadProjectConfigurationAsync", + "rule": "complexity" + }, + { + "file": "src/api/test/RushProjectConfiguration.test.ts", + "scopeId": ".stripSymbolsFromObject", + "rule": "complexity" + }, + { + "file": "src/api/test/Subspace.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/test/Subspace.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/test/Subspace.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/test/VersionMismatchFinder.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/test/VersionMismatchFinder.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/test/VersionMismatchFinder.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/test/VersionPolicy.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/api/test/VersionPolicy.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/api/test/VersionPolicy.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/api/test/VersionPolicy.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/CommandLineMigrationAdvisor.ts", + "scopeId": ".CommandLineMigrationAdvisor.checkArgv", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/CommandLineMigrationAdvisor.ts", + "scopeId": ".CommandLineMigrationAdvisor.checkArgv", + "rule": "complexity" + }, + { + "file": "src/cli/CommandLineMigrationAdvisor.ts", + "scopeId": ".CommandLineMigrationAdvisor.checkArgv", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser._addCommandLineConfigAction", + "rule": "complexity" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser._addPhasedCommandLineConfigAction", + "rule": "complexity" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser._addPhasedCommandLineConfigAction", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser._normalizeOptions", + "rule": "complexity" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser._populateActions", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser._reportErrorAndSetExitCode", + "rule": "complexity" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser._reportErrorAndSetExitCode", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser._reportErrorAndSetExitCode.handleExit", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser.constructor", + "rule": "complexity" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser.executeAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser.onExecuteAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser.onExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser.onExecuteAsync", + "rule": "max-depth" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser.onExecuteAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/RushCommandLineParser.ts", + "scopeId": ".RushCommandLineParser.shouldRestrictConsoleOutput", + "rule": "complexity" + }, + { + "file": "src/cli/RushPnpmCommandLine.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".RushPnpmCommandLineParser._doRushUpdateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".RushPnpmCommandLineParser._executeAsync", + "rule": "complexity" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".RushPnpmCommandLineParser._executeAsync", + "rule": "max-depth" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".RushPnpmCommandLineParser._executeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".RushPnpmCommandLineParser._postExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".RushPnpmCommandLineParser._postExecuteAsync", + "rule": "max-depth" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".RushPnpmCommandLineParser._postExecuteAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".RushPnpmCommandLineParser._validatePnpmUsageAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".RushPnpmCommandLineParser._validatePnpmUsageAsync", + "rule": "complexity" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".RushPnpmCommandLineParser._validatePnpmUsageAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".RushPnpmCommandLineParser.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".RushPnpmCommandLineParser.constructor", + "rule": "complexity" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".RushPnpmCommandLineParser.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".RushPnpmCommandLineParser.executeAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": ".RushPnpmCommandLineParser.initializeAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": "._addDefaultRecursiveFlagIfNeeded", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": "._addDefaultRecursiveFlagIfNeeded", + "rule": "complexity" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": "._reportErrorAndSetExitCode", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/RushPnpmCommandLineParser.ts", + "scopeId": "._reportErrorAndSetExitCode", + "rule": "complexity" + }, + { + "file": "src/cli/RushStartupBanner.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/RushXCommandLine.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/RushXCommandLine.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/RushXCommandLine.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/RushXCommandLine.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/RushXCommandLine.ts", + "scopeId": ".RushXCommandLine.launchRushXAsync", + "rule": "complexity" + }, + { + "file": "src/cli/RushXCommandLine.ts", + "scopeId": ".RushXCommandLine.launchRushXAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/RushXCommandLine.ts", + "scopeId": "._launchRushXInternalAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/RushXCommandLine.ts", + "scopeId": "._launchRushXInternalAsync", + "rule": "complexity" + }, + { + "file": "src/cli/RushXCommandLine.ts", + "scopeId": "._launchRushXInternalAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/RushXCommandLine.ts", + "scopeId": "._parseCommandLineArguments", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/RushXCommandLine.ts", + "scopeId": "._parseCommandLineArguments", + "rule": "complexity" + }, + { + "file": "src/cli/RushXCommandLine.ts", + "scopeId": "._parseCommandLineArguments", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/RushXCommandLine.ts", + "scopeId": "._showUsage", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/RushXCommandLine.ts", + "scopeId": "._showUsage", + "rule": "complexity" + }, + { + "file": "src/cli/RushXCommandLine.ts", + "scopeId": "._showUsage", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/AddAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/AddAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/AddAction.ts", + "scopeId": ".AddAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/AddAction.ts", + "scopeId": ".AddAction.getUpdateOptionsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/AddAction.ts", + "scopeId": ".AddAction.getUpdateOptionsAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/AddAction.ts", + "scopeId": ".AddAction.getUpdateOptionsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/AlertAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/BaseAddAndRemoveAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/BaseAddAndRemoveAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/BaseAutoinstallerAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/BaseHotlinkPackageAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/BaseInstallAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/BaseInstallAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/BaseInstallAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/actions/BaseInstallAction.ts", + "scopeId": ".BaseInstallAction._collectTelemetry", + "rule": "complexity" + }, + { + "file": "src/cli/actions/BaseInstallAction.ts", + "scopeId": ".BaseInstallAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/BaseInstallAction.ts", + "scopeId": ".BaseInstallAction.runAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/BaseInstallAction.ts", + "scopeId": ".BaseInstallAction.runAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/BaseInstallAction.ts", + "scopeId": ".BaseInstallAction.runAsync", + "rule": "max-depth" + }, + { + "file": "src/cli/actions/BaseInstallAction.ts", + "scopeId": ".BaseInstallAction.runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/BaseRushAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/BaseRushAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/BaseRushAction.ts", + "scopeId": ".BaseConfiglessRushAction.onExecuteAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/BaseRushAction.ts", + "scopeId": ".BaseConfiglessRushAction.onExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/BaseRushAction.ts", + "scopeId": ".BaseRushAction.eventHooksManager", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/actions/BridgePackageAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/BridgePackageAction.ts", + "scopeId": ".BridgePackageAction._getSubspacesToBridgeAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/BridgePackageAction.ts", + "scopeId": ".BridgePackageAction._getSubspacesToBridgeAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._askQuestionsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._generateHostMap", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._getBumpOptions", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._getBumpOptions", + "rule": "max-depth" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._getBumpOptions", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._getChangedProjectNamesAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._getDeletedProjectNamesAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._getTargetBranchAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._promptForChangeFileDataAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._promptForCommentsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._promptForCommentsAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._promptForCommentsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._verifyAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._verifyAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._writeChangeFileAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction._writeChangeFileAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction.runAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction.runAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction.runAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ChangeAction.ts", + "scopeId": ".ChangeAction.runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/CheckAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/CheckAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/actions/CheckAction.ts", + "scopeId": ".CheckAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/CheckAction.ts", + "scopeId": ".CheckAction.runAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/CheckAction.ts", + "scopeId": ".CheckAction.runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/DeployAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/DeployAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/DeployAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/actions/DeployAction.ts", + "scopeId": ".DeployAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/DeployAction.ts", + "scopeId": ".DeployAction.runAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/DeployAction.ts", + "scopeId": ".DeployAction.runAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/DeployAction.ts", + "scopeId": ".DeployAction.runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/InitAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/InitAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/InitAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/actions/InitAction.ts", + "scopeId": ".InitAction._copyTemplateFilesAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/InitAction.ts", + "scopeId": ".InitAction._copyTemplateFilesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/InitAction.ts", + "scopeId": ".InitAction._validateFolderIsEmpty", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/InitAction.ts", + "scopeId": ".InitAction._validateFolderIsEmpty", + "rule": "complexity" + }, + { + "file": "src/cli/actions/InitAction.ts", + "scopeId": ".InitAction._validateFolderIsEmpty", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/InitAction.ts", + "scopeId": ".InitAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/InitAutoinstallerAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/InitAutoinstallerAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/actions/InitAutoinstallerAction.ts", + "scopeId": ".InitAutoinstallerAction.runAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/InitAutoinstallerAction.ts", + "scopeId": ".InitAutoinstallerAction.runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/InitDeployAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/InitDeployAction.ts", + "scopeId": ".InitDeployAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/InitDeployAction.ts", + "scopeId": ".InitDeployAction.runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/InitSubspaceAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/InitSubspaceAction.ts", + "scopeId": ".InitSubspaceAction.runAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/InitSubspaceAction.ts", + "scopeId": ".InitSubspaceAction.runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/InstallAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/InstallAction.ts", + "scopeId": ".InstallAction.buildInstallOptionsAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/InstallAction.ts", + "scopeId": ".InstallAction.buildInstallOptionsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/InstallAction.ts", + "scopeId": ".InstallAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/InstallAutoinstallerAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/LinkAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/LinkPackageAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/LinkPackageAction.ts", + "scopeId": ".LinkPackageAction._getProjectsToLinkAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/LinkPackageAction.ts", + "scopeId": ".LinkPackageAction._getProjectsToLinkAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ListAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/ListAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/ListAction.ts", + "scopeId": ".ListAction._printJson", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/ListAction.ts", + "scopeId": ".ListAction._printJson", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ListAction.ts", + "scopeId": ".ListAction._printJson", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/ListAction.ts", + "scopeId": ".ListAction._printListTableAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ListAction.ts", + "scopeId": ".ListAction._printListTableAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/ListAction.ts", + "scopeId": ".ListAction._printListTableAsync.appendToPackageRow", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/actions/ListAction.ts", + "scopeId": ".ListAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/ListAction.ts", + "scopeId": ".ListAction.runAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._addSharedNpmConfig", + "rule": "complexity" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._calculateTarballName", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._gitAddTagsAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._npmPackAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._npmPublishAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._npmPublishAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._packageExistsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._packageExistsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._publishAllAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._publishAllAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._publishChangesAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._publishChangesAsync", + "rule": "max-depth" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._publishChangesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._setDependenciesBeforeCommitAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._setDependenciesBeforePublishAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction._validate", + "rule": "complexity" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/PublishAction.ts", + "scopeId": ".PublishAction.runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/PurgeAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/RemoveAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/RemoveAction.ts", + "scopeId": ".RemoveAction.getUpdateOptionsAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/RemoveAction.ts", + "scopeId": ".RemoveAction.getUpdateOptionsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/ScanAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/ScanAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/ScanAction.ts", + "scopeId": ".ScanAction.runAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/ScanAction.ts", + "scopeId": ".ScanAction.runAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ScanAction.ts", + "scopeId": ".ScanAction.runAsync", + "rule": "max-depth" + }, + { + "file": "src/cli/actions/ScanAction.ts", + "scopeId": ".ScanAction.runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/SetupAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/UnlinkAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/UpdateAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/UpdateAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/UpdateAction.ts", + "scopeId": ".UpdateAction.buildInstallOptionsAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/UpdateAction.ts", + "scopeId": ".UpdateAction.buildInstallOptionsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/UpdateAction.ts", + "scopeId": ".UpdateAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/UpdateAutoinstallerAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/UpdateCloudCredentialsAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/UpdateCloudCredentialsAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/actions/UpdateCloudCredentialsAction.ts", + "scopeId": ".UpdateCloudCredentialsAction.runAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/UpdateCloudCredentialsAction.ts", + "scopeId": ".UpdateCloudCredentialsAction.runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/UpgradeInteractiveAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/UpgradeInteractiveAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/actions/UpgradeInteractiveAction.ts", + "scopeId": ".UpgradeInteractiveAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/UpgradeInteractiveAction.ts", + "scopeId": ".UpgradeInteractiveAction.runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".VersionAction._gitProcessAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".VersionAction._gitProcessAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".VersionAction._gitProcessAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".VersionAction._overwritePolicyVersionIfNeeded", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".VersionAction._overwritePolicyVersionIfNeeded", + "rule": "complexity" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".VersionAction._overwritePolicyVersionIfNeeded", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".VersionAction._validateInput", + "rule": "complexity" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".VersionAction._validateResult", + "rule": "complexity" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".VersionAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".VersionAction.runAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".VersionAction.runAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/VersionAction.ts", + "scopeId": ".VersionAction.runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/test/AddAction.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/test/AddAction.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/test/AddAction.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/test/RemoveAction.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/test/RemoveAction.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/test/RemoveAction.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/parsing/SelectionParameterSet.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/parsing/SelectionParameterSet.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/parsing/SelectionParameterSet.ts", + "scopeId": ".SelectionParameterSet._evaluateProjectParameterAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/parsing/SelectionParameterSet.ts", + "scopeId": ".SelectionParameterSet._evaluateProjectParameterAsync", + "rule": "complexity" + }, + { + "file": "src/cli/parsing/SelectionParameterSet.ts", + "scopeId": ".SelectionParameterSet._evaluateProjectParameterAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/parsing/SelectionParameterSet.ts", + "scopeId": ".SelectionParameterSet.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/parsing/SelectionParameterSet.ts", + "scopeId": ".SelectionParameterSet.constructor.getCompletionsAsync", + "rule": "complexity" + }, + { + "file": "src/cli/parsing/SelectionParameterSet.ts", + "scopeId": ".SelectionParameterSet.didUserSelectAnything", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/parsing/SelectionParameterSet.ts", + "scopeId": ".SelectionParameterSet.getPnpmFilterArgumentValuesAsync", + "rule": "complexity" + }, + { + "file": "src/cli/parsing/SelectionParameterSet.ts", + "scopeId": ".SelectionParameterSet.getPnpmFilterArgumentValuesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/parsing/SelectionParameterSet.ts", + "scopeId": ".SelectionParameterSet.getSelectedProjectsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/parsing/SelectionParameterSet.ts", + "scopeId": ".SelectionParameterSet.getSelectedProjectsAsync", + "rule": "complexity" + }, + { + "file": "src/cli/parsing/SelectionParameterSet.ts", + "scopeId": ".SelectionParameterSet.getSelectedProjectsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/parsing/SelectionParameterSet.ts", + "scopeId": ".SelectionParameterSet.getTelemetry", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/parsing/associateParametersByPhase.ts", + "scopeId": ".associateParametersByPhase", + "rule": "complexity" + }, + { + "file": "src/cli/parsing/associateParametersByPhase.ts", + "scopeId": ".associateParametersByPhase", + "rule": "max-depth" + }, + { + "file": "src/cli/parsing/defineCustomParameters.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/parsing/defineCustomParameters.ts", + "scopeId": ".defineCustomParameters", + "rule": "complexity" + }, + { + "file": "src/cli/parsing/defineCustomParameters.ts", + "scopeId": ".defineCustomParameters", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/scriptActions/BaseScriptAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/scriptActions/GlobalScriptAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/scriptActions/GlobalScriptAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/scriptActions/GlobalScriptAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/scriptActions/GlobalScriptAction.ts", + "scopeId": ".GlobalScriptAction._rejectAnyTokensInShellCommand", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/scriptActions/GlobalScriptAction.ts", + "scopeId": ".GlobalScriptAction._rejectAnyTokensInShellCommand", + "rule": "complexity" + }, + { + "file": "src/cli/scriptActions/GlobalScriptAction.ts", + "scopeId": ".GlobalScriptAction.constructor", + "rule": "complexity" + }, + { + "file": "src/cli/scriptActions/GlobalScriptAction.ts", + "scopeId": ".GlobalScriptAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/scriptActions/GlobalScriptAction.ts", + "scopeId": ".GlobalScriptAction.getCustomParametersByLongName", + "rule": "complexity" + }, + { + "file": "src/cli/scriptActions/GlobalScriptAction.ts", + "scopeId": ".GlobalScriptAction.runAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/scriptActions/GlobalScriptAction.ts", + "scopeId": ".GlobalScriptAction.runAsync", + "rule": "complexity" + }, + { + "file": "src/cli/scriptActions/GlobalScriptAction.ts", + "scopeId": ".GlobalScriptAction.runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/scriptActions/PhasedScriptAction.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/scriptActions/PhasedScriptAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/scriptActions/PhasedScriptAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/scriptActions/PhasedScriptAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/scriptActions/PhasedScriptAction.ts", + "scopeId": ".PhasedScriptAction._executeOperationsAsync", + "rule": "complexity" + }, + { + "file": "src/cli/scriptActions/PhasedScriptAction.ts", + "scopeId": ".PhasedScriptAction._executeOperationsAsync", + "rule": "max-depth" + }, + { + "file": "src/cli/scriptActions/PhasedScriptAction.ts", + "scopeId": ".PhasedScriptAction._executeOperationsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/scriptActions/PhasedScriptAction.ts", + "scopeId": ".PhasedScriptAction.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/scriptActions/PhasedScriptAction.ts", + "scopeId": ".PhasedScriptAction.constructor", + "rule": "complexity" + }, + { + "file": "src/cli/scriptActions/PhasedScriptAction.ts", + "scopeId": ".PhasedScriptAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/scriptActions/PhasedScriptAction.ts", + "scopeId": ".PhasedScriptAction.runAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/scriptActions/PhasedScriptAction.ts", + "scopeId": ".PhasedScriptAction.runAsync", + "rule": "complexity" + }, + { + "file": "src/cli/scriptActions/PhasedScriptAction.ts", + "scopeId": ".PhasedScriptAction.runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/test/Autoinstaller.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/test/Autoinstaller.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/cli/test/Autoinstaller.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/test/Autoinstaller.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/test/Autoinstaller.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/test/Cli.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/test/Cli.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/test/Cli.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/test/CommandLineHelp.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/test/RushCommandLineParser.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/test/RushCommandLineParser.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/test/RushCommandLineParser.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/test/RushCommandLineParser.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/test/RushCommandLineParser.test.ts", + "scopeId": ".expectSpawnToMatchRegexp", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/test/RushCommandLineParserFailureCases.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/test/RushCommandLineParserFailureCases.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/test/RushCommandLineParserFailureCases.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/test/RushPluginAutoinstallerUpdate.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/test/RushPluginAutoinstallerUpdate.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/test/RushPluginAutoinstallerUpdate.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/test/RushPluginAutoinstallerUpdate.test.ts", + "scopeId": ".seedPluginFilesWithCrLf", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/test/RushPluginAutoinstallerUpdate.test.ts", + "scopeId": ".seedPluginFilesWithCrLf", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/test/RushPluginCommandLineParameters.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/test/RushPluginCommandLineParameters.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/test/RushPluginCommandLineParameters.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/test/RushPnpmCommandLineParser.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/test/RushPnpmCommandLineParser.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/test/RushPnpmCommandLineParser.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/test/RushXCommandLine.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/test/RushXCommandLine.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/test/RushXCommandLine.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/test/RushXCommandLine.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/test/TestUtils.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/test/TestUtils.ts", + "scopeId": ".getCommandLineParserInstanceAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/test/TestUtils.ts", + "scopeId": ".isolateEnvironmentConfigurationForTests", + "rule": "complexity" + }, + { + "file": "src/cli/test/TestUtils.ts", + "scopeId": ".isolateEnvironmentConfigurationForTests", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/test/TestUtils.ts", + "scopeId": ".isolateEnvironmentConfigurationForTests.restore", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/test/rush-mock-clear-operations-plugin/index.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/test/rush-mock-flush-telemetry-plugin/index.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/ApprovedPackagesChecker.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/ApprovedPackagesChecker.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/ApprovedPackagesChecker.ts", + "scopeId": ".ApprovedPackagesChecker._collectDependencies", + "rule": "complexity" + }, + { + "file": "src/logic/ApprovedPackagesChecker.ts", + "scopeId": ".ApprovedPackagesChecker._collectDependencies", + "rule": "max-depth" + }, + { + "file": "src/logic/ApprovedPackagesChecker.ts", + "scopeId": ".ApprovedPackagesChecker._collectDependencies", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/Autoinstaller.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/Autoinstaller.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/Autoinstaller.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/Autoinstaller.ts", + "scopeId": ".Autoinstaller.prepareAsync", + "rule": "complexity" + }, + { + "file": "src/logic/Autoinstaller.ts", + "scopeId": ".Autoinstaller.prepareAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/Autoinstaller.ts", + "scopeId": ".Autoinstaller.updateAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/Autoinstaller.ts", + "scopeId": ".Autoinstaller.updateAsync", + "rule": "complexity" + }, + { + "file": "src/logic/Autoinstaller.ts", + "scopeId": ".Autoinstaller.updateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/ChangeFiles.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/logic/ChangeFiles.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/ChangeFiles.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/ChangeFiles.ts", + "scopeId": ".ChangeFiles.deleteAllAsync", + "rule": "complexity" + }, + { + "file": "src/logic/ChangeFiles.ts", + "scopeId": ".ChangeFiles.deleteAllAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/ChangeFiles.ts", + "scopeId": ".ChangeFiles.getChangeComments", + "rule": "complexity" + }, + { + "file": "src/logic/ChangeFiles.ts", + "scopeId": ".ChangeFiles.validateAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/ChangeFiles.ts", + "scopeId": ".ChangeFiles.validateAsync", + "rule": "complexity" + }, + { + "file": "src/logic/ChangeFiles.ts", + "scopeId": ".ChangeFiles.validateAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/ChangeFiles.ts", + "scopeId": ".ChangeFiles.validateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/ChangeManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/ChangeManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/ChangeManager.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/ChangeManager.ts", + "scopeId": ".ChangeManager.hasChanges", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/ChangeManager.ts", + "scopeId": ".ChangeManager.hasChanges", + "rule": "complexity" + }, + { + "file": "src/logic/ChangelogGenerator.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/ChangelogGenerator.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/logic/ChangelogGenerator.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/ChangelogGenerator.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/ChangelogGenerator.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/ChangelogGenerator.ts", + "scopeId": ".ChangelogGenerator.regenerateChangelogs", + "rule": "complexity" + }, + { + "file": "src/logic/ChangelogGenerator.ts", + "scopeId": ".ChangelogGenerator.updateChangelogs", + "rule": "complexity" + }, + { + "file": "src/logic/ChangelogGenerator.ts", + "scopeId": ".ChangelogGenerator.updateIndividualChangelog", + "rule": "complexity" + }, + { + "file": "src/logic/ChangelogGenerator.ts", + "scopeId": ".ChangelogGenerator.updateIndividualChangelog", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/ChangelogGenerator.ts", + "scopeId": ".ChangelogGenerator.updateIndividualChangelog", + "rule": "max-params" + }, + { + "file": "src/logic/ChangelogGenerator.ts", + "scopeId": "._shouldUpdateChangeLog", + "rule": "complexity" + }, + { + "file": "src/logic/ChangelogGenerator.ts", + "scopeId": "._translateToMarkdown", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/ChangelogGenerator.ts", + "scopeId": "._translateToMarkdown", + "rule": "complexity" + }, + { + "file": "src/logic/ChangelogGenerator.ts", + "scopeId": "._translateToMarkdown", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/DependencyAnalyzer.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/DependencyAnalyzer.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/DependencyAnalyzer.ts", + "scopeId": ".DependencyAnalyzer._getAnalysisInternal", + "rule": "complexity" + }, + { + "file": "src/logic/DependencyAnalyzer.ts", + "scopeId": ".DependencyAnalyzer._getAnalysisInternal", + "rule": "max-depth" + }, + { + "file": "src/logic/DependencyAnalyzer.ts", + "scopeId": ".DependencyAnalyzer._getAnalysisInternal", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/DependencyAnalyzer.ts", + "scopeId": ".DependencyAnalyzer.forRushConfiguration", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/DependencyAnalyzer.ts", + "scopeId": ".DependencyAnalyzer.getAnalysis", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/DependencyAnalyzer.ts", + "scopeId": ".DependencyAnalyzer.getAnalysis", + "rule": "complexity" + }, + { + "file": "src/logic/DependencyAnalyzer.ts", + "scopeId": ".DependencyAnalyzer.getAnalysis", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/DependencySpecifier.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/DependencySpecifier.ts", + "scopeId": ".DependencySpecifier.constructor", + "rule": "complexity" + }, + { + "file": "src/logic/DependencySpecifier.ts", + "scopeId": ".DependencySpecifier.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/DependencySpecifier.ts", + "scopeId": ".DependencySpecifier.getDependencySpecifierType", + "rule": "complexity" + }, + { + "file": "src/logic/EventHooksManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/EventHooksManager.ts", + "scopeId": ".EventHooksManager.handle", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/EventHooksManager.ts", + "scopeId": ".EventHooksManager.handle", + "rule": "complexity" + }, + { + "file": "src/logic/EventHooksManager.ts", + "scopeId": ".EventHooksManager.handle", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git._tryFetchRemoteBranch", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.getChangedFilesAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.getChangedFilesAsync", + "rule": "complexity" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.getChangedFilesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.getGitInfo", + "rule": "complexity" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.getIsHooksPathDefaultAsync", + "rule": "complexity" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.getIsHooksPathDefaultAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.getMergeBaseAsync", + "rule": "complexity" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.getMergeBaseAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.getRemoteDefaultBranchAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.getRemoteDefaultBranchAsync", + "rule": "complexity" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.getRemoteDefaultBranchAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.hasUnstagedChangesAsync", + "rule": "complexity" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.isPathUnderGitWorkingTree", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.isPathUnderGitWorkingTree", + "rule": "complexity" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.normalizeGitUrlForComparison", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.normalizeGitUrlForComparison", + "rule": "complexity" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.normalizeGitUrlForComparison", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/Git.ts", + "scopeId": ".Git.validateGitEmail", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/GitStatusParser.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/GitStatusParser.ts", + "scopeId": "._parseGitStatusChangeType", + "rule": "complexity" + }, + { + "file": "src/logic/GitStatusParser.ts", + "scopeId": "._parseGitStatusChangeType", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/GitStatusParser.ts", + "scopeId": "._parseIsInSubmodule", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/GitStatusParser.ts", + "scopeId": ".parseGitStatus", + "rule": "complexity" + }, + { + "file": "src/logic/GitStatusParser.ts", + "scopeId": ".parseGitStatus", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/GitStatusParser.ts", + "scopeId": ".parseGitStatus.getFieldAndAdvancePos", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/GitStatusParser.ts", + "scopeId": ".parseGitStatus.parseAddModifyOrDeleteEntry", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/GitStatusParser.ts", + "scopeId": ".parseGitStatus.parseAddModifyOrDeleteEntry", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/GitStatusParser.ts", + "scopeId": ".parseGitStatus.parseRenamedOrCopiedEntry", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/GitStatusParser.ts", + "scopeId": ".parseGitStatus.parseRenamedOrCopiedEntry", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/GitStatusParser.ts", + "scopeId": ".parseGitStatus.parseUnmergedEntry", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/GitStatusParser.ts", + "scopeId": ".parseGitStatus.parseUnmergedEntry", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/InstallManagerFactory.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/InstallManagerFactory.ts", + "scopeId": ".InstallManagerFactory.getInstallManagerAsync", + "rule": "complexity" + }, + { + "file": "src/logic/InteractiveUpgrader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/InteractiveUpgrader.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/LinkManagerFactory.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/LinkManagerFactory.ts", + "scopeId": ".LinkManagerFactory.getLinkManager", + "rule": "complexity" + }, + { + "file": "src/logic/NodeJsCompatibility.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/NodeJsCompatibility.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/NodeJsCompatibility.ts", + "scopeId": ".NodeJsCompatibility.isOddNumberedVersion", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/NodeJsCompatibility.ts", + "scopeId": ".NodeJsCompatibility.warnAboutCompatibilityIssues", + "rule": "complexity" + }, + { + "file": "src/logic/NodeJsCompatibility.ts", + "scopeId": ".NodeJsCompatibility.warnAboutVersionTooNew", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/NodeJsCompatibility.ts", + "scopeId": ".NodeJsCompatibility.warnAboutVersionTooNew", + "rule": "complexity" + }, + { + "file": "src/logic/NodeJsCompatibility.ts", + "scopeId": "._warnAboutNonLtsVersion", + "rule": "complexity" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater._cheaplyDetectSemVerRangeStyle", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater._collectAllDownstreamDependencies", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater._collectAllDownstreamDependencies.collectDependencies", + "rule": "complexity" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater._doUpdateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater._getNormalizedVersionSpecAsync", + "rule": "complexity" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater._getNormalizedVersionSpecAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater._getNormalizedVersionSpecAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater._getNormalizedVersionSpecAsync", + "rule": "max-params" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater._getUpdates", + "rule": "complexity" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater._getUpdates", + "rule": "max-depth" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater._tryGetLocalProject", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater._tryGetLocalProject", + "rule": "complexity" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater._tryGetLocalProject", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater._updateProjectsAsync", + "rule": "complexity" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater._updateProjectsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater.doRushUpdateAsync", + "rule": "complexity" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater.doRushUpdateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater.doRushUpgradeAsync", + "rule": "complexity" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater.doRushUpgradeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater.removePackageFromProject", + "rule": "complexity" + }, + { + "file": "src/logic/PackageJsonUpdater.ts", + "scopeId": ".PackageJsonUpdater.updateProject", + "rule": "complexity" + }, + { + "file": "src/logic/PackageLookup.ts", + "scopeId": ".PackageLookup.loadTree", + "rule": "complexity" + }, + { + "file": "src/logic/PrereleaseToken.ts", + "scopeId": ".PrereleaseToken.constructor", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer._detectCatalogChangesAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer._detectCatalogChangesAsync", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer._detectCatalogChangesAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer._detectCatalogChangesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer._detectCatalogChangesAsync", + "rule": "max-params" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer._filterProjectDataAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer._filterProjectDataAsync", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer._tryGetSnapshotProviderAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer._tryGetSnapshotProviderAsync", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer._tryGetSnapshotProviderAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer._tryGetSnapshotProviderAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer._tryGetSnapshotProviderAsync.tryGetSnapshotAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer._tryGetSnapshotProviderAsync.tryGetSnapshotAsync", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer._tryGetSnapshotProviderAsync.tryGetSnapshotAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer.getChangedProjectsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer.getChangedProjectsAsync", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer.getChangedProjectsAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".ProjectChangeAnalyzer.getChangedProjectsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".getAdditionalFilesFromRushProjectConfigurationAsync", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".getAdditionalFilesFromRushProjectConfigurationAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/ProjectChangeAnalyzer.ts", + "scopeId": ".isPackageJsonVersionOnlyChange", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectCommandSet.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/ProjectCommandSet.ts", + "scopeId": ".ProjectCommandSet.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/ProjectCommandSet.ts", + "scopeId": ".ProjectCommandSet.constructor", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectImpactGraphGenerator.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/ProjectImpactGraphGenerator.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/ProjectImpactGraphGenerator.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/ProjectImpactGraphGenerator.ts", + "scopeId": ".ProjectImpactGraphGenerator.generateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/ProjectImpactGraphGenerator.ts", + "scopeId": ".tryReadFileLinesAsync", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".ProjectWatcher", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".ProjectWatcher._disposeStdin", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".ProjectWatcher._ensureStdin", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".ProjectWatcher._onFsEvent", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".ProjectWatcher._onStdinData", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".ProjectWatcher._onStdinData", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".ProjectWatcher._onStdinData", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".ProjectWatcher._setStatus", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".ProjectWatcher._setStatus", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".ProjectWatcher._startWatching", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".ProjectWatcher._startWatching", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".ProjectWatcher._startWatching", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".ProjectWatcher._startWatching.addWatcher", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".ProjectWatcher._stopWatchingAsync", + "rule": "complexity" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": ".ProjectWatcher.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": "._enumeratePathsToWatch", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/ProjectWatcher.ts", + "scopeId": "._enumeratePathsToWatch", + "rule": "complexity" + }, + { + "file": "src/logic/PublishGit.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/PublishGit.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/PublishGit.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/PublishGit.ts", + "scopeId": ".PublishGit.addTagAsync", + "rule": "complexity" + }, + { + "file": "src/logic/PublishGit.ts", + "scopeId": ".PublishGit.addTagAsync", + "rule": "max-params" + }, + { + "file": "src/logic/PublishGit.ts", + "scopeId": ".PublishGit.checkoutAsync", + "rule": "complexity" + }, + { + "file": "src/logic/PublishGit.ts", + "scopeId": ".PublishGit.deleteBranchAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/PublishGit.ts", + "scopeId": ".PublishGit.deleteBranchAsync", + "rule": "complexity" + }, + { + "file": "src/logic/PublishGit.ts", + "scopeId": ".PublishGit.pullAsync", + "rule": "complexity" + }, + { + "file": "src/logic/PublishGit.ts", + "scopeId": ".PublishGit.pushAsync", + "rule": "complexity" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": ".PublishUtilities.execCommandAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": ".PublishUtilities.execCommandAsync", + "rule": "complexity" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": ".PublishUtilities.execCommandAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": ".PublishUtilities.findChangeRequestsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": ".PublishUtilities.findChangeRequestsAsync", + "rule": "complexity" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": ".PublishUtilities.findChangeRequestsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": ".PublishUtilities.findChangeRequestsAsync", + "rule": "max-params" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": ".PublishUtilities.getNewDependencyVersion", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": ".PublishUtilities.getNewDependencyVersion", + "rule": "complexity" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": ".PublishUtilities.sortChangeRequests", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": ".PublishUtilities.updatePackages", + "rule": "max-params" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._addChange", + "rule": "complexity" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._addChange", + "rule": "max-depth" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._addChange", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._getChangeInfoNewVersion", + "rule": "complexity" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._getPublishDependencyVersion", + "rule": "complexity" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._getReleaseType", + "rule": "complexity" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._shouldSkipVersionBump", + "rule": "complexity" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._updateCommitDetailsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._updateCommitDetailsAsync", + "rule": "complexity" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._updateCommitDetailsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._updateDependencies", + "rule": "complexity" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._updateDependencies", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._updateDependencies", + "rule": "max-params" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._updateDependencyVersion", + "rule": "complexity" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._updateDependencyVersion", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._updateDependencyVersion", + "rule": "max-params" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._updateDownstreamDependencies", + "rule": "complexity" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._updateDownstreamDependencies", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._updateDownstreamDependencies", + "rule": "max-params" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._updateDownstreamDependency", + "rule": "complexity" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._updateDownstreamDependency", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._updateDownstreamDependency", + "rule": "max-params" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._writePackageChanges", + "rule": "complexity" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._writePackageChanges", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PublishUtilities.ts", + "scopeId": "._writePackageChanges", + "rule": "max-params" + }, + { + "file": "src/logic/PurgeManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/PurgeManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/PurgeManager.ts", + "scopeId": ".PurgeManager._getMembersToExclude", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/PurgeManager.ts", + "scopeId": ".PurgeManager._getMembersToExclude", + "rule": "complexity" + }, + { + "file": "src/logic/PurgeManager.ts", + "scopeId": ".PurgeManager._getMembersToExclude", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/PurgeManager.ts", + "scopeId": ".PurgeManager.purgeUnsafe", + "rule": "complexity" + }, + { + "file": "src/logic/PurgeManager.ts", + "scopeId": ".PurgeManager.purgeUnsafe", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/RepoStateFile.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/logic/RepoStateFile.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/RepoStateFile.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/RepoStateFile.ts", + "scopeId": ".RepoStateFile._serialize", + "rule": "complexity" + }, + { + "file": "src/logic/RepoStateFile.ts", + "scopeId": ".RepoStateFile.loadFromFile", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/RepoStateFile.ts", + "scopeId": ".RepoStateFile.loadFromFile", + "rule": "complexity" + }, + { + "file": "src/logic/RepoStateFile.ts", + "scopeId": ".RepoStateFile.loadFromFile", + "rule": "max-depth" + }, + { + "file": "src/logic/RepoStateFile.ts", + "scopeId": ".RepoStateFile.loadFromFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/RepoStateFile.ts", + "scopeId": ".RepoStateFile.refreshState", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/RepoStateFile.ts", + "scopeId": ".RepoStateFile.refreshState", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/RepoStateFile.ts", + "scopeId": ".RepoStateFile.refreshState", + "rule": "complexity" + }, + { + "file": "src/logic/RepoStateFile.ts", + "scopeId": ".RepoStateFile.refreshState", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/RushConstants.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/RushConstants.ts", + "scopeId": ".RushConstants", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/Selection.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/SetupChecks.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/SetupChecks.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/SetupChecks.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/SetupChecks.ts", + "scopeId": "._checkForPhantomFolders", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/SetupChecks.ts", + "scopeId": "._checkForPhantomFolders", + "rule": "complexity" + }, + { + "file": "src/logic/SetupChecks.ts", + "scopeId": "._checkForPhantomFolders", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/SetupChecks.ts", + "scopeId": "._collectPhantomFoldersUpwards", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/SetupChecks.ts", + "scopeId": "._collectPhantomFoldersUpwards", + "rule": "complexity" + }, + { + "file": "src/logic/SetupChecks.ts", + "scopeId": "._collectPhantomFoldersUpwards", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/SetupChecks.ts", + "scopeId": "._validate", + "rule": "complexity" + }, + { + "file": "src/logic/ShrinkwrapFileFactory.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/ShrinkwrapFileFactory.ts", + "scopeId": ".ShrinkwrapFileFactory.getShrinkwrapFile", + "rule": "complexity" + }, + { + "file": "src/logic/ShrinkwrapFileFactory.ts", + "scopeId": ".ShrinkwrapFileFactory.parseShrinkwrapFile", + "rule": "complexity" + }, + { + "file": "src/logic/StandardScriptUpdater.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/StandardScriptUpdater.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/StandardScriptUpdater.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/StandardScriptUpdater.ts", + "scopeId": "._updateScriptOrThrowAsync", + "rule": "complexity" + }, + { + "file": "src/logic/StandardScriptUpdater.ts", + "scopeId": "._updateScriptOrThrowAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/Telemetry.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/Telemetry.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/Telemetry.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/Telemetry.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/Telemetry.ts", + "scopeId": ".Telemetry", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/Telemetry.ts", + "scopeId": ".Telemetry._cleanUp", + "rule": "complexity" + }, + { + "file": "src/logic/Telemetry.ts", + "scopeId": ".Telemetry._cleanUp", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/Telemetry.ts", + "scopeId": ".Telemetry.flush", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/Telemetry.ts", + "scopeId": ".Telemetry.flush", + "rule": "complexity" + }, + { + "file": "src/logic/Telemetry.ts", + "scopeId": ".Telemetry.log", + "rule": "complexity" + }, + { + "file": "src/logic/Telemetry.ts", + "scopeId": ".Telemetry.log.data", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/TempProjectHelper.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/TempProjectHelper.ts", + "scopeId": ".TempProjectHelper.createTempProjectTarball", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/TempProjectHelper.ts", + "scopeId": ".TempProjectHelper.createTempProjectTarball.filter", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/UnlinkManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/UnlinkManager.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/UnlinkManager.ts", + "scopeId": ".UnlinkManager._deleteProjectFiles", + "rule": "complexity" + }, + { + "file": "src/logic/UnlinkManager.ts", + "scopeId": ".UnlinkManager.unlinkAsync", + "rule": "complexity" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".VersionManager._addChange", + "rule": "complexity" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".VersionManager._ensure", + "rule": "complexity" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".VersionManager._shouldTrackDependencyChange", + "rule": "complexity" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".VersionManager._trackDependencyChange", + "rule": "complexity" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".VersionManager._trackDependencyChange", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".VersionManager._trackDependencyChange", + "rule": "max-params" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".VersionManager._updateProjectAllDependencies", + "rule": "complexity" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".VersionManager._updateProjectAllDependencies", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".VersionManager._updateProjectDependencies", + "rule": "complexity" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".VersionManager._updateProjectDependencies", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".VersionManager._updateProjectDependencies", + "rule": "max-params" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".VersionManager._updateVersionsByPolicy", + "rule": "complexity" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".VersionManager.bumpAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/VersionManager.ts", + "scopeId": ".VersionManager.bumpAsync", + "rule": "max-params" + }, + { + "file": "src/logic/WorkspaceCycleDetector.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/WorkspaceCycleDetector.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/WorkspaceCycleDetector.ts", + "scopeId": "._findWorkspaceCycle", + "rule": "complexity" + }, + { + "file": "src/logic/WorkspaceCycleDetector.ts", + "scopeId": "._findWorkspaceCycle", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/WorkspaceCycleDetector.ts", + "scopeId": "._findWorkspaceCycle.dfs", + "rule": "complexity" + }, + { + "file": "src/logic/WorkspaceCycleDetector.ts", + "scopeId": "._findWorkspaceCycle.dfs", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager._checkIfReleaseIsPublishedAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager._checkIfReleaseIsPublishedAsync", + "rule": "complexity" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager._checkIfReleaseIsPublishedAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager._installGitHooksAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager._installGitHooksAsync", + "rule": "complexity" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager._installGitHooksAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager._installGitHooksAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager._queryIfReleaseIsPublishedAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager._queryIfReleaseIsPublishedAsync", + "rule": "complexity" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager._queryIfReleaseIsPublishedAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager.canSkipInstallAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager.doInstallAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager.doInstallAsync", + "rule": "complexity" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager.doInstallAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager.doInstallAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager.doInstallAsync.readPnpmLockfile", + "rule": "complexity" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager.prepareAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager.prepareAsync", + "rule": "complexity" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager.prepareAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager.pushConfigurationArgs", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager.pushConfigurationArgs", + "rule": "complexity" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager.pushConfigurationArgs", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager.validateNpmSetupAsync", + "rule": "complexity" + }, + { + "file": "src/logic/base/BaseInstallManager.ts", + "scopeId": ".BaseInstallManager.validateNpmSetupAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/base/BaseInstallManagerTypes.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/base/BaseInstallManagerTypes.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/base/BaseLinkManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/base/BaseLinkManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/base/BaseLinkManager.ts", + "scopeId": ".BaseLinkManager._createSymlinkAsync", + "rule": "complexity" + }, + { + "file": "src/logic/base/BaseLinkManager.ts", + "scopeId": ".BaseLinkManager._createSymlinkAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/base/BaseLinkManager.ts", + "scopeId": ".BaseLinkManager._createSymlinksForTopLevelProjectAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/base/BaseLinkManager.ts", + "scopeId": ".BaseLinkManager._createSymlinksForTopLevelProjectAsync", + "rule": "complexity" + }, + { + "file": "src/logic/base/BaseLinkManager.ts", + "scopeId": "._createSymlinksForDependenciesAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/base/BaseLinkManager.ts", + "scopeId": "._createSymlinksForDependenciesAsync", + "rule": "complexity" + }, + { + "file": "src/logic/base/BaseLinkManager.ts", + "scopeId": "._createSymlinksForDependenciesAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/base/BaseLinkManager.ts", + "scopeId": "._createSymlinksForDependenciesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/base/BasePackage.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/base/BasePackage.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/base/BasePackage.ts", + "scopeId": ".BasePackage.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/base/BasePackage.ts", + "scopeId": ".BasePackage.printTree", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/base/BaseProjectShrinkwrapFile.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/base/BaseShrinkwrapFile.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/base/BaseShrinkwrapFile.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/base/BaseShrinkwrapFile.ts", + "scopeId": ".BaseShrinkwrapFile._checkDependencyVersion", + "rule": "complexity" + }, + { + "file": "src/logic/base/BaseShrinkwrapFile.ts", + "scopeId": ".BaseShrinkwrapFile._checkDependencyVersion", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/base/BaseWorkspaceFile.ts", + "scopeId": ".BaseWorkspaceFile.saveAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/base/BaseWorkspaceFile.ts", + "scopeId": ".BaseWorkspaceFile.saveAsync", + "rule": "complexity" + }, + { + "file": "src/logic/buildCache/CacheEntryId.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/buildCache/CacheEntryId.ts", + "scopeId": ".CacheEntryId.parsePattern", + "rule": "@typescript-eslint/no-implied-eval" + }, + { + "file": "src/logic/buildCache/CacheEntryId.ts", + "scopeId": ".CacheEntryId.parsePattern", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/buildCache/CacheEntryId.ts", + "scopeId": ".CacheEntryId.parsePattern", + "rule": "complexity" + }, + { + "file": "src/logic/buildCache/CacheEntryId.ts", + "scopeId": ".CacheEntryId.parsePattern", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".OperationBuildCache._tryCollectPathsToCacheAsync", + "rule": "complexity" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".OperationBuildCache._tryCollectPathsToCacheAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".OperationBuildCache._tryCollectPathsToCacheAsync.processChildren", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".OperationBuildCache._tryCollectPathsToCacheAsync.processChildren", + "rule": "complexity" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".OperationBuildCache._tryCollectPathsToCacheAsync.processChildren", + "rule": "max-depth" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".OperationBuildCache._tryCollectPathsToCacheAsync.processChildren", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".OperationBuildCache.forOperation", + "rule": "complexity" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".OperationBuildCache.tryRestoreFromCacheAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".OperationBuildCache.tryRestoreFromCacheAsync", + "rule": "complexity" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".OperationBuildCache.tryRestoreFromCacheAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".OperationBuildCache.tryRestoreFromCacheAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".OperationBuildCache.trySetCacheEntryAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".OperationBuildCache.trySetCacheEntryAsync", + "rule": "complexity" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".OperationBuildCache.trySetCacheEntryAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": ".OperationBuildCache.trySetCacheEntryAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": "._getTempLocalCacheEntryPath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/buildCache/OperationBuildCache.ts", + "scopeId": "._tryGetTarUtility", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/buildCache/test/CacheEntryId.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/buildCache/test/OperationBuildCache.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/buildCache/test/OperationBuildCache.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/buildCache/test/OperationBuildCache.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/buildCache/test/OperationBuildCache.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/buildCache/test/OperationBuildCache.test.ts", + "scopeId": ".mockTarSuccess", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/buildCache/test/OperationBuildCache.test.ts", + "scopeId": ".prepareDirectTransferSubject", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/buildCache/test/OperationBuildCache.test.ts", + "scopeId": ".prepareSubject", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/cobuild/CobuildLock.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/cobuild/CobuildLock.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/cobuild/CobuildLock.ts", + "scopeId": ".CobuildLock.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/cobuild/DisjointSet.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/cobuild/DisjointSet.ts", + "scopeId": ".DisjointSet.add", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/cobuild/DisjointSet.ts", + "scopeId": ".DisjointSet.getAllSets", + "rule": "complexity" + }, + { + "file": "src/logic/cobuild/ICobuildLockProvider.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/cobuild/test/CobuildLock.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/cobuild/test/DisjointSet.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/cobuild/test/DisjointSet.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/cobuild/test/DisjointSet.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/deploy/DeployScenarioConfiguration.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/deploy/DeployScenarioConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/logic/deploy/DeployScenarioConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/deploy/DeployScenarioConfiguration.ts", + "scopeId": ".DeployScenarioConfiguration.loadFromFile", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/deploy/DeployScenarioConfiguration.ts", + "scopeId": ".DeployScenarioConfiguration.loadFromFile", + "rule": "complexity" + }, + { + "file": "src/logic/deploy/DeployScenarioConfiguration.ts", + "scopeId": ".DeployScenarioConfiguration.loadFromFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/dotenv.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": ".InputsSnapshot._resolveHashes", + "rule": "complexity" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": ".InputsSnapshot.constructor", + "rule": "complexity" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": ".InputsSnapshot.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": ".InputsSnapshot.getOperationOwnStateHash", + "rule": "complexity" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": ".InputsSnapshot.getOperationOwnStateHash", + "rule": "max-depth" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": ".InputsSnapshot.getOperationOwnStateHash", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": ".InputsSnapshot.getTrackedFileHashesForOperation", + "rule": "complexity" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": ".InputsSnapshot.getTrackedFileHashesForOperation", + "rule": "max-depth" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": ".InputsSnapshot.getTrackedFileHashesForOperation", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": "._parseNodeVersion", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": ".getOrCreateProjectFilter", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/incremental/InputsSnapshot.ts", + "scopeId": ".getOrCreateProjectFilter", + "rule": "complexity" + }, + { + "file": "src/logic/incremental/test/InputsSnapshot.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/incremental/test/InputsSnapshot.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/incremental/test/InputsSnapshot.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/incremental/test/InputsSnapshot.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/installManager/InstallHelpers.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/installManager/InstallHelpers.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/installManager/InstallHelpers.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/installManager/InstallHelpers.ts", + "scopeId": ".InstallHelpers.ensureLocalPackageManagerAsync", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/InstallHelpers.ts", + "scopeId": ".InstallHelpers.ensureLocalPackageManagerAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/installManager/InstallHelpers.ts", + "scopeId": ".InstallHelpers.generateCommonPackageJsonAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/installManager/InstallHelpers.ts", + "scopeId": ".InstallHelpers.generateCommonPackageJsonAsync", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/InstallHelpers.ts", + "scopeId": ".InstallHelpers.generateCommonPackageJsonAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/installManager/InstallHelpers.ts", + "scopeId": ".InstallHelpers.getPackageManagerEnvironment", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/InstallHelpers.ts", + "scopeId": ".InstallHelpers.resolvePnpmSettings", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/InstallHelpers.ts", + "scopeId": ".InstallHelpers.resolvePnpmSettings", + "rule": "max-depth" + }, + { + "file": "src/logic/installManager/InstallHelpers.ts", + "scopeId": ".InstallHelpers.resolvePnpmSettings", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/installManager/InstallHelpers.ts", + "scopeId": "._mergeEnvironmentVariables", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/InstallHelpers.ts", + "scopeId": "._mergeEnvironmentVariables", + "rule": "max-depth" + }, + { + "file": "src/logic/installManager/InstallHelpers.ts", + "scopeId": "._mergeEnvironmentVariables", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/installManager/RushInstallManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/installManager/RushInstallManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/installManager/RushInstallManager.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/installManager/RushInstallManager.ts", + "scopeId": ".RushInstallManager._fixupNpm5RegressionAsync", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/RushInstallManager.ts", + "scopeId": ".RushInstallManager._fixupNpm5RegressionAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/installManager/RushInstallManager.ts", + "scopeId": ".RushInstallManager._revertWorkspaceNotation", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/RushInstallManager.ts", + "scopeId": ".RushInstallManager._validateRushProjectTarballIntegrityAsync", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/RushInstallManager.ts", + "scopeId": ".RushInstallManager.installAsync", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/RushInstallManager.ts", + "scopeId": ".RushInstallManager.installAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/installManager/RushInstallManager.ts", + "scopeId": ".RushInstallManager.installAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/installManager/RushInstallManager.ts", + "scopeId": ".RushInstallManager.prepareCommonTempAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/installManager/RushInstallManager.ts", + "scopeId": ".RushInstallManager.prepareCommonTempAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/installManager/RushInstallManager.ts", + "scopeId": ".RushInstallManager.prepareCommonTempAsync", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/RushInstallManager.ts", + "scopeId": ".RushInstallManager.prepareCommonTempAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/installManager/RushInstallManager.ts", + "scopeId": ".RushInstallManager.prepareCommonTempAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.canSkipInstallAsync", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.canSkipInstallAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.installAsync", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.installAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.installAsync.doInstallInternalAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.installAsync.doInstallInternalAsync", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.installAsync.doInstallInternalAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.installAsync.doInstallInternalAsync.onPnpmStdoutChunk", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.installAsync.doInstallInternalAsync.onPnpmStdoutChunk", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.postInstallAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.postInstallAsync", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.postInstallAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.postInstallAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.prepareCommonTempAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.prepareCommonTempAsync", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.prepareCommonTempAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.prepareCommonTempAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.pushConfigurationArgs", + "rule": "complexity" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.pushConfigurationArgs", + "rule": "max-depth" + }, + { + "file": "src/logic/installManager/WorkspaceInstallManager.ts", + "scopeId": ".WorkspaceInstallManager.pushConfigurationArgs", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/installManager/doBasicInstallAsync.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/installManager/doBasicInstallAsync.ts", + "scopeId": ".doBasicInstallAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/npm/NpmLinkManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/npm/NpmLinkManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/npm/NpmLinkManager.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/npm/NpmLinkManager.ts", + "scopeId": ".NpmLinkManager._linkProjectAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/npm/NpmLinkManager.ts", + "scopeId": ".NpmLinkManager._linkProjectAsync", + "rule": "complexity" + }, + { + "file": "src/logic/npm/NpmLinkManager.ts", + "scopeId": ".NpmLinkManager._linkProjectAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/npm/NpmLinkManager.ts", + "scopeId": ".NpmLinkManager._linkProjectAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/npm/NpmPackage.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/npm/NpmPackage.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/npm/NpmPackage.ts", + "scopeId": ".NpmPackage.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/npm/NpmPackage.ts", + "scopeId": ".NpmPackage.createFromNpm", + "rule": "complexity" + }, + { + "file": "src/logic/npm/NpmPackage.ts", + "scopeId": ".NpmPackage.createFromNpm", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/npm/NpmPackage.ts", + "scopeId": ".NpmPackage.resolveOrCreate", + "rule": "complexity" + }, + { + "file": "src/logic/npm/NpmPackage.ts", + "scopeId": ".NpmPackage.resolveOrCreate", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/npm/NpmShrinkwrapFile.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/npm/NpmShrinkwrapFile.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/npm/NpmShrinkwrapFile.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/npm/NpmShrinkwrapFile.ts", + "scopeId": ".NpmShrinkwrapFile.constructor", + "rule": "complexity" + }, + { + "file": "src/logic/npm/NpmShrinkwrapFile.ts", + "scopeId": ".NpmShrinkwrapFile.loadFromString", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/npm/NpmShrinkwrapFile.ts", + "scopeId": ".NpmShrinkwrapFile.tryEnsureDependencyVersion", + "rule": "complexity" + }, + { + "file": "src/logic/operations/AsyncOperationQueue.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/AsyncOperationQueue.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/AsyncOperationQueue.ts", + "scopeId": ".AsyncOperationQueue.assignOperations", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/AsyncOperationQueue.ts", + "scopeId": ".AsyncOperationQueue.assignOperations", + "rule": "complexity" + }, + { + "file": "src/logic/operations/AsyncOperationQueue.ts", + "scopeId": ".AsyncOperationQueue.assignOperations", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/AsyncOperationQueue.ts", + "scopeId": ".AsyncOperationQueue.complete", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/AsyncOperationQueue.ts", + "scopeId": ".AsyncOperationQueue.complete", + "rule": "complexity" + }, + { + "file": "src/logic/operations/AsyncOperationQueue.ts", + "scopeId": ".calculateCriticalPathLength", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/AsyncOperationQueue.ts", + "scopeId": ".calculateCriticalPathLength", + "rule": "complexity" + }, + { + "file": "src/logic/operations/AsyncOperationQueue.ts", + "scopeId": ".calculateCriticalPathLength", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/BuildPlanPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/BuildPlanPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/BuildPlanPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/BuildPlanPlugin.ts", + "scopeId": ".BuildPlanPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/BuildPlanPlugin.ts", + "scopeId": ".BuildPlanPlugin.apply.createBuildPlan", + "rule": "complexity" + }, + { + "file": "src/logic/operations/BuildPlanPlugin.ts", + "scopeId": ".BuildPlanPlugin.apply.createBuildPlan", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/BuildPlanPlugin.ts", + "scopeId": ".generateCobuildPlanSummary", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/BuildPlanPlugin.ts", + "scopeId": ".generateCobuildPlanSummary", + "rule": "complexity" + }, + { + "file": "src/logic/operations/BuildPlanPlugin.ts", + "scopeId": ".generateCobuildPlanSummary", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/BuildPlanPlugin.ts", + "scopeId": ".logCobuildBuildPlan", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/BuildPlanPlugin.ts", + "scopeId": ".logCobuildBuildPlan", + "rule": "complexity" + }, + { + "file": "src/logic/operations/BuildPlanPlugin.ts", + "scopeId": ".logCobuildBuildPlan", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin._createBuildCacheTerminalAsync", + "rule": "complexity" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin._createBuildCacheTerminalAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin._tryGetCobuildLockAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin._tryGetCobuildLockAsync", + "rule": "complexity" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin._tryGetCobuildLockAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin._tryGetLogOnlyOperationBuildCacheAsync", + "rule": "complexity" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin._tryGetLogOnlyOperationBuildCacheAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin._tryGetOperationBuildCache", + "rule": "complexity" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin._tryGetOperationBuildCache", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin.apply", + "rule": "max-depth" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin.apply.buildCacheContext", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin.apply.runBeforeExecute", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin.apply.runBeforeExecute", + "rule": "complexity" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin.apply.runBeforeExecute", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".CacheableOperationPlugin.apply.runBeforeExecute.restoreCacheAsync", + "rule": "complexity" + }, + { + "file": "src/logic/operations/CacheableOperationPlugin.ts", + "scopeId": ".clusterOperations", + "rule": "complexity" + }, + { + "file": "src/logic/operations/ConsoleTimelinePlugin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/operations/ConsoleTimelinePlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/ConsoleTimelinePlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/ConsoleTimelinePlugin.ts", + "scopeId": "._printTimeline", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/ConsoleTimelinePlugin.ts", + "scopeId": "._printTimeline", + "rule": "complexity" + }, + { + "file": "src/logic/operations/ConsoleTimelinePlugin.ts", + "scopeId": "._printTimeline", + "rule": "max-depth" + }, + { + "file": "src/logic/operations/ConsoleTimelinePlugin.ts", + "scopeId": "._printTimeline", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/DebugHashesPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/IOperationExecutionResult.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/IOperationExecutionResult.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/IOperationExecutionResult.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/IOperationGraph.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/IOperationGraph.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/IOperationRunner.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/IOperationRunner.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/IPCOperationRunner.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/IPCOperationRunner.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/IPCOperationRunner.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/IPCOperationRunner.ts", + "scopeId": ".IPCOperationRunner.executeAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/IPCOperationRunner.ts", + "scopeId": ".IPCOperationRunner.executeAsync", + "rule": "complexity" + }, + { + "file": "src/logic/operations/IPCOperationRunner.ts", + "scopeId": ".IPCOperationRunner.executeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/IPCOperationRunner.ts", + "scopeId": ".IPCOperationRunner.executeAsync.finishHandler", + "rule": "complexity" + }, + { + "file": "src/logic/operations/IPCOperationRunner.ts", + "scopeId": ".IPCOperationRunner.executeAsync.onExit", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/IPCOperationRunner.ts", + "scopeId": ".IPCOperationRunner.executeAsync.onExit", + "rule": "complexity" + }, + { + "file": "src/logic/operations/IPCOperationRunnerPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/IPCOperationRunnerPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/IPCOperationRunnerPlugin.ts", + "scopeId": ".IPCOperationRunnerPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/logic/operations/IPCOperationRunnerPlugin.ts", + "scopeId": ".IPCOperationRunnerPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/IgnoredParametersPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/IgnoredParametersPlugin.ts", + "scopeId": ".IgnoredParametersPlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/IgnoredParametersPlugin.ts", + "scopeId": ".IgnoredParametersPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/logic/operations/LegacySkipPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/LegacySkipPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/LegacySkipPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/LegacySkipPlugin.ts", + "scopeId": ".LegacySkipPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/logic/operations/LegacySkipPlugin.ts", + "scopeId": ".LegacySkipPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/LegacySkipPlugin.ts", + "scopeId": "._areShallowEqual", + "rule": "complexity" + }, + { + "file": "src/logic/operations/NodeDiagnosticDirPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/NodeDiagnosticDirPlugin.ts", + "scopeId": ".NodeDiagnosticDirPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/NullOperationRunner.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/Operation.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/Operation.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/Operation.ts", + "scopeId": ".Operation.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/Operation.ts", + "scopeId": ".Operation.constructor", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationChunkTap.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/OperationExecutionRecord.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/OperationExecutionRecord.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/OperationExecutionRecord.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/OperationExecutionRecord.ts", + "scopeId": ".OperationExecutionRecord.collatedWriter", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/operations/OperationExecutionRecord.ts", + "scopeId": ".OperationExecutionRecord.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationExecutionRecord.ts", + "scopeId": ".OperationExecutionRecord.constructor", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationExecutionRecord.ts", + "scopeId": ".OperationExecutionRecord.executeAsync", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationExecutionRecord.ts", + "scopeId": ".OperationExecutionRecord.executeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationExecutionRecord.ts", + "scopeId": ".OperationExecutionRecord.getStateHashComponents", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationExecutionRecord.ts", + "scopeId": ".OperationExecutionRecord.getStateHashComponents", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationExecutionRecord.ts", + "scopeId": ".OperationExecutionRecord.runWithTerminalAsync", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationExecutionRecord.ts", + "scopeId": ".OperationExecutionRecord.runWithTerminalAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationExecutionRecord.ts", + "scopeId": ".OperationExecutionRecord.status", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._executeInnerAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._executeInnerAsync", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._executeInnerAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._executeInnerAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._executeInnerAsync.getNonSilentDependencies", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._executeInnerAsync.getNonSilentDependencies", + "rule": "max-depth" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._executeInnerAsync.onOperationStatusChanged", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._onIdle", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._scheduleIterationAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._scheduleIterationAsync", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._scheduleIterationAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._scheduleIterationAsync.onWriterActive", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._scheduleIterationAsync.onWriterActive", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._scheduleIterationAsync.onWriterActive", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._setIdleTimeout", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._setIdleTimeout", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph._setIdleTimeout", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph.closeRunnersAsync", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph.constructor", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph.executeScheduledIterationAsync", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph.executeScheduledIterationAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph.invalidateOperations", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph.invalidateOperations", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph.parallelism", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph.setEnabledStates", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph.setEnabledStates", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph.setEnabledStates", + "rule": "max-depth" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".OperationGraph.setEnabledStates", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": "._handleOperationFailure", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": "._handleOperationFailure", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": "._handleOperationFromCache", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": "._handleOperationNoOp", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": "._handleOperationSkipped", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": "._handleOperationSuccess", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": "._handleOperationSuccessWithWarning", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": "._onOperationComplete", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": "._onOperationComplete", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": "._reportOperationErrorIfAny", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationGraph.ts", + "scopeId": ".sortOperationsByName", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationMetadataManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/OperationMetadataManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/OperationMetadataManager.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/OperationMetadataManager.ts", + "scopeId": ".OperationMetadataManager.saveAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationMetadataManager.ts", + "scopeId": ".OperationMetadataManager.saveAsync.state", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationMetadataManager.ts", + "scopeId": ".OperationMetadataManager.tryRestoreAsync", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationMetadataManager.ts", + "scopeId": ".OperationMetadataManager.tryRestoreAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationMetadataManager.ts", + "scopeId": ".OperationMetadataManager.tryRestoreStopwatch", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationMetadataManager.ts", + "scopeId": ".OperationMetadataManager.tryRestoreStopwatch", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationMetadataManager.ts", + "scopeId": ".restoreFromLogFile", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationResultSummarizerPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/OperationResultSummarizerPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/OperationResultSummarizerPlugin.ts", + "scopeId": "._printOperationStatus", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationResultSummarizerPlugin.ts", + "scopeId": "._printOperationStatus", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationResultSummarizerPlugin.ts", + "scopeId": "._printOperationStatus", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationResultSummarizerPlugin.ts", + "scopeId": ".writeCondensedSummary", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationResultSummarizerPlugin.ts", + "scopeId": ".writeCondensedSummary", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationResultSummarizerPlugin.ts", + "scopeId": ".writeCondensedSummary", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationResultSummarizerPlugin.ts", + "scopeId": ".writeCondensedSummary", + "rule": "max-params" + }, + { + "file": "src/logic/operations/OperationResultSummarizerPlugin.ts", + "scopeId": ".writeDetailedSummary", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/OperationResultSummarizerPlugin.ts", + "scopeId": ".writeDetailedSummary", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/operations/OperationResultSummarizerPlugin.ts", + "scopeId": ".writeDetailedSummary", + "rule": "complexity" + }, + { + "file": "src/logic/operations/OperationResultSummarizerPlugin.ts", + "scopeId": ".writeDetailedSummary", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/OperationResultSummarizerPlugin.ts", + "scopeId": ".writeDetailedSummary", + "rule": "max-params" + }, + { + "file": "src/logic/operations/OperationResultSummarizerPlugin.ts", + "scopeId": ".writeSummaryHeader", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/ParseParallelism.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/ParseParallelism.ts", + "scopeId": ".coerceParallelism", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/ParseParallelism.ts", + "scopeId": ".getNumberOfCores", + "rule": "complexity" + }, + { + "file": "src/logic/operations/ParseParallelism.ts", + "scopeId": ".parseParallelism", + "rule": "complexity" + }, + { + "file": "src/logic/operations/ParseParallelism.ts", + "scopeId": ".parseParallelism", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/ParseParallelism.ts", + "scopeId": ".parseParallelismPercent", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/ParseParallelism.ts", + "scopeId": ".parseParallelismPercent", + "rule": "complexity" + }, + { + "file": "src/logic/operations/PeriodicCallback.ts", + "scopeId": ".PeriodicCallback.start", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/PhasedOperationPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/PhasedOperationPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/PhasedOperationPlugin.ts", + "scopeId": ".createOperations", + "rule": "complexity" + }, + { + "file": "src/logic/operations/PhasedOperationPlugin.ts", + "scopeId": ".createOperations", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/PhasedOperationPlugin.ts", + "scopeId": ".createOperations.getOrCreateOperation", + "rule": "complexity" + }, + { + "file": "src/logic/operations/PhasedOperationPlugin.ts", + "scopeId": ".createOperations.getOrCreateOperation", + "rule": "max-depth" + }, + { + "file": "src/logic/operations/PhasedOperationPlugin.ts", + "scopeId": ".createOperations.getOrCreateOperation", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/PhasedOperationPlugin.ts", + "scopeId": ".shouldEnableOperation", + "rule": "complexity" + }, + { + "file": "src/logic/operations/PhasedOperationPlugin.ts", + "scopeId": ".shouldEnableOperation", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/PnpmSyncCopyOperationPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/PnpmSyncCopyOperationPlugin.ts", + "scopeId": ".PnpmSyncCopyOperationPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/logic/operations/PnpmSyncCopyOperationPlugin.ts", + "scopeId": ".PnpmSyncCopyOperationPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/ProjectLogWritable.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/ProjectLogWritable.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/ProjectLogWritable.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/ProjectLogWritable.ts", + "scopeId": ".SplitLogFileWritable.onClose", + "rule": "complexity" + }, + { + "file": "src/logic/operations/ProjectLogWritable.ts", + "scopeId": ".SplitLogFileWritable.onWriteChunk", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/operations/ProjectLogWritable.ts", + "scopeId": ".SplitLogFileWritable.onWriteChunk", + "rule": "complexity" + }, + { + "file": "src/logic/operations/ProjectLogWritable.ts", + "scopeId": ".initializeProjectLogFilesAsync", + "rule": "complexity" + }, + { + "file": "src/logic/operations/ProjectLogWritable.ts", + "scopeId": ".initializeProjectLogFilesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/ShardedPhaseOperationPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/ShardedPhaseOperationPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/ShardedPhaseOperationPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/ShardedPhaseOperationPlugin.ts", + "scopeId": ".spliceShards", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/ShardedPhaseOperationPlugin.ts", + "scopeId": ".spliceShards", + "rule": "complexity" + }, + { + "file": "src/logic/operations/ShardedPhaseOperationPlugin.ts", + "scopeId": ".spliceShards", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/ShellOperationRunner.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/ShellOperationRunner.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/ShellOperationRunner.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/ShellOperationRunner.ts", + "scopeId": ".ShellOperationRunner.executeAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/ShellOperationRunner.ts", + "scopeId": ".ShellOperationRunner.executeAsync", + "rule": "complexity" + }, + { + "file": "src/logic/operations/ShellOperationRunner.ts", + "scopeId": ".ShellOperationRunner.executeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/ShellOperationRunner.ts", + "scopeId": ".convertSlashesForWindows", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/ShellOperationRunnerPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/ShellOperationRunnerPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/ShellOperationRunnerPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/ShellOperationRunnerPlugin.ts", + "scopeId": ".ShellOperationRunnerPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/ShellOperationRunnerPlugin.ts", + "scopeId": ".ShellOperationRunnerPlugin.apply.createShellOperations", + "rule": "complexity" + }, + { + "file": "src/logic/operations/ShellOperationRunnerPlugin.ts", + "scopeId": ".ShellOperationRunnerPlugin.apply.createShellOperations", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/ShellOperationRunnerPlugin.ts", + "scopeId": ".getCustomParameterValuesByOperation", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/ShellOperationRunnerPlugin.ts", + "scopeId": ".getCustomParameterValuesByOperation.getCustomParameterValuesForOp", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/ShellOperationRunnerPlugin.ts", + "scopeId": ".getCustomParameterValuesByOperation.getCustomParameterValuesForOp", + "rule": "complexity" + }, + { + "file": "src/logic/operations/ShellOperationRunnerPlugin.ts", + "scopeId": ".getCustomParameterValuesByOperation.getCustomParameterValuesForOp", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/ShellOperationRunnerPlugin.ts", + "scopeId": ".initializeShellOperationRunner", + "rule": "complexity" + }, + { + "file": "src/logic/operations/ShellOperationRunnerPlugin.ts", + "scopeId": ".initializeShellOperationRunner", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/ValidateOperationsPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/operations/ValidateOperationsPlugin.ts", + "scopeId": ".ValidateOperationsPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/logic/operations/test/AsyncOperationQueue.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/test/AsyncOperationQueue.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/test/AsyncOperationQueue.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/test/AsyncOperationQueue.test.ts", + "scopeId": ".nullSort", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/test/BuildPlanPlugin.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/test/BuildPlanPlugin.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/test/BuildPlanPlugin.test.ts", + "scopeId": ".testCreateOperationsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/test/IgnoredParametersPlugin.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/test/IgnoredParametersPlugin.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/test/IgnoredParametersPlugin.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/test/MockOperationRunner.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/operations/test/Operation.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/test/Operation.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/test/Operation.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/test/OperationExecutionRecord.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/test/OperationExecutionRecord.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/test/OperationExecutionRecord.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/test/OperationExecutionRecord.test.ts", + "scopeId": ".createRecord", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/test/OperationGraph.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/test/OperationGraph.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/logic/operations/test/OperationGraph.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/test/OperationGraph.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/test/OperationGraph.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/test/OperationGraph.test.ts", + "scopeId": ".createChain", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/test/OperationGraph.test.ts", + "scopeId": ".createCobuildGraph", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/test/OperationGraph.test.ts", + "scopeId": ".trackingRun", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/test/OperationGraphEventSink.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/test/OperationGraphEventSink.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/test/OperationGraphEventSink.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/test/OperationGraphEventSink.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/operations/test/OperationMetadataManager.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/test/OperationMetadataManager.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/test/OperationMetadataManager.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/test/ParseParallelism.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/test/ParseParallelism.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/test/PhasedOperationPlugin.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/test/PhasedOperationPlugin.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/test/PhasedOperationPlugin.test.ts", + "scopeId": ".compareOperation", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/operations/test/PhasedOperationPlugin.test.ts", + "scopeId": ".compareOperation", + "rule": "complexity" + }, + { + "file": "src/logic/operations/test/PhasedOperationPlugin.test.ts", + "scopeId": ".testCreateOperationsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/test/ShellOperationRunnerPlugin.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/operations/test/ShellOperationRunnerPlugin.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/operations/test/ShellOperationRunnerPlugin.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/pnpm/IPnpmfile.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/pnpm/PnpmLinkManager.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/pnpm/PnpmLinkManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/pnpm/PnpmLinkManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/pnpm/PnpmLinkManager.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/pnpm/PnpmLinkManager.ts", + "scopeId": ".PnpmLinkManager._createLocalPackageForDependency", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmLinkManager.ts", + "scopeId": ".PnpmLinkManager._createLocalPackageForDependency", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmLinkManager.ts", + "scopeId": ".PnpmLinkManager._createLocalPackageForDependency", + "rule": "max-params" + }, + { + "file": "src/logic/pnpm/PnpmLinkManager.ts", + "scopeId": ".PnpmLinkManager._getPathToLocalInstallationAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/PnpmLinkManager.ts", + "scopeId": ".PnpmLinkManager._getPathToLocalInstallationAsync", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmLinkManager.ts", + "scopeId": ".PnpmLinkManager._getPathToLocalInstallationAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmLinkManager.ts", + "scopeId": ".PnpmLinkManager._linkProjectAsync", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmLinkManager.ts", + "scopeId": ".PnpmLinkManager._linkProjectAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmLinkManager.ts", + "scopeId": ".PnpmLinkManager._linkProjectsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/PnpmLinkManager.ts", + "scopeId": ".PnpmLinkManager._linkProjectsAsync", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmOptionsConfiguration.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/pnpm/PnpmOptionsConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/logic/pnpm/PnpmOptionsConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/pnpm/PnpmOptionsConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/pnpm/PnpmOptionsConfiguration.ts", + "scopeId": ".PnpmOptionsConfiguration.constructor", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmOptionsConfiguration.ts", + "scopeId": ".PnpmOptionsConfiguration.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmOptionsConfiguration.ts", + "scopeId": ".PnpmOptionsConfiguration.updateGlobalPatchedDependencies", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmProjectShrinkwrapFile.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/pnpm/PnpmProjectShrinkwrapFile.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/pnpm/PnpmProjectShrinkwrapFile.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/pnpm/PnpmProjectShrinkwrapFile.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/pnpm/PnpmProjectShrinkwrapFile.ts", + "scopeId": ".PnpmProjectShrinkwrapFile._addDependencyRecursive", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmProjectShrinkwrapFile.ts", + "scopeId": ".PnpmProjectShrinkwrapFile._addDependencyRecursive", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmProjectShrinkwrapFile.ts", + "scopeId": ".PnpmProjectShrinkwrapFile._addDependencyRecursive", + "rule": "max-params" + }, + { + "file": "src/logic/pnpm/PnpmProjectShrinkwrapFile.ts", + "scopeId": ".PnpmProjectShrinkwrapFile._resolveAndAddPeerDependencies", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/PnpmProjectShrinkwrapFile.ts", + "scopeId": ".PnpmProjectShrinkwrapFile._resolveAndAddPeerDependencies", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmProjectShrinkwrapFile.ts", + "scopeId": ".PnpmProjectShrinkwrapFile._resolveAndAddPeerDependencies", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmProjectShrinkwrapFile.ts", + "scopeId": ".PnpmProjectShrinkwrapFile.generateLegacyProjectShrinkwrapMap", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/PnpmProjectShrinkwrapFile.ts", + "scopeId": ".PnpmProjectShrinkwrapFile.generateLegacyProjectShrinkwrapMap", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmProjectShrinkwrapFile.ts", + "scopeId": ".PnpmProjectShrinkwrapFile.hasChanges", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmProjectShrinkwrapFile.ts", + "scopeId": ".PnpmProjectShrinkwrapFile.hasChanges", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmShrinkWrapFileConverters.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/pnpm/PnpmShrinkWrapFileConverters.ts", + "scopeId": ".convertFromLockfileFileMutable", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkWrapFileConverters.ts", + "scopeId": ".convertLockfileV9ToLockfileObject", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkWrapFileConverters.ts", + "scopeId": ".revertProjectSnapshot", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkWrapFileConverters.ts", + "scopeId": ".revertProjectSnapshot", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmShrinkWrapFileConverters.ts", + "scopeId": ".revertProjectSnapshot.moveSpecifiers", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile._addIntegrities", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile._addIntegrities", + "rule": "max-depth" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile._addIntegrities", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile._convertLockfileV6DepPathToV5DepPath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile._convertLockfileV6DepPathToV5DepPath", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile._disallowInsecureSha1", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile._getIntegrityForPackage", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile._getIntegrityForPackage", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile._getPackageId", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile._getPackageId", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile._parseDependencyPath", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile._parsePnpmDependencyKey", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile._serializeInternal", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile._serializeInternal", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.constructor", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.findOrphanedProjects", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.getIntegrityForImporter", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.getIntegrityForImporter", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.getIntegrityForImporter.processCollection", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.getIntegrityForImporter.processCollection", + "rule": "max-depth" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.getLockfileV9PackageId", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.getLockfileV9PackageId", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.getTopLevelDependencyVersion", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.getTopLevelDependencyVersion", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.getTopLevelDependencyVersion", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.isWorkspaceProjectModifiedAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.isWorkspaceProjectModifiedAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.isWorkspaceProjectModifiedAsync", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.isWorkspaceProjectModifiedAsync", + "rule": "max-depth" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.isWorkspaceProjectModifiedAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.loadFromString", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.loadFromString", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.tryEnsureDependencyVersion", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.tryEnsureDependencyVersion", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.validate", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.validate", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.validateShrinkwrapAfterUpdate", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".PnpmShrinkwrapFile.validateShrinkwrapAfterUpdate", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".parsePnpm9DependencyKey", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".parsePnpm9DependencyKey", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".parsePnpm9DependencyKey", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".parsePnpmDependencyKey", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".parsePnpmDependencyKey", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmShrinkwrapFile.ts", + "scopeId": ".parsePnpmDependencyKey", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmWorkspaceFile.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/pnpm/PnpmWorkspaceFile.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/pnpm/PnpmWorkspaceFile.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/pnpm/PnpmWorkspaceFile.ts", + "scopeId": ".PnpmWorkspaceFile.serializeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmWorkspaceFile.ts", + "scopeId": ".PnpmWorkspaceFile.tryLoadAsync", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmWorkspaceFile.ts", + "scopeId": ".PnpmWorkspaceFile.tryLoadAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmfileConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/pnpm/PnpmfileConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/pnpm/PnpmfileConfiguration.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/pnpm/PnpmfileConfiguration.ts", + "scopeId": ".PnpmfileConfiguration.transform", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmfileConfiguration.ts", + "scopeId": ".PnpmfileConfiguration.writeCommonTempPnpmfileShimAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmfileConfiguration.ts", + "scopeId": "._getPnpmfileShimSettingsAsync", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmfileConfiguration.ts", + "scopeId": "._getPnpmfileShimSettingsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmfileShim.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/pnpm/PnpmfileShim.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/pnpm/PnpmfileShim.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/pnpm/PnpmfileShim.ts", + "scopeId": ".hooks.afterAllResolved", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmfileShim.ts", + "scopeId": ".hooks.readPackage", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmfileShim.ts", + "scopeId": ".init", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/pnpm/PnpmfileShim.ts", + "scopeId": ".init", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmfileShim.ts", + "scopeId": ".init", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/PnpmfileShim.ts", + "scopeId": ".parseRange", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/PnpmfileShim.ts", + "scopeId": ".setPreferredVersions", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/SubspaceGlobalPnpmfileShim.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/pnpm/SubspaceGlobalPnpmfileShim.ts", + "scopeId": ".hooks.afterAllResolved", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/SubspaceGlobalPnpmfileShim.ts", + "scopeId": ".hooks.readPackage", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/SubspaceGlobalPnpmfileShim.ts", + "scopeId": ".init", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/pnpm/SubspaceGlobalPnpmfileShim.ts", + "scopeId": ".init", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/SubspaceGlobalPnpmfileShim.ts", + "scopeId": ".init", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/SubspaceGlobalPnpmfileShim.ts", + "scopeId": ".rewriteRushProjectVersions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/SubspaceGlobalPnpmfileShim.ts", + "scopeId": ".rewriteRushProjectVersions", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/SubspaceGlobalPnpmfileShim.ts", + "scopeId": ".rewriteRushProjectVersions", + "rule": "max-depth" + }, + { + "file": "src/logic/pnpm/SubspaceGlobalPnpmfileShim.ts", + "scopeId": ".rewriteRushProjectVersions", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/SubspacePnpmfileConfiguration.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/pnpm/SubspacePnpmfileConfiguration.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/pnpm/SubspacePnpmfileConfiguration.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/pnpm/SubspacePnpmfileConfiguration.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/pnpm/SubspacePnpmfileConfiguration.ts", + "scopeId": ".SubspacePnpmfileConfiguration.getSubspacePnpmfileShimSettings", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/SubspacePnpmfileConfiguration.ts", + "scopeId": ".SubspacePnpmfileConfiguration.getSubspacePnpmfileShimSettings", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/SubspacePnpmfileConfiguration.ts", + "scopeId": ".SubspacePnpmfileConfiguration.writeCommonTempSubspaceGlobalPnpmfileAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/SubspacePnpmfileConfiguration.ts", + "scopeId": "._getProjectNameToInjectedDependenciesMap", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/SubspacePnpmfileConfiguration.ts", + "scopeId": "._getProjectNameToInjectedDependenciesMap", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/SubspacePnpmfileConfiguration.ts", + "scopeId": "._getProjectNameToInjectedDependenciesMap", + "rule": "max-depth" + }, + { + "file": "src/logic/pnpm/SubspacePnpmfileConfiguration.ts", + "scopeId": "._getProjectNameToInjectedDependenciesMap", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/SubspacePnpmfileConfiguration.ts", + "scopeId": "._processDependenciesForTransitiveInjectedInstall", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/SubspacePnpmfileConfiguration.ts", + "scopeId": "._processDependenciesForTransitiveInjectedInstall", + "rule": "max-params" + }, + { + "file": "src/logic/pnpm/test/PnpmOptionsConfiguration.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/test/PnpmOptionsConfiguration.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/pnpm/test/PnpmOptionsConfiguration.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/test/PnpmShrinkwrapConverters.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/pnpm/test/PnpmShrinkwrapConverters.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/logic/pnpm/test/PnpmShrinkwrapConverters.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/test/PnpmShrinkwrapFile.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/pnpm/test/PnpmShrinkwrapFile.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/test/PnpmShrinkwrapFile.test.ts", + "scopeId": ".getPnpmShrinkwrapFileFromFile", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/pnpm/test/PnpmWorkspaceFile.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/pnpm/test/PnpmWorkspaceFile.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/pnpm/test/PnpmfileConfiguration.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/policy/EnvironmentPolicy.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/policy/EnvironmentPolicy.ts", + "scopeId": ".validateAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/policy/EnvironmentPolicy.ts", + "scopeId": ".validateAsync", + "rule": "complexity" + }, + { + "file": "src/logic/policy/EnvironmentPolicy.ts", + "scopeId": ".validateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/policy/GitEmailPolicy.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/policy/GitEmailPolicy.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/policy/GitEmailPolicy.ts", + "scopeId": ".validateAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/policy/GitEmailPolicy.ts", + "scopeId": ".validateAsync", + "rule": "complexity" + }, + { + "file": "src/logic/policy/GitEmailPolicy.ts", + "scopeId": ".validateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/policy/PolicyValidator.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/policy/ShrinkwrapFilePolicy.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/policy/ShrinkwrapFilePolicy.ts", + "scopeId": ".validate", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/selectors/GitChangedProjectSelectorParser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/selectors/NamedProjectSelectorParser.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/selectors/NamedProjectSelectorParser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/selectors/NamedProjectSelectorParser.ts", + "scopeId": ".NamedProjectSelectorParser.getCompletions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/selectors/NamedProjectSelectorParser.ts", + "scopeId": ".NamedProjectSelectorParser.getCompletions", + "rule": "complexity" + }, + { + "file": "src/logic/selectors/PathProjectSelectorParser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/selectors/PathProjectSelectorParser.ts", + "scopeId": ".PathProjectSelectorParser.evaluateSelectorAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/selectors/PathProjectSelectorParser.ts", + "scopeId": ".PathProjectSelectorParser.evaluateSelectorAsync", + "rule": "complexity" + }, + { + "file": "src/logic/selectors/PathProjectSelectorParser.ts", + "scopeId": ".PathProjectSelectorParser.evaluateSelectorAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/selectors/SubspaceSelectorParser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/selectors/TagProjectSelectorParser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/selectors/VersionPolicyProjectSelectorParser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/selectors/VersionPolicyProjectSelectorParser.ts", + "scopeId": ".VersionPolicyProjectSelectorParser.evaluateSelectorAsync", + "rule": "complexity" + }, + { + "file": "src/logic/selectors/test/NamedProjectSelectorParser.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/selectors/test/NamedProjectSelectorParser.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/selectors/test/PathProjectSelectorParser.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/selectors/test/PathProjectSelectorParser.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/selectors/test/PathProjectSelectorParser.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/selectors/test/SubspaceSelectorParser.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/selectors/test/SubspaceSelectorParser.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/selectors/test/TagProjectSelectorParser.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/selectors/test/TagProjectSelectorParser.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/selectors/test/VersionPolicyProjectSelectorParser.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/selectors/test/VersionPolicyProjectSelectorParser.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/setup/ArtifactoryConfiguration.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/logic/setup/ArtifactoryConfiguration.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/setup/ArtifactoryConfiguration.ts", + "scopeId": ".ArtifactoryConfiguration.constructor", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/setup/KeyboardLoop.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/setup/KeyboardLoop.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/setup/KeyboardLoop.ts", + "scopeId": ".KeyboardLoop._checkForTTY", + "rule": "complexity" + }, + { + "file": "src/logic/setup/KeyboardLoop.ts", + "scopeId": ".KeyboardLoop._checkForTTY", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/setup/KeyboardLoop.ts", + "scopeId": ".KeyboardLoop._onKeypress", + "rule": "complexity" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".SetupPackageRegistry._fetchTokenAndUpdateNpmrcAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".SetupPackageRegistry._fetchTokenAndUpdateNpmrcAsync", + "rule": "complexity" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".SetupPackageRegistry._fetchTokenAndUpdateNpmrcAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".SetupPackageRegistry._mergeLinesIntoNpmrc", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".SetupPackageRegistry._mergeLinesIntoNpmrc", + "rule": "complexity" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".SetupPackageRegistry._mergeLinesIntoNpmrc", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".SetupPackageRegistry.checkAndSetupAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".SetupPackageRegistry.checkAndSetupAsync", + "rule": "complexity" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".SetupPackageRegistry.checkAndSetupAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".SetupPackageRegistry.checkOnlyAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".SetupPackageRegistry.checkOnlyAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".SetupPackageRegistry.checkOnlyAsync", + "rule": "complexity" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": ".SetupPackageRegistry.checkOnlyAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": "._getNpmrcKey", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": "._tryFindJson", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": "._tryFindJson", + "rule": "complexity" + }, + { + "file": "src/logic/setup/SetupPackageRegistry.ts", + "scopeId": "._tryFindJson", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/setup/TerminalInput.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/setup/TerminalInput.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/setup/TerminalInput.ts", + "scopeId": ".PasswordKeyboardLoop", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/setup/TerminalInput.ts", + "scopeId": ".PasswordKeyboardLoop._getLineWrapWidth", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/setup/TerminalInput.ts", + "scopeId": ".PasswordKeyboardLoop._render", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/setup/TerminalInput.ts", + "scopeId": ".PasswordKeyboardLoop._render", + "rule": "complexity" + }, + { + "file": "src/logic/setup/TerminalInput.ts", + "scopeId": ".PasswordKeyboardLoop._render", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/setup/TerminalInput.ts", + "scopeId": ".PasswordKeyboardLoop.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/setup/TerminalInput.ts", + "scopeId": ".PasswordKeyboardLoop.onKeypress", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/setup/TerminalInput.ts", + "scopeId": ".PasswordKeyboardLoop.onKeypress", + "rule": "complexity" + }, + { + "file": "src/logic/setup/TerminalInput.ts", + "scopeId": ".PasswordKeyboardLoop.onKeypress", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/setup/TerminalInput.ts", + "scopeId": ".PasswordKeyboardLoop.onStart", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/setup/TerminalInput.ts", + "scopeId": ".YesNoKeyboardLoop.onKeypress", + "rule": "complexity" + }, + { + "file": "src/logic/test/BaseInstallManager.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/test/BaseInstallManager.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/test/BaseInstallManager.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/ChangeFiles.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/test/ChangeFiles.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/test/ChangeFiles.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/ChangeManager.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/test/ChangeManager.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/ChangelogGenerator.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/test/ChangelogGenerator.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/test/ChangelogGenerator.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/DependencyAnalyzer.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/DependencySpecifier.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/test/DependencySpecifier.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/Git.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/test/Git.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/InstallHelpers.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/test/InstallHelpers.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/logic/test/InstallHelpers.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/test/InstallHelpers.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/ProjectChangeAnalyzer.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/test/ProjectChangeAnalyzer.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/test/ProjectChangeAnalyzer.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/ProjectChangeAnalyzer.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/test/ProjectChangeAnalyzer.test.ts", + "scopeId": "._getMockedPnpmShrinkwrapFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/ProjectImpactGraphGenerator.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/test/ProjectImpactGraphGenerator.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/PublishGit.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/test/PublishGit.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/PublishUtilities.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/test/PublishUtilities.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/test/PublishUtilities.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/PublishUtilities.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/test/PublishUtilities.test.ts", + "scopeId": ".createGitResult", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/test/PublishUtilities.test.ts", + "scopeId": ".generateChangeSnapshot", + "rule": "complexity" + }, + { + "file": "src/logic/test/PublishUtilities.test.ts", + "scopeId": ".generateChangeSnapshot", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/Selection.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/test/Selection.test.ts", + "scopeId": ".toMatchSet", + "rule": "complexity" + }, + { + "file": "src/logic/test/ShrinkwrapFile.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/test/ShrinkwrapFile.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/ShrinkwrapFile.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/test/ShrinkwrapFile.test.ts", + "scopeId": ".validateNonWorkspaceLockfile", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/ShrinkwrapFile.test.ts", + "scopeId": ".validateWorkspaceLockfile", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/test/Telemetry.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/test/Telemetry.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/test/Telemetry.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/Telemetry.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/test/VersionManager.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/test/VersionManager.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/test/VersionManager.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/test/WorkspaceCycleDetector.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/test/WorkspaceCycleDetector.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": ".VersionMismatchFinder._analyze", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": ".VersionMismatchFinder._analyze", + "rule": "complexity" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": ".VersionMismatchFinder._analyze", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": ".VersionMismatchFinder._isVersionAllowedAlternative", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": ".VersionMismatchFinder.getMismatches", + "rule": "complexity" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": ".VersionMismatchFinder.print", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": ".VersionMismatchFinder.print", + "rule": "complexity" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": ".VersionMismatchFinder.print", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": ".VersionMismatchFinder.printAsJson", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": "._checkForInconsistentVersions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": "._checkForInconsistentVersions", + "rule": "complexity" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": "._checkForInconsistentVersions", + "rule": "max-depth" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinder.ts", + "scopeId": "._checkForInconsistentVersions", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinderCommonVersions.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinderCommonVersions.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinderEntity.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinderProject.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/versionMismatch/VersionMismatchFinderProject.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/yarn/YarnShrinkwrapFile.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/logic/yarn/YarnShrinkwrapFile.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/logic/yarn/YarnShrinkwrapFile.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/logic/yarn/YarnShrinkwrapFile.ts", + "scopeId": ".YarnShrinkwrapFile.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/yarn/YarnShrinkwrapFile.ts", + "scopeId": ".YarnShrinkwrapFile.constructor", + "rule": "complexity" + }, + { + "file": "src/logic/yarn/YarnShrinkwrapFile.ts", + "scopeId": ".YarnShrinkwrapFile.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/logic/yarn/YarnShrinkwrapFile.ts", + "scopeId": "._decodePackageNameAndSemVer", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/logic/yarn/YarnShrinkwrapFile.ts", + "scopeId": "._decodePackageNameAndSemVer", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/IRushPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/OperationGraphHooks.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/OperationGraphHooks.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/OperationGraphHooks.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/pluginFramework/PhasedCommandHooks.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/PhasedCommandHooks.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/PluginLoader/AutoinstallerPluginLoader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/PluginLoader/AutoinstallerPluginLoader.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/PluginLoader/AutoinstallerPluginLoader.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/pluginFramework/PluginLoader/AutoinstallerPluginLoader.ts", + "scopeId": ".AutoinstallerPluginLoader._getPluginOptions", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/PluginLoader/AutoinstallerPluginLoader.ts", + "scopeId": ".AutoinstallerPluginLoader.update", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/PluginLoader/AutoinstallerPluginLoader.ts", + "scopeId": ".AutoinstallerPluginLoader.update", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/PluginLoader/BuiltInPluginLoader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/PluginLoader/PluginLoaderBase.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/pluginFramework/PluginLoader/PluginLoaderBase.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/PluginLoader/PluginLoaderBase.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/PluginLoader/PluginLoaderBase.ts", + "scopeId": ".PluginLoaderBase._getPluginOptions", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/PluginLoader/PluginLoaderBase.ts", + "scopeId": ".PluginLoaderBase._getRushPluginManifest", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/PluginLoader/PluginLoaderBase.ts", + "scopeId": ".PluginLoaderBase._loadAndValidatePluginPackage", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/PluginLoader/PluginLoaderBase.ts", + "scopeId": ".PluginLoaderBase.getCommandLineConfiguration", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/PluginManager.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/pluginFramework/PluginManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/PluginManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/PluginManager.ts", + "scopeId": ".PluginManager._initializePlugins", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/PluginManager.ts", + "scopeId": ".PluginManager.constructor", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/PluginManager.ts", + "scopeId": ".PluginManager.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/pluginFramework/PluginManager.ts", + "scopeId": ".PluginManager.constructor.tryAddBuiltInPlugin", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/pluginFramework/PluginManager.ts", + "scopeId": ".PluginManager.updateAsync", + "rule": "complexity" + }, + { + "file": "src/pluginFramework/RushLifeCycle.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/RushLifeCycle.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/pluginFramework/RushSession.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pluginFramework/RushSession.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/scripts/install-run-rush.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/scripts/install-run-rush.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/scripts/install-run-rush.ts", + "scopeId": "._getRushVersion", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/scripts/install-run-rush.ts", + "scopeId": "._run", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/scripts/install-run-rush.ts", + "scopeId": "._run", + "rule": "complexity" + }, + { + "file": "src/scripts/install-run-rush.ts", + "scopeId": "._run", + "rule": "max-lines-per-function" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._cleanInstallFolder", + "rule": "complexity" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._compareVersionStrings", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._compareVersionStrings", + "rule": "complexity" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._createPackageJson", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._deleteFile", + "rule": "complexity" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._ensureAndJoinPath", + "rule": "complexity" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._installPackage", + "rule": "max-params" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._parsePackageSpecifier", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._parsePackageSpecifier", + "rule": "complexity" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._resolvePackageVersion", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._resolvePackageVersion", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._resolvePackageVersion", + "rule": "complexity" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._resolvePackageVersion", + "rule": "max-depth" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._resolvePackageVersion", + "rule": "max-lines-per-function" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._run", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._run", + "rule": "complexity" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._run", + "rule": "max-lines-per-function" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._runNpmConfirmSuccess", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._runNpmConfirmSuccess", + "rule": "complexity" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": "._runNpmConfirmSuccess", + "rule": "max-lines-per-function" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": ".findRushJsonFolder", + "rule": "complexity" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": ".getNpmPath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": ".getNpmPath", + "rule": "complexity" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": ".installAndRun", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": ".installAndRun", + "rule": "complexity" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": ".installAndRun", + "rule": "max-lines-per-function" + }, + { + "file": "src/scripts/install-run.ts", + "scopeId": ".installAndRun", + "rule": "max-params" + }, + { + "file": "src/utilities/AsyncRecycler.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utilities/AsyncRecycler.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/utilities/AsyncRecycler.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/AsyncRecycler.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/utilities/AsyncRecycler.ts", + "scopeId": ".AsyncRecycler._renameOrRecurseInFolder", + "rule": "complexity" + }, + { + "file": "src/utilities/AsyncRecycler.ts", + "scopeId": ".AsyncRecycler.moveAllItemsInFolder", + "rule": "complexity" + }, + { + "file": "src/utilities/AsyncRecycler.ts", + "scopeId": ".AsyncRecycler.moveFolder", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/AsyncRecycler.ts", + "scopeId": ".AsyncRecycler.moveFolder", + "rule": "complexity" + }, + { + "file": "src/utilities/AsyncRecycler.ts", + "scopeId": ".AsyncRecycler.moveFolder", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/AsyncRecycler.ts", + "scopeId": ".AsyncRecycler.startDeleteAllAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/AsyncRecycler.ts", + "scopeId": ".AsyncRecycler.startDeleteAllAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/AsyncRecycler.ts", + "scopeId": ".AsyncRecycler.startDeleteAllAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/CollatedTerminalProvider.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/utilities/CollatedTerminalProvider.ts", + "scopeId": ".CollatedTerminalProvider.write", + "rule": "complexity" + }, + { + "file": "src/utilities/CollatedTerminalProvider.ts", + "scopeId": ".CollatedTerminalProvider.write", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".HotlinkManager._getLinkedPackageInfoAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".HotlinkManager._getLinkedPackageInfoAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".HotlinkManager._getPackagePathsMatchingNameAndVersionAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".HotlinkManager.bridgePackageAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".HotlinkManager.bridgePackageAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".HotlinkManager.linkPackageAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".HotlinkManager.linkPackageAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".HotlinkManager.linkPackageAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".HotlinkManager.loadFromRushConfiguration", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".HotlinkManager.loadFromRushConfiguration", + "rule": "complexity" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".HotlinkManager.loadFromRushConfiguration", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".HotlinkManager.purgeLinksAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/HotlinkManager.ts", + "scopeId": ".IProjectLinksStateJson", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/InteractiveUpgradeUI.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utilities/InteractiveUpgradeUI.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/utilities/InteractiveUpgradeUI.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/InteractiveUpgradeUI.ts", + "scopeId": ".getChoice", + "rule": "complexity" + }, + { + "file": "src/utilities/InteractiveUpgradeUI.ts", + "scopeId": ".getErrorDep", + "rule": "complexity" + }, + { + "file": "src/utilities/InteractiveUpgradeUI.ts", + "scopeId": ".label", + "rule": "complexity" + }, + { + "file": "src/utilities/InteractiveUpgradeUI.ts", + "scopeId": ".upgradeInteractive", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/InteractiveUpgradeUI.ts", + "scopeId": ".upgradeInteractive", + "rule": "complexity" + }, + { + "file": "src/utilities/InteractiveUpgradeUI.ts", + "scopeId": ".upgradeInteractive", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/InteractiveUpgradeUI.ts", + "scopeId": ".upgradeInteractive.createChoices", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/InteractiveUpgradeUI.ts", + "scopeId": ".upgradeInteractive.createChoices", + "rule": "complexity" + }, + { + "file": "src/utilities/InteractiveUpgradeUI.ts", + "scopeId": ".upgradeInteractive.createChoices", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/Npm.ts", + "scopeId": ".Npm.getPublishedVersionsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/Npm.ts", + "scopeId": ".Npm.getPublishedVersionsAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/Npm.ts", + "scopeId": ".Npm.getPublishedVersionsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/Npm.ts", + "scopeId": ".runNpmCommandAndCaptureOutputAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/OverlappingPathAnalyzer.ts", + "scopeId": ".OverlappingPathAnalyzer.addPathAndGetFirstEncounteredLabels", + "rule": "complexity" + }, + { + "file": "src/utilities/OverlappingPathAnalyzer.ts", + "scopeId": ".OverlappingPathAnalyzer.addPathAndGetFirstEncounteredLabels", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/PnpmSyncUtilities.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/utilities/PnpmSyncUtilities.ts", + "scopeId": ".PnpmSyncUtilities.processLogMessage", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/PnpmSyncUtilities.ts", + "scopeId": ".PnpmSyncUtilities.processLogMessage", + "rule": "complexity" + }, + { + "file": "src/utilities/PnpmSyncUtilities.ts", + "scopeId": ".PnpmSyncUtilities.processLogMessage", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".", + "rule": "import/no-relative-parent-imports" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts._ensureAlertStateIsUpToDate", + "rule": "complexity" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts._isAlertValidAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts._isAlertValidAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts._isAlertValidAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts._printAlerts", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts._printAlerts", + "rule": "complexity" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts._printMessageInBoxStyle", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts._printMessageInBoxStyle", + "rule": "complexity" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts._printMessageInBoxStyle", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts._selectAlertByPriorityAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts._selectAlertByPriorityAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts._selectAlertByPriorityAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts.loadFromConfigurationAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts.printAlertsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts.printAlertsAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/RushAlerts.ts", + "scopeId": ".RushAlerts.snoozeAlertsByAlertIdAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/Stopwatch.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/Stopwatch.ts", + "scopeId": ".Stopwatch.duration", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/Stopwatch.ts", + "scopeId": ".Stopwatch.duration", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utilities/Stopwatch.ts", + "scopeId": ".Stopwatch.toString", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/Stopwatch.ts", + "scopeId": ".Stopwatch.toString", + "rule": "complexity" + }, + { + "file": "src/utilities/TarExecutable.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utilities/TarExecutable.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/utilities/TarExecutable.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/TarExecutable.ts", + "scopeId": ".TarExecutable._spawnTarWithLoggingAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/TarExecutable.ts", + "scopeId": ".TarExecutable.tryCreateArchiveFromProjectPathsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/TarExecutable.ts", + "scopeId": "._tryFindTarExecutablePathAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities._convertCommandAndArgsToShell", + "rule": "complexity" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities._convertCommandAndArgsToShell", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.createFolderWithRetry", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.executeCommandAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.executeCommandAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.executeCommandWithRetryAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.executeCommandWithRetryAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.executeCommandWithRetryAsync", + "rule": "max-depth" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.executeCommandWithRetryAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.executeLifecycleCommand", + "rule": "complexity" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.installPackageInDirectoryAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.installPackageInDirectoryAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.isFileTimestampCurrentAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.isFileTimestampCurrentAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.retryUntilTimeout", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.retryUntilTimeout", + "rule": "complexity" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.retryUntilTimeout", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": ".Utilities.trimAfterLastSlash", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": "._createEnvironmentForRushCommand", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": "._createEnvironmentForRushCommand", + "rule": "complexity" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": "._createEnvironmentForRushCommand", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": "._executeCommandInternalAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": "._executeCommandInternalAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": "._executeCommandInternalAsync.spawnOptions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": "._executeLifecycleCommandInternal", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": "._executeLifecycleCommandInternal", + "rule": "complexity" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": "._executeLifecycleCommandInternal", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/Utilities.ts", + "scopeId": "._processResult", + "rule": "complexity" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": "._getContentEncodings", + "rule": "complexity" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": "._makeRawRequestAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": "._makeRawRequestAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": "._makeRawRequestAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": "._makeRawRequestAsync", + "rule": "max-params" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".buildRequestOptions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".buildRequestOptions", + "rule": "complexity" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".buildRequestOptions", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".makeRequestAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".makeRequestAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".makeRequestAsync.result", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".makeRequestAsync.result.getBufferAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".makeRequestAsync.result.getBufferAsync", + "rule": "max-depth" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".makeRequestAsync.result.getBufferAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".makeStreamRequestAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".makeStreamRequestAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".makeStreamRequestAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/WebClient.ts", + "scopeId": ".makeStreamRequestAsync.buildResult", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/executionUtilities.ts", + "scopeId": ".escapeArgumentIfNeeded", + "rule": "complexity" + }, + { + "file": "src/utilities/npmrcUtilities.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/npmrcUtilities.ts", + "scopeId": "._trimNpmrcFile", + "rule": "complexity" + }, + { + "file": "src/utilities/npmrcUtilities.ts", + "scopeId": "._trimNpmrcFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/npmrcUtilities.ts", + "scopeId": ".syncNpmrc", + "rule": "complexity" + }, + { + "file": "src/utilities/npmrcUtilities.ts", + "scopeId": ".syncNpmrc", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/npmrcUtilities.ts", + "scopeId": ".trimNpmrcFileLines", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/npmrcUtilities.ts", + "scopeId": ".trimNpmrcFileLines", + "rule": "complexity" + }, + { + "file": "src/utilities/npmrcUtilities.ts", + "scopeId": ".trimNpmrcFileLines", + "rule": "max-depth" + }, + { + "file": "src/utilities/npmrcUtilities.ts", + "scopeId": ".trimNpmrcFileLines", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/objectUtilities.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/objectUtilities.ts", + "scopeId": ".cloneDeepInner", + "rule": "complexity" + }, + { + "file": "src/utilities/objectUtilities.ts", + "scopeId": ".cloneDeepInner", + "rule": "max-depth" + }, + { + "file": "src/utilities/objectUtilities.ts", + "scopeId": ".isMatchInner", + "rule": "complexity" + }, + { + "file": "src/utilities/objectUtilities.ts", + "scopeId": ".isStrictComparable", + "rule": "complexity" + }, + { + "file": "src/utilities/objectUtilities.ts", + "scopeId": ".merge", + "rule": "complexity" + }, + { + "file": "src/utilities/objectUtilities.ts", + "scopeId": ".merge", + "rule": "max-depth" + }, + { + "file": "src/utilities/objectUtilities.ts", + "scopeId": ".removeNullishProps", + "rule": "complexity" + }, + { + "file": "src/utilities/performance.ts", + "scopeId": ".collectPerformanceEntries", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/templateUtilities.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/templateUtilities.ts", + "scopeId": ".copyTemplateFileAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/templateUtilities.ts", + "scopeId": ".copyTemplateFileAsync", + "rule": "complexity" + }, + { + "file": "src/utilities/templateUtilities.ts", + "scopeId": ".copyTemplateFileAsync", + "rule": "max-depth" + }, + { + "file": "src/utilities/templateUtilities.ts", + "scopeId": ".copyTemplateFileAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/test/Npm.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/test/Npm.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/test/OverlappingPathAnalyzer.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/test/Stopwatch.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/test/Stopwatch.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/test/Stopwatch.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/test/Stopwatch.test.ts", + "scopeId": ".pseudoTimeSeconds", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/test/Utilities.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/test/Utilities.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/test/WebClient.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/test/WebClient.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/test/WebClient.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/utilities/test/WebClient.test.ts", + "scopeId": ".read", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/test/npmrcUtilities.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/utilities/test/npmrcUtilities.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/test/npmrcUtilities.test.ts", + "scopeId": ".runTests", + "rule": "max-lines-per-function" + }, + { + "file": "src/utilities/test/objectUtilities.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/utilities/test/objectUtilities.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/libraries/rush-lib/eslint.config.js b/libraries/rush-lib/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/libraries/rush-lib/eslint.config.js +++ b/libraries/rush-lib/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/rush-pnpm-kit-v10/eslint.config.js b/libraries/rush-pnpm-kit-v10/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/libraries/rush-pnpm-kit-v10/eslint.config.js +++ b/libraries/rush-pnpm-kit-v10/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/rush-pnpm-kit-v10/package.json b/libraries/rush-pnpm-kit-v10/package.json index 7cea49f0d94..8d03144a05d 100644 --- a/libraries/rush-pnpm-kit-v10/package.json +++ b/libraries/rush-pnpm-kit-v10/package.json @@ -41,6 +41,7 @@ }, "devDependencies": { "@rushstack/heft": "workspace:*", + "eslint": "~9.37.0", "local-node-rig": "workspace:*" }, "sideEffects": false diff --git a/libraries/rush-pnpm-kit-v8/eslint.config.js b/libraries/rush-pnpm-kit-v8/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/libraries/rush-pnpm-kit-v8/eslint.config.js +++ b/libraries/rush-pnpm-kit-v8/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/rush-pnpm-kit-v8/package.json b/libraries/rush-pnpm-kit-v8/package.json index 2ab0daa4c2c..951c56cede7 100644 --- a/libraries/rush-pnpm-kit-v8/package.json +++ b/libraries/rush-pnpm-kit-v8/package.json @@ -41,6 +41,7 @@ }, "devDependencies": { "@rushstack/heft": "workspace:*", + "eslint": "~9.37.0", "local-node-rig": "workspace:*" }, "sideEffects": false diff --git a/libraries/rush-pnpm-kit-v9/eslint.config.js b/libraries/rush-pnpm-kit-v9/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/libraries/rush-pnpm-kit-v9/eslint.config.js +++ b/libraries/rush-pnpm-kit-v9/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/rush-pnpm-kit-v9/package.json b/libraries/rush-pnpm-kit-v9/package.json index c66eeabb83e..15e01974a3a 100644 --- a/libraries/rush-pnpm-kit-v9/package.json +++ b/libraries/rush-pnpm-kit-v9/package.json @@ -41,6 +41,7 @@ }, "devDependencies": { "@rushstack/heft": "workspace:*", + "eslint": "~9.37.0", "local-node-rig": "workspace:*" }, "sideEffects": false diff --git a/libraries/rush-sdk/.eslint-bulk-suppressions.json b/libraries/rush-sdk/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..34395da44ec --- /dev/null +++ b/libraries/rush-sdk/.eslint-bulk-suppressions.json @@ -0,0 +1,159 @@ +{ + "suppressions": [ + { + "file": "src/generate-stubs.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/generate-stubs.ts", + "scopeId": ".collectFileTasksAsync", + "rule": "complexity" + }, + { + "file": "src/generate-stubs.ts", + "scopeId": ".collectFileTasksAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/generate-stubs.ts", + "scopeId": ".processFileTaskAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/generate-stubs.ts", + "scopeId": ".processFileTaskAsync", + "rule": "complexity" + }, + { + "file": "src/generate-stubs.ts", + "scopeId": ".processFileTaskAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/generate-stubs.ts", + "scopeId": ".runAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/helpers.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/helpers.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/helpers.ts", + "scopeId": ".tryFindRushJsonLocation", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/helpers.ts", + "scopeId": ".tryFindRushJsonLocation", + "rule": "complexity" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "max-depth" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/loader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/loader.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/loader.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/loader.ts", + "scopeId": ".RushSdkLoader.loadAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/loader.ts", + "scopeId": ".RushSdkLoader.loadAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/loader.ts", + "scopeId": ".RushSdkLoader.loadAsync", + "rule": "complexity" + }, + { + "file": "src/loader.ts", + "scopeId": ".RushSdkLoader.loadAsync", + "rule": "max-depth" + }, + { + "file": "src/loader.ts", + "scopeId": ".RushSdkLoader.loadAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/loader.ts", + "scopeId": "._checkForCancel", + "rule": "complexity" + }, + { + "file": "src/test/build-assets-with-named-exports.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/build-assets-with-named-exports.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/script.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/script.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/script.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/libraries/rush-sdk/eslint.config.js b/libraries/rush-sdk/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/libraries/rush-sdk/eslint.config.js +++ b/libraries/rush-sdk/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/rush-terminal-renderer/eslint.config.js b/libraries/rush-terminal-renderer/eslint.config.js index b08a47af297..23a110b39cb 100644 --- a/libraries/rush-terminal-renderer/eslint.config.js +++ b/libraries/rush-terminal-renderer/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/libraries/rush-themed-ui/.eslint-bulk-suppressions.json b/libraries/rush-themed-ui/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..31a90bf956a --- /dev/null +++ b/libraries/rush-themed-ui/.eslint-bulk-suppressions.json @@ -0,0 +1,54 @@ +{ + "suppressions": [ + { + "file": "src/components/Button/index.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/components/Checkbox/index.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/components/ScrollArea/index.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/components/Tabs/index.tsx", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/components/Tabs/index.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/components/Tabs/index.tsx", + "scopeId": ".Tabs", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/components/Tabs/index.tsx", + "scopeId": ".Tabs.getItemValue", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/components/Text/index.tsx", + "scopeId": ".Text", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/components/Text/index.tsx", + "scopeId": ".Text", + "rule": "complexity" + }, + { + "file": "src/components/Text/index.tsx", + "scopeId": ".Text", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/libraries/rush-themed-ui/eslint.config.js b/libraries/rush-themed-ui/eslint.config.js index 25d563f73a7..73c1b1de625 100644 --- a/libraries/rush-themed-ui/eslint.config.js +++ b/libraries/rush-themed-ui/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-web-rig/profiles/library/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-web-rig/profiles/library/includes/eslint/flat/profile/web-app'); const reactMixin = require('local-web-rig/profiles/library/includes/eslint/flat/mixins/react'); diff --git a/libraries/rushell/.eslint-bulk-suppressions.json b/libraries/rushell/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..e9e7f5ce80f --- /dev/null +++ b/libraries/rushell/.eslint-bulk-suppressions.json @@ -0,0 +1,189 @@ +{ + "suppressions": [ + { + "file": "src/AstNode.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/AstNode.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/AstNode.ts", + "scopeId": ".AstBaseNode.getDump", + "rule": "complexity" + }, + { + "file": "src/ParseError.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/ParseError.ts", + "scopeId": "._formatMessage", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ParseError.ts", + "scopeId": "._formatMessage", + "rule": "complexity" + }, + { + "file": "src/Parser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/Parser.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Parser.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/Parser.ts", + "scopeId": ".Parser._parseCommand", + "rule": "complexity" + }, + { + "file": "src/Parser.ts", + "scopeId": ".Parser._parseCompoundWord", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Parser.ts", + "scopeId": ".Parser._parseCompoundWord", + "rule": "complexity" + }, + { + "file": "src/Parser.ts", + "scopeId": ".Parser._peekToken", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Rushell.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/Rushell.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/Rushell.ts", + "scopeId": ".Rushell._evaluateNode", + "rule": "complexity" + }, + { + "file": "src/TextRange.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/TextRange.ts", + "scopeId": ".TextRange", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TextRange.ts", + "scopeId": ".TextRange._validateBounds", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TextRange.ts", + "scopeId": ".TextRange._validateBounds", + "rule": "complexity" + }, + { + "file": "src/TextRange.ts", + "scopeId": ".TextRange.fromString", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TextRange.ts", + "scopeId": ".TextRange.getEncompassingRange", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TextRange.ts", + "scopeId": ".TextRange.getEncompassingRange", + "rule": "complexity" + }, + { + "file": "src/TextRange.ts", + "scopeId": ".TextRange.getLocation", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TextRange.ts", + "scopeId": ".TextRange.getLocation", + "rule": "complexity" + }, + { + "file": "src/TextRange.ts", + "scopeId": ".TextRange.getLocation", + "rule": "max-lines-per-function" + }, + { + "file": "src/Tokenizer.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Tokenizer.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/Tokenizer.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Tokenizer.ts", + "scopeId": ".Token.constructor", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Tokenizer.ts", + "scopeId": ".Tokenizer._peekCharacterAfter", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Tokenizer.ts", + "scopeId": ".Tokenizer.readToken", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Tokenizer.ts", + "scopeId": ".Tokenizer.readToken", + "rule": "complexity" + }, + { + "file": "src/Tokenizer.ts", + "scopeId": ".Tokenizer.readToken", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/TextRange.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/TextRange.test.ts", + "scopeId": ".matchSnapshot", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/Tokenizer.test.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/libraries/rushell/eslint.config.js b/libraries/rushell/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/libraries/rushell/eslint.config.js +++ b/libraries/rushell/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/stream-collator/.eslint-bulk-suppressions.json b/libraries/stream-collator/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..9b92bf4b4ed --- /dev/null +++ b/libraries/stream-collator/.eslint-bulk-suppressions.json @@ -0,0 +1,79 @@ +{ + "suppressions": [ + { + "file": "src/CollatedTerminal.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/CollatedWriter.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/CollatedWriter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/StreamCollator.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/StreamCollator.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/StreamCollator.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/StreamCollator.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/StreamCollator.ts", + "scopeId": ".StreamCollator._writerClose", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/StreamCollator.ts", + "scopeId": ".StreamCollator._writerClose", + "rule": "complexity" + }, + { + "file": "src/StreamCollator.ts", + "scopeId": ".StreamCollator._writerClose", + "rule": "max-lines-per-function" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/test/StreamCollator.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/test/StreamCollator.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/StreamCollator.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/StreamCollator.test.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/libraries/stream-collator/eslint.config.js b/libraries/stream-collator/eslint.config.js index f7f52307dac..2a44cf5018e 100644 --- a/libraries/stream-collator/eslint.config.js +++ b/libraries/stream-collator/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/terminal/.eslint-bulk-suppressions.json b/libraries/terminal/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..91aed80f000 --- /dev/null +++ b/libraries/terminal/.eslint-bulk-suppressions.json @@ -0,0 +1,699 @@ +{ + "suppressions": [ + { + "file": "src/AnsiEscape.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/AnsiEscape.ts", + "scopeId": ".AnsiEscape.formatForTests", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AnsiEscape.ts", + "scopeId": ".AnsiEscape.formatForTests", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/AnsiEscape.ts", + "scopeId": "._tryGetSgrFriendlyName", + "rule": "complexity" + }, + { + "file": "src/AnsiEscape.ts", + "scopeId": "._tryGetSgrFriendlyName", + "rule": "max-lines-per-function" + }, + { + "file": "src/CallbackWritable.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/Colorize.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ConsoleTerminalProvider.ts", + "scopeId": ".ConsoleTerminalProvider.write", + "rule": "complexity" + }, + { + "file": "src/DiscardStdoutTransform.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/DiscardStdoutTransform.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/DiscardStdoutTransform.ts", + "scopeId": ".DiscardStdoutTransform.onWriteChunk", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/DiscardStdoutTransform.ts", + "scopeId": ".DiscardStdoutTransform.onWriteChunk", + "rule": "complexity" + }, + { + "file": "src/DiscardStdoutTransform.ts", + "scopeId": ".DiscardStdoutTransform.onWriteChunk", + "rule": "max-lines-per-function" + }, + { + "file": "src/NormalizeNewlinesTextRewriter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/NormalizeNewlinesTextRewriter.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/NormalizeNewlinesTextRewriter.ts", + "scopeId": ".NormalizeNewlinesTextRewriter.process", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/NormalizeNewlinesTextRewriter.ts", + "scopeId": ".NormalizeNewlinesTextRewriter.process", + "rule": "complexity" + }, + { + "file": "src/NormalizeNewlinesTextRewriter.ts", + "scopeId": ".NormalizeNewlinesTextRewriter.process", + "rule": "max-lines-per-function" + }, + { + "file": "src/PrefixProxyTerminalProvider.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/PrefixProxyTerminalProvider.ts", + "scopeId": ".PrefixProxyTerminalProvider.write", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/PrefixProxyTerminalProvider.ts", + "scopeId": ".PrefixProxyTerminalProvider.write", + "rule": "complexity" + }, + { + "file": "src/PrintUtilities.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/PrintUtilities.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/PrintUtilities.ts", + "scopeId": ".PrintUtilities.printMessageInBox", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/PrintUtilities.ts", + "scopeId": ".PrintUtilities.printMessageInBox", + "rule": "complexity" + }, + { + "file": "src/PrintUtilities.ts", + "scopeId": ".PrintUtilities.printMessageInBox", + "rule": "max-lines-per-function" + }, + { + "file": "src/PrintUtilities.ts", + "scopeId": ".PrintUtilities.wrapWordsToLines", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/PrintUtilities.ts", + "scopeId": ".PrintUtilities.wrapWordsToLines", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/PrintUtilities.ts", + "scopeId": ".PrintUtilities.wrapWordsToLines", + "rule": "complexity" + }, + { + "file": "src/PrintUtilities.ts", + "scopeId": ".PrintUtilities.wrapWordsToLines", + "rule": "max-depth" + }, + { + "file": "src/PrintUtilities.ts", + "scopeId": ".PrintUtilities.wrapWordsToLines", + "rule": "max-lines-per-function" + }, + { + "file": "src/ProblemCollector.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/ProblemCollector.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ProblemCollector.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/ProblemCollector.ts", + "scopeId": ".ProblemCollector.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ProblemCollector.ts", + "scopeId": ".ProblemCollector.constructor", + "rule": "complexity" + }, + { + "file": "src/ProblemCollector.ts", + "scopeId": ".ProblemCollector.onClose", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ProblemCollector.ts", + "scopeId": ".ProblemCollector.onClose", + "rule": "complexity" + }, + { + "file": "src/ProblemCollector.ts", + "scopeId": ".ProblemCollector.onClose", + "rule": "max-depth" + }, + { + "file": "src/ProblemCollector.ts", + "scopeId": ".ProblemCollector.onWriteChunk", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ProblemCollector.ts", + "scopeId": ".ProblemCollector.onWriteChunk", + "rule": "complexity" + }, + { + "file": "src/RemoveColorsTextRewriter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/RemoveColorsTextRewriter.ts", + "scopeId": ".RemoveColorsTextRewriter.process", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RemoveColorsTextRewriter.ts", + "scopeId": ".RemoveColorsTextRewriter.process", + "rule": "complexity" + }, + { + "file": "src/RemoveColorsTextRewriter.ts", + "scopeId": ".RemoveColorsTextRewriter.process", + "rule": "max-depth" + }, + { + "file": "src/RemoveColorsTextRewriter.ts", + "scopeId": ".RemoveColorsTextRewriter.process", + "rule": "max-lines-per-function" + }, + { + "file": "src/SplitterTransform.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/SplitterTransform.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/SplitterTransform.ts", + "scopeId": ".SplitterTransform.onClose", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SplitterTransform.ts", + "scopeId": ".SplitterTransform.onClose", + "rule": "complexity" + }, + { + "file": "src/SplitterTransform.ts", + "scopeId": ".SplitterTransform.removeDestination", + "rule": "complexity" + }, + { + "file": "src/StdioLineTransform.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/StdioLineTransform.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/StdioLineTransform.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/StdioLineTransform.ts", + "scopeId": ".StderrLineTransform.onClose", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/StdioLineTransform.ts", + "scopeId": ".StderrLineTransform.onWriteChunk", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/StdioLineTransform.ts", + "scopeId": ".StderrLineTransform.onWriteChunk", + "rule": "complexity" + }, + { + "file": "src/StdioLineTransform.ts", + "scopeId": ".StderrLineTransform.onWriteChunk", + "rule": "max-lines-per-function" + }, + { + "file": "src/StdioSummarizer.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/StdioSummarizer.ts", + "scopeId": ".StdioSummarizer", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/StdioSummarizer.ts", + "scopeId": ".StdioSummarizer.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/StdioSummarizer.ts", + "scopeId": ".StdioSummarizer.constructor", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/StdioSummarizer.ts", + "scopeId": ".StdioSummarizer.constructor", + "rule": "complexity" + }, + { + "file": "src/StdioSummarizer.ts", + "scopeId": ".StdioSummarizer.getReport", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/StdioSummarizer.ts", + "scopeId": ".StdioSummarizer.getReport", + "rule": "complexity" + }, + { + "file": "src/StdioSummarizer.ts", + "scopeId": ".StdioSummarizer.onWriteChunk", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/StdioSummarizer.ts", + "scopeId": ".StdioSummarizer.onWriteChunk", + "rule": "complexity" + }, + { + "file": "src/StdioSummarizer.ts", + "scopeId": ".StdioSummarizer.onWriteChunk", + "rule": "max-lines-per-function" + }, + { + "file": "src/StringBufferTerminalProvider.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/StringBufferTerminalProvider.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/StringBufferTerminalProvider.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/StringBufferTerminalProvider.ts", + "scopeId": ".StringBufferTerminalProvider.getAllOutput", + "rule": "complexity" + }, + { + "file": "src/StringBufferTerminalProvider.ts", + "scopeId": ".StringBufferTerminalProvider.getAllOutput", + "rule": "max-lines-per-function" + }, + { + "file": "src/StringBufferTerminalProvider.ts", + "scopeId": ".StringBufferTerminalProvider.getAllOutputAsChunks", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/StringBufferTerminalProvider.ts", + "scopeId": ".StringBufferTerminalProvider.getAllOutputAsChunks", + "rule": "complexity" + }, + { + "file": "src/StringBufferTerminalProvider.ts", + "scopeId": ".StringBufferTerminalProvider.getAllOutputAsChunks", + "rule": "max-depth" + }, + { + "file": "src/StringBufferTerminalProvider.ts", + "scopeId": ".StringBufferTerminalProvider.getAllOutputAsChunks", + "rule": "max-lines-per-function" + }, + { + "file": "src/StringBufferTerminalProvider.ts", + "scopeId": ".StringBufferTerminalProvider.write", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/StringBufferTerminalProvider.ts", + "scopeId": ".StringBufferTerminalProvider.write", + "rule": "complexity" + }, + { + "file": "src/StringBufferTerminalProvider.ts", + "scopeId": ".StringBufferTerminalProvider.write", + "rule": "max-lines-per-function" + }, + { + "file": "src/Terminal.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/Terminal.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Terminal.ts", + "scopeId": ".Terminal._normalizeWriteParameters", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Terminal.ts", + "scopeId": ".Terminal._writeSegmentsToProviders", + "rule": "complexity" + }, + { + "file": "src/Terminal.ts", + "scopeId": ".Terminal._writeSegmentsToProviders", + "rule": "max-depth" + }, + { + "file": "src/Terminal.ts", + "scopeId": ".Terminal._writeSegmentsToProviders", + "rule": "max-lines-per-function" + }, + { + "file": "src/TerminalStreamWritable.ts", + "scopeId": ".TerminalStreamWritable.constructor", + "rule": "complexity" + }, + { + "file": "src/TerminalTable.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/TerminalTable.ts", + "scopeId": ".TerminalTable.constructor", + "rule": "complexity" + }, + { + "file": "src/TerminalTable.ts", + "scopeId": ".TerminalTable.getLines", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TerminalTable.ts", + "scopeId": ".TerminalTable.getLines", + "rule": "complexity" + }, + { + "file": "src/TerminalTable.ts", + "scopeId": ".TerminalTable.getLines", + "rule": "max-depth" + }, + { + "file": "src/TerminalTable.ts", + "scopeId": ".TerminalTable.getLines", + "rule": "max-lines-per-function" + }, + { + "file": "src/TerminalTable.ts", + "scopeId": ".TerminalTable.getLines.buildSepLine", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TerminalTable.ts", + "scopeId": ".TerminalTable.getLines.renderRow", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TerminalTable.ts", + "scopeId": ".TerminalTable.getLines.renderRow", + "rule": "complexity" + }, + { + "file": "src/TerminalTransform.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/TerminalWritable.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/TerminalWritable.ts", + "scopeId": ".TerminalWritable.constructor", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/TextRewriterTransform.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/TextRewriterTransform.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/TextRewriterTransform.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/TextRewriterTransform.ts", + "scopeId": ".TextRewriterTransform._closeRewriters", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TextRewriterTransform.ts", + "scopeId": ".TextRewriterTransform._closeRewriters", + "rule": "complexity" + }, + { + "file": "src/TextRewriterTransform.ts", + "scopeId": ".TextRewriterTransform._processText", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TextRewriterTransform.ts", + "scopeId": ".TextRewriterTransform._processText", + "rule": "complexity" + }, + { + "file": "src/TextRewriterTransform.ts", + "scopeId": ".TextRewriterTransform.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TextRewriterTransform.ts", + "scopeId": ".TextRewriterTransform.constructor", + "rule": "complexity" + }, + { + "file": "src/TextRewriterTransform.ts", + "scopeId": ".TextRewriterTransform.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/Colorize.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/NormalizeNewlinesTextRewriter.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/PrefixProxyTerminalProvider.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/PrefixProxyTerminalProvider.test.ts", + "scopeId": ".runTestsForTerminalProvider", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/PrintUtilities.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/PrintUtilities.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/PrintUtilities.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/PrintUtilities.test.ts", + "scopeId": ".testWrapWordsToLines", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/PrintUtilities.test.ts", + "scopeId": ".testWrapWordsToLines", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/ProblemCollector.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/ProblemCollector.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/ProblemCollector.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/ProblemCollector.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/ProblemCollector.test.ts", + "scopeId": ".ErrorLineMatcher.exec", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/RemoveColorsTextRewriter.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/SplitterTransform.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/SplitterTransform.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/SplitterTransform.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/SplitterTransform.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/StdioSummarizer.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/StdioSummarizer.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/Terminal.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/Terminal.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/TerminalStreamWritable.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/TerminalTable.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/TerminalTable.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/TerminalTable.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/createColorGrid.ts", + "scopeId": ".createColorGrid", + "rule": "complexity" + }, + { + "file": "src/test/createColorGrid.ts", + "scopeId": ".createColorGrid", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/write-colors.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/libraries/terminal/eslint.config.js b/libraries/terminal/eslint.config.js index f83aea7d1b7..0c0156944bc 100644 --- a/libraries/terminal/eslint.config.js +++ b/libraries/terminal/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/libraries/tree-pattern/.eslint-bulk-suppressions.json b/libraries/tree-pattern/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..0ebb4098ec9 --- /dev/null +++ b/libraries/tree-pattern/.eslint-bulk-suppressions.json @@ -0,0 +1,44 @@ +{ + "suppressions": [ + { + "file": "src/TreePattern.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TreePattern.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/TreePattern.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/TreePattern.test.ts", + "scopeId": ".tree1", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TreePattern.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/TreePattern.ts", + "scopeId": "._matchTreeRecursive", + "rule": "complexity" + }, + { + "file": "src/TreePattern.ts", + "scopeId": "._matchTreeRecursive", + "rule": "max-depth" + }, + { + "file": "src/TreePattern.ts", + "scopeId": "._matchTreeRecursive", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/libraries/tree-pattern/eslint.config.js b/libraries/tree-pattern/eslint.config.js index f83aea7d1b7..0c0156944bc 100644 --- a/libraries/tree-pattern/eslint.config.js +++ b/libraries/tree-pattern/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/libraries/ts-command-line/.eslint-bulk-suppressions.json b/libraries/ts-command-line/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..70659191f81 --- /dev/null +++ b/libraries/ts-command-line/.eslint-bulk-suppressions.json @@ -0,0 +1,739 @@ +{ + "suppressions": [ + { + "file": "src/CommandLineHelper.ts", + "scopeId": ".CommandLineHelper.isTabCompletionActionRequest", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TypeUuidLite.ts", + "scopeId": ".TypeUuid.isInstanceOf", + "rule": "complexity" + }, + { + "file": "src/parameters/BaseClasses.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/parameters/BaseClasses.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/parameters/BaseClasses.ts", + "scopeId": ".CommandLineParameterBase.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/parameters/BaseClasses.ts", + "scopeId": ".CommandLineParameterBase.constructor", + "rule": "complexity" + }, + { + "file": "src/parameters/BaseClasses.ts", + "scopeId": ".CommandLineParameterBase.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/parameters/BaseClasses.ts", + "scopeId": ".CommandLineParameterWithArgument.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/parameters/BaseClasses.ts", + "scopeId": ".CommandLineParameterWithArgument.constructor", + "rule": "complexity" + }, + { + "file": "src/parameters/CommandLineChoiceListParameter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/parameters/CommandLineChoiceListParameter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/parameters/CommandLineChoiceListParameter.ts", + "scopeId": ".CommandLineChoiceListParameter._setValue", + "rule": "complexity" + }, + { + "file": "src/parameters/CommandLineChoiceListParameter.ts", + "scopeId": ".CommandLineChoiceListParameter._setValue", + "rule": "max-depth" + }, + { + "file": "src/parameters/CommandLineChoiceListParameter.ts", + "scopeId": ".CommandLineChoiceListParameter._setValue", + "rule": "max-lines-per-function" + }, + { + "file": "src/parameters/CommandLineChoiceListParameter.ts", + "scopeId": ".CommandLineChoiceListParameter.appendToArgList", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/parameters/CommandLineChoiceListParameter.ts", + "scopeId": ".CommandLineChoiceListParameter.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/parameters/CommandLineChoiceParameter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/parameters/CommandLineChoiceParameter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/parameters/CommandLineChoiceParameter.ts", + "scopeId": ".CommandLineChoiceParameter._setValue", + "rule": "complexity" + }, + { + "file": "src/parameters/CommandLineChoiceParameter.ts", + "scopeId": ".CommandLineChoiceParameter._setValue", + "rule": "max-lines-per-function" + }, + { + "file": "src/parameters/CommandLineChoiceParameter.ts", + "scopeId": ".CommandLineChoiceParameter.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/parameters/CommandLineChoiceParameter.ts", + "scopeId": ".CommandLineChoiceParameter.constructor", + "rule": "complexity" + }, + { + "file": "src/parameters/CommandLineDefinition.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/parameters/CommandLineFlagParameter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/parameters/CommandLineFlagParameter.ts", + "scopeId": ".CommandLineFlagParameter._setValue", + "rule": "complexity" + }, + { + "file": "src/parameters/CommandLineFlagParameter.ts", + "scopeId": ".CommandLineFlagParameter._setValue", + "rule": "max-lines-per-function" + }, + { + "file": "src/parameters/CommandLineIntegerListParameter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/parameters/CommandLineIntegerListParameter.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/parameters/CommandLineIntegerListParameter.ts", + "scopeId": ".CommandLineIntegerListParameter._setValue", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/parameters/CommandLineIntegerListParameter.ts", + "scopeId": ".CommandLineIntegerListParameter._setValue", + "rule": "complexity" + }, + { + "file": "src/parameters/CommandLineIntegerListParameter.ts", + "scopeId": ".CommandLineIntegerListParameter._setValue", + "rule": "max-depth" + }, + { + "file": "src/parameters/CommandLineIntegerListParameter.ts", + "scopeId": ".CommandLineIntegerListParameter._setValue", + "rule": "max-lines-per-function" + }, + { + "file": "src/parameters/CommandLineIntegerListParameter.ts", + "scopeId": ".CommandLineIntegerListParameter.appendToArgList", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/parameters/CommandLineIntegerParameter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/parameters/CommandLineIntegerParameter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/parameters/CommandLineIntegerParameter.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/parameters/CommandLineIntegerParameter.ts", + "scopeId": ".CommandLineIntegerParameter._setValue", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/parameters/CommandLineIntegerParameter.ts", + "scopeId": ".CommandLineIntegerParameter._setValue", + "rule": "complexity" + }, + { + "file": "src/parameters/CommandLineIntegerParameter.ts", + "scopeId": ".CommandLineIntegerParameter._setValue", + "rule": "max-lines-per-function" + }, + { + "file": "src/parameters/CommandLineRemainder.ts", + "scopeId": ".CommandLineRemainder.appendToArgList", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/parameters/CommandLineStringListParameter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/parameters/CommandLineStringListParameter.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/parameters/CommandLineStringListParameter.ts", + "scopeId": ".CommandLineStringListParameter._setValue", + "rule": "complexity" + }, + { + "file": "src/parameters/CommandLineStringListParameter.ts", + "scopeId": ".CommandLineStringListParameter.appendToArgList", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/parameters/CommandLineStringParameter.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/parameters/CommandLineStringParameter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/parameters/CommandLineStringParameter.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/parameters/CommandLineStringParameter.ts", + "scopeId": ".CommandLineStringParameter._getSupplementaryNotes", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/parameters/CommandLineStringParameter.ts", + "scopeId": ".CommandLineStringParameter._setValue", + "rule": "complexity" + }, + { + "file": "src/parameters/EnvironmentVariableParser.ts", + "scopeId": ".EnvironmentVariableParser.parseAsList", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/parameters/EnvironmentVariableParser.ts", + "scopeId": ".EnvironmentVariableParser.parseAsList", + "rule": "complexity" + }, + { + "file": "src/parameters/EnvironmentVariableParser.ts", + "scopeId": ".EnvironmentVariableParser.parseAsList", + "rule": "max-depth" + }, + { + "file": "src/parameters/EnvironmentVariableParser.ts", + "scopeId": ".EnvironmentVariableParser.parseAsList", + "rule": "max-lines-per-function" + }, + { + "file": "src/providers/AliasCommandLineAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/providers/AliasCommandLineAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/providers/AliasCommandLineAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/providers/AliasCommandLineAction.ts", + "scopeId": ".AliasCommandLineAction._processParsedData", + "rule": "complexity" + }, + { + "file": "src/providers/AliasCommandLineAction.ts", + "scopeId": ".AliasCommandLineAction._registerDefinedParameters", + "rule": "complexity" + }, + { + "file": "src/providers/AliasCommandLineAction.ts", + "scopeId": ".AliasCommandLineAction._registerDefinedParameters", + "rule": "max-lines-per-function" + }, + { + "file": "src/providers/CommandLineAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/providers/CommandLineAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._defineAmbiguousParameter", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._defineAmbiguousParameter", + "rule": "complexity" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._defineParameter", + "rule": "complexity" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._defineParameter", + "rule": "max-lines-per-function" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._getParameter", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._getParameter", + "rule": "complexity" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._getParameter", + "rule": "max-lines-per-function" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._processParsedData", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._processParsedData", + "rule": "complexity" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._processParsedData", + "rule": "max-depth" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._processParsedData", + "rule": "max-lines-per-function" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._registerDefinedParameters", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._registerDefinedParameters", + "rule": "complexity" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._registerDefinedParameters", + "rule": "max-depth" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._registerDefinedParameters", + "rule": "max-lines-per-function" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._registerParameter", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._registerParameter", + "rule": "complexity" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._registerParameter", + "rule": "max-lines-per-function" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider._throwParserExitError", + "rule": "complexity" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider.getParameterStringMap", + "rule": "complexity" + }, + { + "file": "src/providers/CommandLineParameterProvider.ts", + "scopeId": ".CommandLineParameterProvider.getParameterStringMap", + "rule": "max-lines-per-function" + }, + { + "file": "src/providers/CommandLineParser.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/providers/CommandLineParser.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/providers/CommandLineParser.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/providers/CommandLineParser.ts", + "scopeId": ".CommandLineParser._validateDefinitions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/providers/CommandLineParser.ts", + "scopeId": ".CommandLineParser.addAction", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/providers/CommandLineParser.ts", + "scopeId": ".CommandLineParser.executeAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/providers/CommandLineParser.ts", + "scopeId": ".CommandLineParser.executeAsync", + "rule": "complexity" + }, + { + "file": "src/providers/CommandLineParser.ts", + "scopeId": ".CommandLineParser.executeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/providers/CommandLineParser.ts", + "scopeId": ".CommandLineParser.executeWithoutErrorHandlingAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/providers/CommandLineParser.ts", + "scopeId": ".CommandLineParser.executeWithoutErrorHandlingAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/providers/CommandLineParser.ts", + "scopeId": ".CommandLineParser.executeWithoutErrorHandlingAsync", + "rule": "complexity" + }, + { + "file": "src/providers/CommandLineParser.ts", + "scopeId": ".CommandLineParser.executeWithoutErrorHandlingAsync", + "rule": "max-depth" + }, + { + "file": "src/providers/CommandLineParser.ts", + "scopeId": ".CommandLineParser.executeWithoutErrorHandlingAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/providers/ScopedCommandLineAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/providers/ScopedCommandLineAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/providers/ScopedCommandLineAction.ts", + "scopeId": ".InternalScopedCommandLineParser.constructor", + "rule": "complexity" + }, + { + "file": "src/providers/ScopedCommandLineAction.ts", + "scopeId": ".ScopedCommandLineAction._executeAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/providers/ScopedCommandLineAction.ts", + "scopeId": ".ScopedCommandLineAction._executeAsync", + "rule": "complexity" + }, + { + "file": "src/providers/ScopedCommandLineAction.ts", + "scopeId": ".ScopedCommandLineAction._executeAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/providers/TabCompletionAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/providers/TabCompletionAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/providers/TabCompletionAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/providers/TabCompletionAction.ts", + "scopeId": ".TabCompleteAction._completeParameterValues", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/providers/TabCompletionAction.ts", + "scopeId": ".TabCompleteAction._getGlobalParameterOffset", + "rule": "complexity" + }, + { + "file": "src/providers/TabCompletionAction.ts", + "scopeId": ".TabCompleteAction._getParameterValueCompletionsAsync", + "rule": "complexity" + }, + { + "file": "src/providers/TabCompletionAction.ts", + "scopeId": ".TabCompleteAction.constructor", + "rule": "complexity" + }, + { + "file": "src/providers/TabCompletionAction.ts", + "scopeId": ".TabCompleteAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/providers/TabCompletionAction.ts", + "scopeId": ".TabCompleteAction.getCompletionsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/providers/TabCompletionAction.ts", + "scopeId": ".TabCompleteAction.getCompletionsAsync", + "rule": "complexity" + }, + { + "file": "src/providers/TabCompletionAction.ts", + "scopeId": ".TabCompleteAction.getCompletionsAsync", + "rule": "max-depth" + }, + { + "file": "src/providers/TabCompletionAction.ts", + "scopeId": ".TabCompleteAction.getCompletionsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/ActionlessParser.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/AliasedCommandLineAction.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/AliasedCommandLineAction.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/AliasedCommandLineAction.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/AmbiguousCommandLineParser.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/AmbiguousCommandLineParser.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/AmbiguousCommandLineParser.test.ts", + "scopeId": ".AbbreviationScopedAction.constructor", + "rule": "complexity" + }, + { + "file": "src/test/AmbiguousCommandLineParser.test.ts", + "scopeId": ".AmbiguousAction.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/AmbiguousCommandLineParser.test.ts", + "scopeId": ".AmbiguousScopedAction.onDefineScopedParameters", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/AmbiguousCommandLineParser.test.ts", + "scopeId": ".AmbiguousScopedAction.onExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/test/CommandLineParameter.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/CommandLineParameter.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/CommandLineParameter.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/CommandLineParameter.test.ts", + "scopeId": ".createParser", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/CommandLineParser.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/CommandLineParser.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/CommandLineRemainder.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/CommandLineRemainder.test.ts", + "scopeId": ".createParser", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/ConflictingCommandLineParser.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/ConflictingCommandLineParser.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/EndToEndTest.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/ScopedCommandLineAction.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/ScopedCommandLineAction.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/ScopedCommandLineAction.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/TabCompleteAction.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/TabCompleteAction.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/TabCompleteAction.test.ts", + "scopeId": ".getCommandLineParser", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/test-cli/PushAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/test-cli/RunAction.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/test/test-cli/WidgetCommandLine.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/libraries/ts-command-line/eslint.config.js b/libraries/ts-command-line/eslint.config.js index e54effd122a..d4ba303ef90 100644 --- a/libraries/ts-command-line/eslint.config.js +++ b/libraries/ts-command-line/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/typings-generator/.eslint-bulk-suppressions.json b/libraries/typings-generator/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..b37599a3119 --- /dev/null +++ b/libraries/typings-generator/.eslint-bulk-suppressions.json @@ -0,0 +1,194 @@ +{ + "suppressions": [ + { + "file": "src/DeclarationMap.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/DeclarationMap.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/DeclarationMap.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/DeclarationMap.ts", + "scopeId": ".ISourceMap", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/DeclarationMap.ts", + "scopeId": ".serializeDeclarationMap", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/DeclarationMap.ts", + "scopeId": ".serializeDeclarationMap", + "rule": "complexity" + }, + { + "file": "src/DeclarationMap.ts", + "scopeId": ".serializeDeclarationMap", + "rule": "max-lines-per-function" + }, + { + "file": "src/StringValuesTypingsGenerator.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/StringValuesTypingsGenerator.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/StringValuesTypingsGenerator.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/StringValuesTypingsGenerator.ts", + "scopeId": ".convertToTypingsGeneratorOptions", + "rule": "complexity" + }, + { + "file": "src/StringValuesTypingsGenerator.ts", + "scopeId": ".convertToTypingsGeneratorOptions", + "rule": "max-lines-per-function" + }, + { + "file": "src/StringValuesTypingsGenerator.ts", + "scopeId": ".convertToTypingsGeneratorOptions.parseAndGenerateTypingsOuter", + "rule": "complexity" + }, + { + "file": "src/StringValuesTypingsGenerator.ts", + "scopeId": ".convertToTypingsGeneratorOptions.parseAndGenerateTypingsOuter", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator._parseFileAndGenerateTypingsAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator._parseFileAndGenerateTypingsAsync", + "rule": "complexity" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator._parseFileAndGenerateTypingsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator._reprocessFilesAsync", + "rule": "complexity" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator._reprocessFilesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator.constructor", + "rule": "complexity" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator.runWatcherAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/TypingsGenerator.ts", + "scopeId": ".TypingsGenerator.runWatcherAsync.onChange", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/DeclarationMap.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/DeclarationMap.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/DeclarationMap.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/DeclarationMap.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/DeclarationMap.test.ts", + "scopeId": ".decodeMappings", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/DeclarationMap.test.ts", + "scopeId": ".generateAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/DeclarationMap.test.ts", + "scopeId": ".isMappedSegment", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/StringValuesTypingsGenerator.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/StringValuesTypingsGenerator.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/StringValuesTypingsGenerator.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/StringValuesTypingsGenerator.test.ts", + "scopeId": ".runTests", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/libraries/typings-generator/eslint.config.js b/libraries/typings-generator/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/libraries/typings-generator/eslint.config.js +++ b/libraries/typings-generator/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/libraries/worker-pool/.eslint-bulk-suppressions.json b/libraries/worker-pool/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..2d77f9f6b8c --- /dev/null +++ b/libraries/worker-pool/.eslint-bulk-suppressions.json @@ -0,0 +1,59 @@ +{ + "suppressions": [ + { + "file": "src/WorkerPool.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/WorkerPool.ts", + "scopeId": ".WorkerPool._createWorker", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WorkerPool.ts", + "scopeId": ".WorkerPool._createWorker", + "rule": "max-lines-per-function" + }, + { + "file": "src/WorkerPool.ts", + "scopeId": ".WorkerPool._destroyWorker", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WorkerPool.ts", + "scopeId": ".WorkerPool._destroyWorker", + "rule": "complexity" + }, + { + "file": "src/WorkerPool.ts", + "scopeId": ".WorkerPool._onError", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WorkerPool.ts", + "scopeId": ".WorkerPool.checkinWorker", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WorkerPool.ts", + "scopeId": ".WorkerPool.checkinWorker", + "rule": "complexity" + }, + { + "file": "src/WorkerPool.ts", + "scopeId": ".WorkerPool.checkoutWorkerAsync", + "rule": "complexity" + }, + { + "file": "src/WorkerPool.ts", + "scopeId": ".WorkerPool.finishAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WorkerPool.ts", + "scopeId": ".WorkerPool.finishAsync", + "rule": "complexity" + } + ] +} \ No newline at end of file diff --git a/libraries/worker-pool/eslint.config.js b/libraries/worker-pool/eslint.config.js index 87132f43292..0f47d7e24bf 100644 --- a/libraries/worker-pool/eslint.config.js +++ b/libraries/worker-pool/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/repo-scripts/doc-plugin-rush-stack/.eslint-bulk-suppressions.json b/repo-scripts/doc-plugin-rush-stack/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..dc85f9c35d9 --- /dev/null +++ b/repo-scripts/doc-plugin-rush-stack/.eslint-bulk-suppressions.json @@ -0,0 +1,24 @@ +{ + "suppressions": [ + { + "file": "src/RushStackFeature.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/RushStackFeature.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/RushStackFeature.ts", + "scopeId": ".RushStackFeature._buildNavigation", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RushStackFeature.ts", + "scopeId": ".RushStackFeature._buildNavigation", + "rule": "complexity" + } + ] +} \ No newline at end of file diff --git a/repo-scripts/doc-plugin-rush-stack/eslint.config.js b/repo-scripts/doc-plugin-rush-stack/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/repo-scripts/doc-plugin-rush-stack/eslint.config.js +++ b/repo-scripts/doc-plugin-rush-stack/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/repo-scripts/repo-toolbox/.eslint-bulk-suppressions.json b/repo-scripts/repo-toolbox/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..b8d93f2f477 --- /dev/null +++ b/repo-scripts/repo-toolbox/.eslint-bulk-suppressions.json @@ -0,0 +1,114 @@ +{ + "suppressions": [ + { + "file": "src/cli/ToolboxCommandLine.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/BumpDecoupledLocalDependencies.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/BumpDecoupledLocalDependencies.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/BumpDecoupledLocalDependencies.ts", + "scopeId": ".BumpDecoupledLocalDependencies.onExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/BumpDecoupledLocalDependencies.ts", + "scopeId": ".BumpDecoupledLocalDependencies.onExecuteAsync", + "rule": "max-depth" + }, + { + "file": "src/cli/actions/BumpDecoupledLocalDependencies.ts", + "scopeId": ".BumpDecoupledLocalDependencies.onExecuteAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/CollectProjectFilesAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/CollectProjectFilesAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/CollectProjectFilesAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/actions/CollectProjectFilesAction.ts", + "scopeId": ".CollectProjectFilesAction.onExecuteAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/CollectProjectFilesAction.ts", + "scopeId": ".CollectProjectFilesAction.onExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/CollectProjectFilesAction.ts", + "scopeId": ".CollectProjectFilesAction.onExecuteAsync", + "rule": "max-depth" + }, + { + "file": "src/cli/actions/CollectProjectFilesAction.ts", + "scopeId": ".CollectProjectFilesAction.onExecuteAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/cli/actions/CollectProjectFilesAction.ts", + "scopeId": "._getFolderItemsRecursiveAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ReadmeAction.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/cli/actions/ReadmeAction.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/cli/actions/ReadmeAction.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/cli/actions/ReadmeAction.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/cli/actions/ReadmeAction.ts", + "scopeId": ".ReadmeAction.onExecuteAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/cli/actions/ReadmeAction.ts", + "scopeId": ".ReadmeAction.onExecuteAsync", + "rule": "complexity" + }, + { + "file": "src/cli/actions/ReadmeAction.ts", + "scopeId": ".ReadmeAction.onExecuteAsync", + "rule": "max-depth" + }, + { + "file": "src/cli/actions/ReadmeAction.ts", + "scopeId": ".ReadmeAction.onExecuteAsync", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/repo-scripts/repo-toolbox/eslint.config.js b/repo-scripts/repo-toolbox/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/repo-scripts/repo-toolbox/eslint.config.js +++ b/repo-scripts/repo-toolbox/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/rigs/decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/_common.js b/rigs/decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/_common.js index 4b78d53b57d..7accf925d46 100644 --- a/rigs/decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/_common.js +++ b/rigs/decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/_common.js @@ -89,6 +89,9 @@ module.exports = { // Rationale: Including the `type` annotation in the import statement for imports // only used as types prevents the import from being emitted in the compiled output. + // strict-codegen: house style is inline type specifiers (`import { type X, Y }`), + // which also keeps import/no-duplicates satisfied; ratchet to 'error' once + // onboarding completes. '@typescript-eslint/consistent-type-imports': [ 'warn', { prefer: 'type-imports', disallowTypeAnnotations: false, fixStyle: 'inline-type-imports' } @@ -141,16 +144,21 @@ module.exports = { ], // Require `node:` protocol for imports of Node.js built-in modules + // strict-codegen: ratchet to 'error' once onboarding completes. 'import/enforce-node-protocol-usage': ['warn', 'always'], // Group imports in the following way: // 1. Built-in modules (fs, path, etc.) // 2. External modules (lodash, react, etc.) // a. `@rushstack` and `@microsoft` scoped packages - // 3. Internal modules (and other types: parent, sibling, index) + // 3. Internal modules + // 4. Parent, sibling, and index imports + // strict-codegen: alphabetize within groups and give internal/parent/sibling/index + // their own groups; ratchet to 'error' once onboarding completes. 'import/order': [ 'warn', { + alphabetize: { order: 'asc', caseInsensitive: true }, // This option ensures that the @rushstack and @microsoft packages end up in their own group distinctGroup: true, pathGroups: [ @@ -163,11 +171,7 @@ module.exports = { // Ensure the @rushstack and @microsoft packages are grouped with other external packages. By default this // option includes 'external' pathGroupsExcludedImportTypes: ['builtin', 'object'], - groups: [ - 'builtin', - 'external' - // And then everything else (internal, parent, sibling, index) - ], + groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'], 'newlines-between': 'always' } ], @@ -189,7 +193,79 @@ module.exports = { selector: 'PropertyDefinition[accessibility="private"][static=true]', message: 'Use a module-scoped variable instead of a `private static` property.' } - ] + ], + + // ==================================================================== + // STRICT CODEGEN RULES + // ==================================================================== + // An ultra-strict rule set, originally designed for newly generated packages + // (for example the rushd wire-layer packages), being rolled out to every package + // in the repository. These rules currently run at 'warn' while packages onboard + // via bulk suppressions (`eslint-bulk suppress`); they will ratchet to 'error' + // once onboarding completes. Only rules that already ship with this repository's + // ESLint toolchain (@typescript-eslint, eslint-plugin-import, and ESLint core) + // are used. See AGENTS.md for the lint policy and rollout plan. + + // Rationale: Complexity budget -- tiny functions, tiny files, shallow nesting, + // few parameters. + // strict-codegen: ratchet to 'error' + complexity: ['warn', 3], + // strict-codegen: ratchet to 'error' + 'max-depth': ['warn', 3], + // strict-codegen: ratchet to 'error' + 'max-lines-per-function': ['warn', 30], + // strict-codegen: overrides the published profile's more lenient warn at 2000 + // lines; ratchet to 'error' + 'max-lines': ['warn', 100], + // strict-codegen: ratchet to 'error' + 'max-params': ['warn', 4], + + // Rationale: Every numeric literal earns a name. (TS-aware successor of the core + // no-magic-numbers rule.) Enum members and readonly class property initializers + // are already named declarations, so they satisfy the rule's intent. Variable + // declaration initializers (`const x = 42`) are not flagged -- the declared name + // is the name. + // strict-codegen: ratchet to 'error' + '@typescript-eslint/no-magic-numbers': [ + 'warn', + { ignoreEnums: true, ignoreReadonlyClassProperties: true } + ], + + // Rationale: `??` instead of `||`/ternary nullish guards. All exemptions are + // disabled explicitly -- the library default `ignoreConditionalTests: true` would + // otherwise exempt exactly the `if`/ternary guards this rule exists to catch. + // strict-codegen: ratchet to 'error' + '@typescript-eslint/prefer-nullish-coalescing': [ + 'warn', + { + ignoreConditionalTests: false, + ignoreTernaryTests: false, + ignorePrimitives: { bigint: false, boolean: false, number: false, string: false } + } + ], + + // Rationale: Sort named members within a single import declaration. Declaration + // sorting is left to import/order (ignoreDeclarationSort) to avoid conflicts. + // strict-codegen: ratchet to 'error' + 'sort-imports': ['warn', { ignoreDeclarationSort: true, ignoreMemberSort: false }], + + // Rationale: Production source must never reach outside its own directory via + // "..". Unit tests import implementation modules relatively (repo convention), + // so test files are exempted in the test-files config entry below. + // strict-codegen: ratchet to 'error' + 'import/no-relative-parent-imports': 'warn', + + // strict-codegen: claimed from the published profile (which sets 'warn'); + // ratchet to 'error' + 'no-eval': 'warn', + + // Rationale: The @typescript-eslint extension rule subsumes the core rule + // (catches `setTimeout("code")` and friends via type information); extension + // rules must replace their base rule to avoid double-reporting. + // strict-codegen: kept at 'error' immediately, matching the published profile's + // severity for the core rule it replaces. + 'no-implied-eval': 'off', + '@typescript-eslint/no-implied-eval': 'error' } }, { @@ -212,7 +288,10 @@ module.exports = { ], rules: { 'import/order': 'off', - 'import/no-duplicates': 'off' + 'import/no-duplicates': 'off', + // strict-codegen: unit tests import implementation modules relatively (repo + // convention), so they are exempt from the production-source rule above. + 'import/no-relative-parent-imports': 'off' } } ] diff --git a/rush-plugins/rush-amazon-s3-build-cache-plugin/.eslint-bulk-suppressions.json b/rush-plugins/rush-amazon-s3-build-cache-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..1de7a78e445 --- /dev/null +++ b/rush-plugins/rush-amazon-s3-build-cache-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,304 @@ +{ + "suppressions": [ + { + "file": "src/AmazonS3BuildCacheProvider.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/AmazonS3BuildCacheProvider.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/AmazonS3BuildCacheProvider.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/AmazonS3BuildCacheProvider.ts", + "scopeId": ".AmazonS3BuildCacheProvider._getS3ClientAsync", + "rule": "complexity" + }, + { + "file": "src/AmazonS3BuildCacheProvider.ts", + "scopeId": ".AmazonS3BuildCacheProvider._getS3ClientAsync", + "rule": "max-depth" + }, + { + "file": "src/AmazonS3BuildCacheProvider.ts", + "scopeId": ".AmazonS3BuildCacheProvider._getS3ClientAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client.UriEncode", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client.UriEncode", + "rule": "complexity" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._buildSignedRequest", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._buildSignedRequest", + "rule": "complexity" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._buildSignedRequest", + "rule": "max-lines-per-function" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._getIsoDateString", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._handleGetResponseAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._handleGetResponseAsync", + "rule": "complexity" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._handleGetResponseAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._makeSignedRequestAsync", + "rule": "complexity" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._makeSignedRequestAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._makeSignedRequestAsync", + "rule": "max-params" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._sendCacheRequestWithRetriesAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._sendCacheRequestWithRetriesAsync", + "rule": "complexity" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._sendCacheRequestWithRetriesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._sendCacheRequestWithRetriesAsync.retry", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._sendCacheRequestWithRetriesAsync.retry", + "rule": "complexity" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._validateEndpoint", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._validateEndpoint", + "rule": "complexity" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".AmazonS3Client._validateEndpoint", + "rule": "max-lines-per-function" + }, + { + "file": "src/AmazonS3Client.ts", + "scopeId": ".storageRetryOptions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AmazonS3Credentials.ts", + "scopeId": ".fromAmazonEnv", + "rule": "complexity" + }, + { + "file": "src/AmazonS3Credentials.ts", + "scopeId": ".fromRushEnv", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AmazonS3Credentials.ts", + "scopeId": ".fromRushEnv", + "rule": "complexity" + }, + { + "file": "src/RushAmazonS3BuildCachePlugin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/RushAmazonS3BuildCachePlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/RushAmazonS3BuildCachePlugin.ts", + "scopeId": ".RushAmazonS3BuildCachePlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RushAmazonS3BuildCachePlugin.ts", + "scopeId": ".RushAmazonS3BuildCachePlugin.apply", + "rule": "complexity" + }, + { + "file": "src/RushAmazonS3BuildCachePlugin.ts", + "scopeId": ".RushAmazonS3BuildCachePlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/AmazonS3BuildCacheProvider.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/AmazonS3BuildCacheProvider.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/AmazonS3BuildCacheProvider.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/AmazonS3BuildCacheProvider.test.ts", + "scopeId": ".testCredentialCache", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/AmazonS3Client.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/AmazonS3Client.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/AmazonS3Client.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/AmazonS3Client.test.ts", + "scopeId": ".MockedDate.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/AmazonS3Client.test.ts", + "scopeId": ".makeFileGetRequestAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/AmazonS3Client.test.ts", + "scopeId": ".makeFileGetRequestAsync", + "rule": "max-params" + }, + { + "file": "src/test/AmazonS3Client.test.ts", + "scopeId": ".makeGetRequestAsync", + "rule": "max-params" + }, + { + "file": "src/test/AmazonS3Client.test.ts", + "scopeId": ".makeS3ClientRequestAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/AmazonS3Client.test.ts", + "scopeId": ".makeS3ClientRequestAsync", + "rule": "complexity" + }, + { + "file": "src/test/AmazonS3Client.test.ts", + "scopeId": ".makeS3ClientRequestAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/AmazonS3Client.test.ts", + "scopeId": ".makeS3ClientRequestAsync", + "rule": "max-params" + }, + { + "file": "src/test/AmazonS3Client.test.ts", + "scopeId": ".makeUploadRequestAsync", + "rule": "max-params" + }, + { + "file": "src/test/AmazonS3Client.test.ts", + "scopeId": ".registerGetTests", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/AmazonS3Client.test.ts", + "scopeId": ".registerGetTests", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/AmazonS3Client.test.ts", + "scopeId": ".registerUploadTests", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/AmazonS3Credentials.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/AmazonS3Credentials.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/AmazonS3Credentials.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/rush-plugins/rush-amazon-s3-build-cache-plugin/eslint.config.js b/rush-plugins/rush-amazon-s3-build-cache-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/rush-plugins/rush-amazon-s3-build-cache-plugin/eslint.config.js +++ b/rush-plugins/rush-amazon-s3-build-cache-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/rush-plugins/rush-azure-storage-build-cache-plugin/.eslint-bulk-suppressions.json b/rush-plugins/rush-azure-storage-build-cache-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..c0891288539 --- /dev/null +++ b/rush-plugins/rush-azure-storage-build-cache-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,204 @@ +{ + "suppressions": [ + { + "file": "src/AdoCodespacesAuthCredential.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/AdoCodespacesAuthCredential.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/AdoCodespacesAuthCredential.ts", + "scopeId": ".AdoCodespacesAuthCredential._decodeToken", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AdoCodespacesAuthCredential.ts", + "scopeId": ".AdoCodespacesAuthCredential.getToken", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AdoCodespacesAuthCredential.ts", + "scopeId": ".AdoCodespacesAuthCredential.getToken", + "rule": "complexity" + }, + { + "file": "src/AdoCodespacesAuthCredential.ts", + "scopeId": ".AdoCodespacesAuthCredential.getToken", + "rule": "max-lines-per-function" + }, + { + "file": "src/AzureAuthenticationBase.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/AzureAuthenticationBase.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/AzureAuthenticationBase.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/AzureAuthenticationBase.ts", + "scopeId": ".AzureAuthenticationBase._getCredentialAsync", + "rule": "complexity" + }, + { + "file": "src/AzureAuthenticationBase.ts", + "scopeId": ".AzureAuthenticationBase._getCredentialAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/AzureAuthenticationBase.ts", + "scopeId": ".AzureAuthenticationBase.constructor", + "rule": "complexity" + }, + { + "file": "src/AzureAuthenticationBase.ts", + "scopeId": ".AzureAuthenticationBase.tryGetCachedCredentialAsync", + "rule": "complexity" + }, + { + "file": "src/AzureAuthenticationBase.ts", + "scopeId": ".AzureAuthenticationBase.tryGetCachedCredentialAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/AzureAuthenticationBase.ts", + "scopeId": ".AzureAuthenticationBase.updateCachedCredentialInteractiveAsync", + "rule": "complexity" + }, + { + "file": "src/AzureAuthenticationBase.ts", + "scopeId": ".AzureAuthenticationBase.updateCachedCredentialInteractiveAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/AzureStorageAuthentication.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AzureStorageAuthentication.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/AzureStorageAuthentication.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/AzureStorageAuthentication.ts", + "scopeId": ".AzureStorageAuthentication._getCredentialFromTokenAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/AzureStorageBuildCacheProvider.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/AzureStorageBuildCacheProvider.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/AzureStorageBuildCacheProvider.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/AzureStorageBuildCacheProvider.ts", + "scopeId": ".AzureStorageBuildCacheProvider._getContainerClientAsync", + "rule": "complexity" + }, + { + "file": "src/AzureStorageBuildCacheProvider.ts", + "scopeId": ".AzureStorageBuildCacheProvider._getContainerClientAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/AzureStorageBuildCacheProvider.ts", + "scopeId": ".AzureStorageBuildCacheProvider._logBlobError", + "rule": "complexity" + }, + { + "file": "src/AzureStorageBuildCacheProvider.ts", + "scopeId": ".AzureStorageBuildCacheProvider._logBlobError", + "rule": "max-lines-per-function" + }, + { + "file": "src/AzureStorageBuildCacheProvider.ts", + "scopeId": ".AzureStorageBuildCacheProvider._trySetBlobDataAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AzureStorageBuildCacheProvider.ts", + "scopeId": ".AzureStorageBuildCacheProvider._trySetBlobDataAsync", + "rule": "complexity" + }, + { + "file": "src/AzureStorageBuildCacheProvider.ts", + "scopeId": ".AzureStorageBuildCacheProvider._trySetBlobDataAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/RushAzureInteractiveAuthPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/RushAzureInteractiveAuthPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/RushAzureInteractiveAuthPlugin.ts", + "scopeId": ".RushAzureInteractieAuthPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/RushAzureInteractiveAuthPlugin.ts", + "scopeId": ".RushAzureInteractieAuthPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/RushAzureInteractiveAuthPlugin.ts", + "scopeId": ".RushAzureInteractieAuthPlugin.apply.handler", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RushAzureInteractiveAuthPlugin.ts", + "scopeId": ".RushAzureInteractieAuthPlugin.apply.handler", + "rule": "complexity" + }, + { + "file": "src/RushAzureStorageBuildCachePlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/AzureStorageBuildCacheProvider.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/AzureStorageBuildCacheProvider.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/AzureStorageBuildCacheProvider.test.ts", + "scopeId": ".testCredentialCache", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/rush-plugins/rush-azure-storage-build-cache-plugin/eslint.config.js b/rush-plugins/rush-azure-storage-build-cache-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/rush-plugins/rush-azure-storage-build-cache-plugin/eslint.config.js +++ b/rush-plugins/rush-azure-storage-build-cache-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/rush-plugins/rush-bridge-cache-plugin/.eslint-bulk-suppressions.json b/rush-plugins/rush-bridge-cache-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..2260e685721 --- /dev/null +++ b/rush-plugins/rush-bridge-cache-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,49 @@ +{ + "suppressions": [ + { + "file": "src/BridgeCachePlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/BridgeCachePlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/BridgeCachePlugin.ts", + "scopeId": ".BridgeCachePlugin._getCacheAction", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/BridgeCachePlugin.ts", + "scopeId": ".BridgeCachePlugin._getCacheAction", + "rule": "complexity" + }, + { + "file": "src/BridgeCachePlugin.ts", + "scopeId": ".BridgeCachePlugin._getCacheAction", + "rule": "max-lines-per-function" + }, + { + "file": "src/BridgeCachePlugin.ts", + "scopeId": ".BridgeCachePlugin._isRequireOutputFoldersFlagSet", + "rule": "complexity" + }, + { + "file": "src/BridgeCachePlugin.ts", + "scopeId": ".BridgeCachePlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/BridgeCachePlugin.ts", + "scopeId": ".BridgeCachePlugin.apply", + "rule": "complexity" + }, + { + "file": "src/BridgeCachePlugin.ts", + "scopeId": ".BridgeCachePlugin.apply", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/rush-plugins/rush-bridge-cache-plugin/eslint.config.js b/rush-plugins/rush-bridge-cache-plugin/eslint.config.js index 87132f43292..0f47d7e24bf 100644 --- a/rush-plugins/rush-bridge-cache-plugin/eslint.config.js +++ b/rush-plugins/rush-bridge-cache-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/rush-plugins/rush-buildxl-graph-plugin/.eslint-bulk-suppressions.json b/rush-plugins/rush-buildxl-graph-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..4a736e99a35 --- /dev/null +++ b/rush-plugins/rush-buildxl-graph-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,164 @@ +{ + "suppressions": [ + { + "file": "src/DropBuildGraphPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/DropBuildGraphPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/DropBuildGraphPlugin.ts", + "scopeId": ".DropBuildGraphPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/DropBuildGraphPlugin.ts", + "scopeId": ".DropBuildGraphPlugin.apply.handleCreateOperationsForCommandAsync", + "rule": "complexity" + }, + { + "file": "src/DropBuildGraphPlugin.ts", + "scopeId": ".DropBuildGraphPlugin.apply.handleCreateOperationsForCommandAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/GraphProcessor.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/GraphProcessor.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/GraphProcessor.ts", + "scopeId": ".GraphProcessor._operationAsHashedEntry", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/GraphProcessor.ts", + "scopeId": ".GraphProcessor._operationAsHashedEntry", + "rule": "complexity" + }, + { + "file": "src/GraphProcessor.ts", + "scopeId": ".GraphProcessor._operationAsHashedEntry", + "rule": "max-lines-per-function" + }, + { + "file": "src/GraphProcessor.ts", + "scopeId": ".GraphProcessor._pruneNoOps", + "rule": "max-lines-per-function" + }, + { + "file": "src/GraphProcessor.ts", + "scopeId": ".GraphProcessor._pruneNoOps.getNonEmptyDependencies", + "rule": "complexity" + }, + { + "file": "src/GraphProcessor.ts", + "scopeId": ".GraphProcessor._pruneNoOps.getNonEmptyDependencies", + "rule": "max-depth" + }, + { + "file": "src/GraphProcessor.ts", + "scopeId": ".GraphProcessor.validateGraph", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/GraphProcessor.ts", + "scopeId": ".GraphProcessor.validateGraph", + "rule": "complexity" + }, + { + "file": "src/debugGraphFiltering.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/debugGraphFiltering.ts", + "scopeId": ".filterObjectForDebug", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/debugGraphFiltering.ts", + "scopeId": ".filterObjectForDebug", + "rule": "complexity" + }, + { + "file": "src/debugGraphFiltering.ts", + "scopeId": ".filterObjectForDebug", + "rule": "max-depth" + }, + { + "file": "src/debugGraphFiltering.ts", + "scopeId": ".filterObjectForDebug", + "rule": "max-lines-per-function" + }, + { + "file": "src/debugGraphFiltering.ts", + "scopeId": ".filterObjectForTesting", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/debugGraphFiltering.ts", + "scopeId": ".filterObjectForTesting", + "rule": "complexity" + }, + { + "file": "src/debugGraphFiltering.ts", + "scopeId": ".filterObjectForTesting", + "rule": "max-lines-per-function" + }, + { + "file": "src/dropGraph.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/dropGraph.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/dropGraph.ts", + "scopeId": ".dropGraphAsync", + "rule": "complexity" + }, + { + "file": "src/dropGraph.ts", + "scopeId": ".dropGraphAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/GraphProcessor.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/GraphProcessor.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/GraphProcessor.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/GraphProcessor.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/GraphProcessor.test.ts", + "scopeId": ".sortGraphNodes", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/rush-plugins/rush-buildxl-graph-plugin/eslint.config.js b/rush-plugins/rush-buildxl-graph-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/rush-plugins/rush-buildxl-graph-plugin/eslint.config.js +++ b/rush-plugins/rush-buildxl-graph-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/rush-plugins/rush-http-build-cache-plugin/.eslint-bulk-suppressions.json b/rush-plugins/rush-http-build-cache-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..c5832919f9a --- /dev/null +++ b/rush-plugins/rush-http-build-cache-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,149 @@ +{ + "suppressions": [ + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider._getFailureType", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider._getFailureType", + "rule": "complexity" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider._getFailureType", + "rule": "max-lines-per-function" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider._makeHttpCoreRequestAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider._makeHttpCoreRequestAsync", + "rule": "complexity" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider._makeHttpCoreRequestAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider._makeHttpRequestAsync", + "rule": "complexity" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider._reportFailure", + "rule": "complexity" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider._reportFailure", + "rule": "max-lines-per-function" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider._reportFailure", + "rule": "max-params" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider._tryGetCredentialsAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider._tryGetCredentialsAsync", + "rule": "complexity" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider._tryGetCredentialsFromCacheAsync", + "rule": "complexity" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider.constructor", + "rule": "complexity" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider.tryUploadCacheEntryFromFileAsync", + "rule": "complexity" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider.tryUploadCacheEntryFromFileAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider.updateCachedCredentialInteractiveAsync", + "rule": "complexity" + }, + { + "file": "src/HttpBuildCacheProvider.ts", + "scopeId": ".HttpBuildCacheProvider.updateCachedCredentialInteractiveAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/RushHttpBuildCachePlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/HttpBuildCacheProvider.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/HttpBuildCacheProvider.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/HttpBuildCacheProvider.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/HttpBuildCacheProvider.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/HttpBuildCacheProvider.test.ts", + "scopeId": ".FetchFnType", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/HttpBuildCacheProvider.test.ts", + "scopeId": ".StreamFetchFnType", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/rush-plugins/rush-http-build-cache-plugin/eslint.config.js b/rush-plugins/rush-http-build-cache-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/rush-plugins/rush-http-build-cache-plugin/eslint.config.js +++ b/rush-plugins/rush-http-build-cache-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/rush-plugins/rush-litewatch-plugin/.eslint-bulk-suppressions.json b/rush-plugins/rush-litewatch-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..f19cc62e395 --- /dev/null +++ b/rush-plugins/rush-litewatch-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,84 @@ +{ + "suppressions": [ + { + "file": "src/WatchManager.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/WatchManager.ts", + "scopeId": ".WatchManager._calculateCriticalPathLength", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WatchManager.ts", + "scopeId": ".WatchManager._calculateCriticalPathLength", + "rule": "complexity" + }, + { + "file": "src/WatchManager.ts", + "scopeId": ".WatchManager._clearActiveProject", + "rule": "complexity" + }, + { + "file": "src/WatchManager.ts", + "scopeId": ".WatchManager._printCompletedAndActivateSomething", + "rule": "complexity" + }, + { + "file": "src/WatchManager.ts", + "scopeId": ".WatchManager._printCompletedAndActivateSomething", + "rule": "max-depth" + }, + { + "file": "src/WatchManager.ts", + "scopeId": ".WatchManager._printCompletedAndActivateSomething", + "rule": "max-lines-per-function" + }, + { + "file": "src/WatchManager.ts", + "scopeId": ".WatchManager.writeBuildLines", + "rule": "complexity" + }, + { + "file": "src/WatchProject.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/WatchProject.ts", + "scopeId": ".WatchProject", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WatchProject.ts", + "scopeId": ".WatchProject.printBufferedLines", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WatchProject.ts", + "scopeId": ".WatchProject.reported", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WatchProject.ts", + "scopeId": ".WatchProject.setState", + "rule": "complexity" + }, + { + "file": "src/test/WatchManager.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/WatchManager.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/WatchManager.test.ts", + "scopeId": ".TestTerminalProvider.write", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/rush-plugins/rush-litewatch-plugin/eslint.config.js b/rush-plugins/rush-litewatch-plugin/eslint.config.js index 87132f43292..0f47d7e24bf 100644 --- a/rush-plugins/rush-litewatch-plugin/eslint.config.js +++ b/rush-plugins/rush-litewatch-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/rush-plugins/rush-mcp-docs-plugin/.eslint-bulk-suppressions.json b/rush-plugins/rush-mcp-docs-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..c16ef277d3f --- /dev/null +++ b/rush-plugins/rush-mcp-docs-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,14 @@ +{ + "suppressions": [ + { + "file": "src/DocsTool.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/rush-plugins/rush-mcp-docs-plugin/eslint.config.js b/rush-plugins/rush-mcp-docs-plugin/eslint.config.js index 87132f43292..0f47d7e24bf 100644 --- a/rush-plugins/rush-mcp-docs-plugin/eslint.config.js +++ b/rush-plugins/rush-mcp-docs-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/rush-plugins/rush-published-versions-json-plugin/.eslint-bulk-suppressions.json b/rush-plugins/rush-published-versions-json-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..f479e9fd266 --- /dev/null +++ b/rush-plugins/rush-published-versions-json-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,14 @@ +{ + "suppressions": [ + { + "file": "src/PublishedVersionsJsonPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/PublishedVersionsJsonPlugin.ts", + "scopeId": ".PublishedVersionsJsonPlugin.apply", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/rush-plugins/rush-published-versions-json-plugin/eslint.config.js b/rush-plugins/rush-published-versions-json-plugin/eslint.config.js index 87132f43292..0f47d7e24bf 100644 --- a/rush-plugins/rush-published-versions-json-plugin/eslint.config.js +++ b/rush-plugins/rush-published-versions-json-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/rush-plugins/rush-redis-cobuild-plugin/.eslint-bulk-suppressions.json b/rush-plugins/rush-redis-cobuild-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..531882bdbfe --- /dev/null +++ b/rush-plugins/rush-redis-cobuild-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,74 @@ +{ + "suppressions": [ + { + "file": "src/RedisCobuildLockProvider.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/RedisCobuildLockProvider.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/RedisCobuildLockProvider.ts", + "scopeId": ".RedisCobuildLockProvider", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RedisCobuildLockProvider.ts", + "scopeId": ".RedisCobuildLockProvider.acquireLockAsync", + "rule": "complexity" + }, + { + "file": "src/RedisCobuildLockProvider.ts", + "scopeId": ".RedisCobuildLockProvider.acquireLockAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/RedisCobuildLockProvider.ts", + "scopeId": ".RedisCobuildLockProvider.constructor.reconnectStrategy", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RedisCobuildLockProvider.ts", + "scopeId": ".RedisCobuildLockProvider.expandOptionsWithEnvironmentVariables", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RedisCobuildLockProvider.ts", + "scopeId": ".RedisCobuildLockProvider.expandOptionsWithEnvironmentVariables", + "rule": "complexity" + }, + { + "file": "src/RushRedisCobuildPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/RedisCobuildLockProvider.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/RedisCobuildLockProvider.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/test/RedisCobuildLockProvider.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/RedisCobuildLockProvider.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/RedisCobuildLockProvider.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/rush-plugins/rush-redis-cobuild-plugin/eslint.config.js b/rush-plugins/rush-redis-cobuild-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/rush-plugins/rush-redis-cobuild-plugin/eslint.config.js +++ b/rush-plugins/rush-redis-cobuild-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/rush-plugins/rush-resolver-cache-plugin/.eslint-bulk-suppressions.json b/rush-plugins/rush-resolver-cache-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..dcae9fd4048 --- /dev/null +++ b/rush-plugins/rush-resolver-cache-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,364 @@ +{ + "suppressions": [ + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".afterInstallAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".afterInstallAsync", + "rule": "complexity" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".afterInstallAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".afterInstallAsync", + "rule": "max-params" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".afterInstallAsync.afterExternalPackagesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".afterInstallAsync.afterExternalPackagesAsync.findNestedPackageJsonsForContextAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".afterInstallAsync.afterExternalPackagesAsync.findNestedPackageJsonsForContextAsync", + "rule": "complexity" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".afterInstallAsync.afterExternalPackagesAsync.findNestedPackageJsonsForContextAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".afterInstallAsync.afterExternalPackagesAsync.tryFindNestedPackageJsonsForContextAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".afterInstallAsync.afterExternalPackagesAsync.tryFindNestedPackageJsonsForContextAsync", + "rule": "complexity" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".afterInstallAsync.afterExternalPackagesAsync.tryFindNestedPackageJsonsForContextAsync", + "rule": "max-depth" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".afterInstallAsync.afterExternalPackagesAsync.tryFindNestedPackageJsonsForContextAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/afterInstallAsync.ts", + "scopeId": ".getPlatformInfo", + "rule": "complexity" + }, + { + "file": "src/computeResolverCacheFromLockfileAsync.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/computeResolverCacheFromLockfileAsync.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/computeResolverCacheFromLockfileAsync.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/computeResolverCacheFromLockfileAsync.ts", + "scopeId": ".computeResolverCacheFromLockfileAsync", + "rule": "complexity" + }, + { + "file": "src/computeResolverCacheFromLockfileAsync.ts", + "scopeId": ".computeResolverCacheFromLockfileAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/computeResolverCacheFromLockfileAsync.ts", + "scopeId": ".extractBundledDependencies", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/computeResolverCacheFromLockfileAsync.ts", + "scopeId": ".extractBundledDependencies", + "rule": "complexity" + }, + { + "file": "src/computeResolverCacheFromLockfileAsync.ts", + "scopeId": ".extractBundledDependencies", + "rule": "max-lines-per-function" + }, + { + "file": "src/computeResolverCacheFromLockfileAsync.ts", + "scopeId": ".isPackageCompatible", + "rule": "complexity" + }, + { + "file": "src/externals.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/helpers.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/helpers.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/helpers.ts", + "scopeId": ".createContextSerializer", + "rule": "complexity" + }, + { + "file": "src/helpers.ts", + "scopeId": ".createContextSerializer", + "rule": "max-lines-per-function" + }, + { + "file": "src/helpers.ts", + "scopeId": ".extractNameAndVersionFromKey", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/helpers.ts", + "scopeId": ".extractNameAndVersionFromKey", + "rule": "complexity" + }, + { + "file": "src/helpers.ts", + "scopeId": ".getDescriptionFileRootFromKey", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/helpers.ts", + "scopeId": ".getDescriptionFileRootFromKey", + "rule": "complexity" + }, + { + "file": "src/helpers.ts", + "scopeId": ".resolveDependencies", + "rule": "max-params" + }, + { + "file": "src/helpers.ts", + "scopeId": ".resolveDependencyKey", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/helpers.ts", + "scopeId": ".resolveDependencyKey", + "rule": "complexity" + }, + { + "file": "src/helpers.ts", + "scopeId": ".resolveDependencyKey", + "rule": "max-params" + }, + { + "file": "src/index.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/index.ts", + "scopeId": ".RushResolverCachePlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/index.ts", + "scopeId": ".RushResolverCachePlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/pnpm/depPath/common.ts", + "scopeId": ".createDepPathToFilename", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pnpm/depPath/common.ts", + "scopeId": ".createDepPathToFilename", + "rule": "complexity" + }, + { + "file": "src/pnpm/depPath/common.ts", + "scopeId": ".depPathToFilenameUnescaped", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pnpm/depPath/common.ts", + "scopeId": ".depPathToFilenameUnescaped", + "rule": "complexity" + }, + { + "file": "src/pnpm/depPath/hash.ts", + "scopeId": ".createBase32Hash", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pnpm/depPath/hash.ts", + "scopeId": ".createBase32Hash", + "rule": "complexity" + }, + { + "file": "src/pnpm/depPath/hash.ts", + "scopeId": ".createShortSha256Hash", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pnpm/depPath/v10.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pnpm/depPath/v8.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pnpm/depPath/v9.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pnpm/pnpmVersionHelpers.ts", + "scopeId": ".PnpmMajorVersion", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pnpm/pnpmVersionHelpers.ts", + "scopeId": ".getPnpmVersionHelpersAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pnpm/pnpmVersionHelpers.ts", + "scopeId": ".getPnpmVersionHelpersAsync", + "rule": "complexity" + }, + { + "file": "src/pnpm/store/v10.ts", + "scopeId": ".getStoreIndexPath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pnpm/store/v10.ts", + "scopeId": ".getStoreIndexPath", + "rule": "complexity" + }, + { + "file": "src/pnpm/store/v3.ts", + "scopeId": ".getStoreIndexPath", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/pnpm/v10.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pnpm/v8.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/pnpm/v9.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/test/computeResolverCacheFromLockfileAsync.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/computeResolverCacheFromLockfileAsync.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/computeResolverCacheFromLockfileAsync.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/computeResolverCacheFromLockfileAsync.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/computeResolverCacheFromLockfileAsync.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/computeResolverCacheFromLockfileAsync.test.ts", + "scopeId": ".afterExternalPackagesAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/helpers.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/helpers.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/test/helpers.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/helpers.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/helpers.test.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/rush-plugins/rush-resolver-cache-plugin/eslint.config.js b/rush-plugins/rush-resolver-cache-plugin/eslint.config.js index 87132f43292..0f47d7e24bf 100644 --- a/rush-plugins/rush-resolver-cache-plugin/eslint.config.js +++ b/rush-plugins/rush-resolver-cache-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/rush-plugins/rush-serve-plugin/.eslint-bulk-suppressions.json b/rush-plugins/rush-serve-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..5ed4f1306d7 --- /dev/null +++ b/rush-plugins/rush-serve-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,129 @@ +{ + "suppressions": [ + { + "file": "src/RushProjectServeConfigFile.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/RushProjectServeConfigFile.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/RushProjectServeConfigFile.ts", + "scopeId": ".RushServeConfiguration.loadProjectConfigsAsync", + "rule": "complexity" + }, + { + "file": "src/RushProjectServeConfigFile.ts", + "scopeId": ".RushServeConfiguration.loadProjectConfigsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/RushServePlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/RushServePlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/RushServePlugin.ts", + "scopeId": ".RushServePlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/api.types.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/phasedCommandHandler.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/phasedCommandHandler.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/phasedCommandHandler.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/phasedCommandHandler.ts", + "scopeId": ".phasedCommandHandler", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/phasedCommandHandler.ts", + "scopeId": ".phasedCommandHandler", + "rule": "complexity" + }, + { + "file": "src/phasedCommandHandler.ts", + "scopeId": ".phasedCommandHandler", + "rule": "max-lines-per-function" + }, + { + "file": "src/tryEnableBuildStatusWebSocketServer.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/tryEnableBuildStatusWebSocketServer.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/tryEnableBuildStatusWebSocketServer.ts", + "scopeId": ".getRepositoryIdentifier", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/tryEnableBuildStatusWebSocketServer.ts", + "scopeId": ".getRepositoryIdentifier", + "rule": "complexity" + }, + { + "file": "src/tryEnableBuildStatusWebSocketServer.ts", + "scopeId": ".tryEnableBuildStatusWebSocketServer", + "rule": "max-lines-per-function" + }, + { + "file": "src/tryEnableBuildStatusWebSocketServer.ts", + "scopeId": ".tryEnableBuildStatusWebSocketServer.connector", + "rule": "complexity" + }, + { + "file": "src/tryEnableBuildStatusWebSocketServer.ts", + "scopeId": ".tryEnableBuildStatusWebSocketServer.connector", + "rule": "max-lines-per-function" + }, + { + "file": "src/tryEnableBuildStatusWebSocketServer.ts", + "scopeId": ".tryEnableBuildStatusWebSocketServer.connector.namesToOperations", + "rule": "complexity" + }, + { + "file": "src/tryEnableBuildStatusWebSocketServer.ts", + "scopeId": ".tryEnableBuildStatusWebSocketServer.convertToOperationInfo", + "rule": "complexity" + }, + { + "file": "src/tryEnableBuildStatusWebSocketServer.ts", + "scopeId": ".tryEnableBuildStatusWebSocketServer.sendSyncMessage", + "rule": "complexity" + }, + { + "file": "src/types.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/rush-plugins/rush-serve-plugin/eslint.config.js b/rush-plugins/rush-serve-plugin/eslint.config.js index 87132f43292..0f47d7e24bf 100644 --- a/rush-plugins/rush-serve-plugin/eslint.config.js +++ b/rush-plugins/rush-serve-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); const tsdocMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/tsdoc'); diff --git a/vscode-extensions/debug-certificate-manager-vscode-extension/eslint.config.js b/vscode-extensions/debug-certificate-manager-vscode-extension/eslint.config.js index eac79367926..cf94c78493b 100644 --- a/vscode-extensions/debug-certificate-manager-vscode-extension/eslint.config.js +++ b/vscode-extensions/debug-certificate-manager-vscode-extension/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('@rushstack/heft-vscode-extension-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('@rushstack/heft-vscode-extension-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('@rushstack/heft-vscode-extension-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/vscode-extensions/debug-certificate-manager-vscode-extension/package.json b/vscode-extensions/debug-certificate-manager-vscode-extension/package.json index aa5924cbaaa..95907d01141 100644 --- a/vscode-extensions/debug-certificate-manager-vscode-extension/package.json +++ b/vscode-extensions/debug-certificate-manager-vscode-extension/package.json @@ -122,11 +122,12 @@ "tslib": "~2.8.1" }, "devDependencies": { - "@rushstack/heft-vscode-extension-rig": "workspace:*", "@rushstack/heft": "workspace:*", + "@rushstack/heft-vscode-extension-rig": "workspace:*", "@types/node": "20.17.19", "@types/vscode": "1.103.0", - "@types/webpack-env": "1.18.8" + "@types/webpack-env": "1.18.8", + "eslint": "~9.37.0" }, "sideEffects": false } diff --git a/vscode-extensions/playwright-local-browser-server-vscode-extension/eslint.config.js b/vscode-extensions/playwright-local-browser-server-vscode-extension/eslint.config.js index eac79367926..cf94c78493b 100644 --- a/vscode-extensions/playwright-local-browser-server-vscode-extension/eslint.config.js +++ b/vscode-extensions/playwright-local-browser-server-vscode-extension/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('@rushstack/heft-vscode-extension-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('@rushstack/heft-vscode-extension-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('@rushstack/heft-vscode-extension-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/vscode-extensions/playwright-local-browser-server-vscode-extension/package.json b/vscode-extensions/playwright-local-browser-server-vscode-extension/package.json index 4afa8c79323..c82cdf47e76 100644 --- a/vscode-extensions/playwright-local-browser-server-vscode-extension/package.json +++ b/vscode-extensions/playwright-local-browser-server-vscode-extension/package.json @@ -103,12 +103,13 @@ "tslib": "~2.8.1" }, "devDependencies": { - "@rushstack/heft-vscode-extension-rig": "workspace:*", - "@rushstack/heft-node-rig": "workspace:*", "@rushstack/heft": "workspace:*", + "@rushstack/heft-node-rig": "workspace:*", + "@rushstack/heft-vscode-extension-rig": "workspace:*", "@types/node": "20.17.19", "@types/vscode": "1.103.0", - "@types/webpack-env": "1.18.8" + "@types/webpack-env": "1.18.8", + "eslint": "~9.37.0" }, "sideEffects": false } diff --git a/vscode-extensions/rush-vscode-command-webview/.eslint-bulk-suppressions.json b/vscode-extensions/rush-vscode-command-webview/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..dc51c9f6204 --- /dev/null +++ b/vscode-extensions/rush-vscode-command-webview/.eslint-bulk-suppressions.json @@ -0,0 +1,199 @@ +{ + "suppressions": [ + { + "file": "src/App.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/App.tsx", + "scopeId": ".App", + "rule": "max-lines-per-function" + }, + { + "file": "src/ControlledFormComponents/ControlledComboBox.tsx", + "scopeId": ".ControlledComboBox", + "rule": "max-lines-per-function" + }, + { + "file": "src/ControlledFormComponents/ControlledTextFieldArray.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/ControlledFormComponents/ControlledTextFieldArray.tsx", + "scopeId": ".ControlledTextFieldArray", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ControlledFormComponents/ControlledTextFieldArray.tsx", + "scopeId": ".ControlledTextFieldArray", + "rule": "max-lines-per-function" + }, + { + "file": "src/ControlledFormComponents/interface.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/ParameterView/ParameterForm/Watcher.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/ParameterView/ParameterForm/index.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/ParameterView/ParameterForm/index.tsx", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ParameterView/ParameterForm/index.tsx", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/ParameterView/ParameterForm/index.tsx", + "scopeId": ".ParameterForm", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ParameterView/ParameterForm/index.tsx", + "scopeId": ".ParameterForm", + "rule": "complexity" + }, + { + "file": "src/ParameterView/ParameterForm/index.tsx", + "scopeId": ".ParameterForm", + "rule": "max-lines-per-function" + }, + { + "file": "src/ParameterView/ParameterNav.tsx", + "scopeId": ".ParameterNav", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ParameterView/ParameterNav.tsx", + "scopeId": ".ParameterNav", + "rule": "complexity" + }, + { + "file": "src/ParameterView/ParameterNav.tsx", + "scopeId": ".ParameterNav", + "rule": "max-lines-per-function" + }, + { + "file": "src/ParameterView/index.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/ParameterView/index.tsx", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/Toolbar/RunButton.tsx", + "scopeId": ".RunButton", + "rule": "complexity" + }, + { + "file": "src/Toolbar/SearchBar.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/Toolbar/index.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/components/IconButton.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/entry.tsx", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/hooks/parametersFormScroll.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/hooks/parametersFormScroll.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/hooks/parametersFormScroll.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/hooks/parametersFormScroll.ts", + "scopeId": ".useScrollableElement", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/hooks/parametersFormScroll.ts", + "scopeId": ".useScrollableElement", + "rule": "complexity" + }, + { + "file": "src/hooks/parametersFormScroll.ts", + "scopeId": ".useScrollableElement", + "rule": "max-lines-per-function" + }, + { + "file": "src/store/index.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/store/slices/parameter.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/store/slices/parameter.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/store/slices/parameter.ts", + "scopeId": ".patchStateByFormValues", + "rule": "complexity" + }, + { + "file": "src/store/slices/parameter.ts", + "scopeId": ".patchStateByFormValues", + "rule": "max-lines-per-function" + }, + { + "file": "src/store/slices/parameter.ts", + "scopeId": ".useArgsTextList", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/store/slices/parameter.ts", + "scopeId": ".useArgsTextList", + "rule": "complexity" + }, + { + "file": "src/store/slices/parameter.ts", + "scopeId": ".useParameterArgs", + "rule": "complexity" + }, + { + "file": "src/store/slices/ui.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/vscode-extensions/rush-vscode-command-webview/eslint.config.js b/vscode-extensions/rush-vscode-command-webview/eslint.config.js index d19f4f2a29b..871f6478f42 100644 --- a/vscode-extensions/rush-vscode-command-webview/eslint.config.js +++ b/vscode-extensions/rush-vscode-command-webview/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-web-rig/profiles/app/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const webAppProfile = require('local-web-rig/profiles/app/includes/eslint/flat/profile/web-app'); const friendlyLocalsMixin = require('local-web-rig/profiles/app/includes/eslint/flat/mixins/friendly-locals'); diff --git a/vscode-extensions/rush-vscode-extension/eslint.config.js b/vscode-extensions/rush-vscode-extension/eslint.config.js index eac79367926..cf94c78493b 100644 --- a/vscode-extensions/rush-vscode-extension/eslint.config.js +++ b/vscode-extensions/rush-vscode-extension/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('@rushstack/heft-vscode-extension-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('@rushstack/heft-vscode-extension-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('@rushstack/heft-vscode-extension-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/vscode-extensions/vscode-shared/eslint.config.js b/vscode-extensions/vscode-shared/eslint.config.js index 006cb82d1c0..90a39e3521b 100644 --- a/vscode-extensions/vscode-shared/eslint.config.js +++ b/vscode-extensions/vscode-shared/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('@rushstack/heft-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('@rushstack/heft-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('@rushstack/heft-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/vscode-extensions/vscode-shared/package.json b/vscode-extensions/vscode-shared/package.json index afc7acdb9fd..ea7c5526721 100644 --- a/vscode-extensions/vscode-shared/package.json +++ b/vscode-extensions/vscode-shared/package.json @@ -20,9 +20,10 @@ "@rushstack/terminal": "workspace:*" }, "devDependencies": { - "@rushstack/heft-node-rig": "workspace:*", "@rushstack/heft": "workspace:*", + "@rushstack/heft-node-rig": "workspace:*", "@types/node": "20.17.19", - "@types/vscode": "1.103.0" + "@types/vscode": "1.103.0", + "eslint": "~9.37.0" } } diff --git a/webpack/hashed-folder-copy-plugin/.eslint-bulk-suppressions.json b/webpack/hashed-folder-copy-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..4f221ab93a6 --- /dev/null +++ b/webpack/hashed-folder-copy-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,149 @@ +{ + "suppressions": [ + { + "file": "src/HashedFolderCopyPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/HashedFolderCopyPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/HashedFolderCopyPlugin.ts", + "scopeId": ".HashedFolderCopyPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/HashedFolderCopyPlugin.ts", + "scopeId": ".HashedFolderCopyPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/HashedFolderCopyPlugin.ts", + "scopeId": ".HashedFolderCopyPlugin.apply.handler", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/HashedFolderCopyPlugin.ts", + "scopeId": ".HashedFolderCopyPlugin.apply.handler", + "rule": "complexity" + }, + { + "file": "src/HashedFolderCopyPlugin.ts", + "scopeId": ".HashedFolderCopyPlugin.apply.handler", + "rule": "max-depth" + }, + { + "file": "src/HashedFolderCopyPlugin.ts", + "scopeId": ".HashedFolderCopyPlugin.apply.handler", + "rule": "max-lines-per-function" + }, + { + "file": "src/HashedFolderDependency.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/HashedFolderDependency.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/HashedFolderDependency.ts", + "scopeId": "._getHashedFolderDependencyForWebpackInstance", + "rule": "max-lines-per-function" + }, + { + "file": "src/HashedFolderDependency.ts", + "scopeId": "._getHashedFolderDependencyForWebpackInstance.HashedFolderDependency._collectAssetsAndGetExpressionAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/HashedFolderDependency.ts", + "scopeId": "._getHashedFolderDependencyForWebpackInstance.HashedFolderDependency._collectAssetsAndGetExpressionAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/HashedFolderDependency.ts", + "scopeId": "._getHashedFolderDependencyForWebpackInstance.HashedFolderDependency._collectAssetsAndGetExpressionAsync", + "rule": "complexity" + }, + { + "file": "src/HashedFolderDependency.ts", + "scopeId": "._getHashedFolderDependencyForWebpackInstance.HashedFolderDependency._collectAssetsAndGetExpressionAsync", + "rule": "max-depth" + }, + { + "file": "src/HashedFolderDependency.ts", + "scopeId": "._getHashedFolderDependencyForWebpackInstance.HashedFolderDependency._collectAssetsAndGetExpressionAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/HashedFolderDependency.ts", + "scopeId": "._getHashedFolderDependencyForWebpackInstance.HashedFolderDependency.processAssetsAsync", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/HashedFolderDependency.ts", + "scopeId": "._getHashedFolderDependencyForWebpackInstance.HashedFolderDependencyTemplate.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/HashedFolderCopyPlugin.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/HashedFolderCopyPlugin.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/HashedFolderCopyPlugin.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/HashedFolderCopyPlugin.test.ts", + "scopeId": ".enumerateFilesAsync", + "rule": "complexity" + }, + { + "file": "src/test/HashedFolderCopyPlugin.test.ts", + "scopeId": ".runTestAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/webpackTypes.ts", + "scopeId": ".DependencyTemplateContext", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/webpackTypes.ts", + "scopeId": ".ObjectDeserializerContext", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/webpackTypes.ts", + "scopeId": ".ObjectSerializerContext", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/webpackTypes.ts", + "scopeId": ".ResolverWithOptions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/webpackTypes.ts", + "scopeId": ".UpdateHashContextDependency", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/webpackTypes.ts", + "scopeId": ".WebpackHash", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/webpack/hashed-folder-copy-plugin/eslint.config.js b/webpack/hashed-folder-copy-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/webpack/hashed-folder-copy-plugin/eslint.config.js +++ b/webpack/hashed-folder-copy-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/webpack/loader-load-themed-styles/.eslint-bulk-suppressions.json b/webpack/loader-load-themed-styles/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..b176dd2ef86 --- /dev/null +++ b/webpack/loader-load-themed-styles/.eslint-bulk-suppressions.json @@ -0,0 +1,29 @@ +{ + "suppressions": [ + { + "file": "src/LoadThemedStylesLoader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/LoadThemedStylesLoader.ts", + "scopeId": ".LoadThemedStylesLoader.pitch", + "rule": "complexity" + }, + { + "file": "src/test/LoadThemedStylesLoader.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/LoadThemedStylesLoader.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/LoadThemedStylesLoader.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/webpack/loader-load-themed-styles/eslint.config.js b/webpack/loader-load-themed-styles/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/webpack/loader-load-themed-styles/eslint.config.js +++ b/webpack/loader-load-themed-styles/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/webpack/loader-raw-script/.eslint-bulk-suppressions.json b/webpack/loader-raw-script/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..ad1a150ca8b --- /dev/null +++ b/webpack/loader-raw-script/.eslint-bulk-suppressions.json @@ -0,0 +1,9 @@ +{ + "suppressions": [ + { + "file": "src/test/RawScriptLoader.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/webpack/loader-raw-script/eslint.config.js b/webpack/loader-raw-script/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/webpack/loader-raw-script/eslint.config.js +++ b/webpack/loader-raw-script/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/webpack/preserve-dynamic-require-plugin/.eslint-bulk-suppressions.json b/webpack/preserve-dynamic-require-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..ec1bf88322d --- /dev/null +++ b/webpack/preserve-dynamic-require-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,29 @@ +{ + "suppressions": [ + { + "file": "src/index.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/index.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/index.test.ts", + "scopeId": ".readdir", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/index.ts", + "scopeId": ".PreserveDynamicRequireWebpackPlugin.apply.processDependencies", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/index.ts", + "scopeId": ".PreserveDynamicRequireWebpackPlugin.apply.processDependencies", + "rule": "complexity" + } + ] +} \ No newline at end of file diff --git a/webpack/preserve-dynamic-require-plugin/eslint.config.js b/webpack/preserve-dynamic-require-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/webpack/preserve-dynamic-require-plugin/eslint.config.js +++ b/webpack/preserve-dynamic-require-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/webpack/set-webpack-public-path-plugin/.eslint-bulk-suppressions.json b/webpack/set-webpack-public-path-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..e7425d746d3 --- /dev/null +++ b/webpack/set-webpack-public-path-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,129 @@ +{ + "suppressions": [ + { + "file": "src/SetPublicPathCurrentScriptPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/SetPublicPathCurrentScriptPlugin.ts", + "scopeId": ".CodeGenerationResults", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SetPublicPathCurrentScriptPlugin.ts", + "scopeId": ".SetPublicPathCurrentScriptPlugin._applyCompilation", + "rule": "complexity" + }, + { + "file": "src/SetPublicPathCurrentScriptPlugin.ts", + "scopeId": ".SetPublicPathCurrentScriptPlugin._applyCompilation", + "rule": "max-lines-per-function" + }, + { + "file": "src/SetPublicPathPlugin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/SetPublicPathPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/SetPublicPathPlugin.ts", + "scopeId": ".SetPublicPathPlugin._applyCompilation", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/SetPublicPathPlugin.ts", + "scopeId": ".SetPublicPathPlugin._applyCompilation", + "rule": "complexity" + }, + { + "file": "src/SetPublicPathPlugin.ts", + "scopeId": ".SetPublicPathPlugin._applyCompilation", + "rule": "max-depth" + }, + { + "file": "src/SetPublicPathPlugin.ts", + "scopeId": ".SetPublicPathPlugin._applyCompilation", + "rule": "max-lines-per-function" + }, + { + "file": "src/SetPublicPathPlugin.ts", + "scopeId": ".SetPublicPathPlugin._applyCompilation.SetPublicPathRuntimeModule.generate", + "rule": "complexity" + }, + { + "file": "src/SetPublicPathPlugin.ts", + "scopeId": ".SetPublicPathPlugin._applyCompilation.SetPublicPathRuntimeModule.generate", + "rule": "max-lines-per-function" + }, + { + "file": "src/SetPublicPathPlugin.ts", + "scopeId": ".SetPublicPathPlugin.constructor", + "rule": "complexity" + }, + { + "file": "src/SetPublicPathPluginBase.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/SetPublicPathPluginBase.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/SetPublicPathPluginBase.ts", + "scopeId": ".SetPublicPathPluginBase.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/codeGenerator.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/codeGenerator.ts", + "scopeId": ".getSetPublicPathCode", + "rule": "complexity" + }, + { + "file": "src/codeGenerator.ts", + "scopeId": ".getSetPublicPathCode", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/SetPublicPathPlugin.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/testBase.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/testBase.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/testBase.ts", + "scopeId": ".testForPlugin", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/testBase.ts", + "scopeId": ".testForPlugin.testForLibraryType", + "rule": "complexity" + }, + { + "file": "src/test/testBase.ts", + "scopeId": ".testForPlugin.testForLibraryType", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/webpack/set-webpack-public-path-plugin/eslint.config.js b/webpack/set-webpack-public-path-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/webpack/set-webpack-public-path-plugin/eslint.config.js +++ b/webpack/set-webpack-public-path-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/webpack/webpack-deep-imports-plugin/.eslint-bulk-suppressions.json b/webpack/webpack-deep-imports-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..07104e5d9e6 --- /dev/null +++ b/webpack/webpack-deep-imports-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,74 @@ +{ + "suppressions": [ + { + "file": "src/DeepImportsPlugin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/DeepImportsPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/DeepImportsPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/DeepImportsPlugin.ts", + "scopeId": ".DeepImportsPlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/DeepImportsPlugin.ts", + "scopeId": ".DeepImportsPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/DeepImportsPlugin.ts", + "scopeId": ".DeepImportsPlugin.apply", + "rule": "max-depth" + }, + { + "file": "src/DeepImportsPlugin.ts", + "scopeId": ".DeepImportsPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/DeepImportsPlugin.ts", + "scopeId": ".DeepImportsPlugin.apply.processChunks", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/DeepImportsPlugin.ts", + "scopeId": ".DeepImportsPlugin.apply.processChunks", + "rule": "complexity" + }, + { + "file": "src/DeepImportsPlugin.ts", + "scopeId": ".DeepImportsPlugin.apply.processChunks", + "rule": "max-depth" + }, + { + "file": "src/DeepImportsPlugin.ts", + "scopeId": ".DeepImportsPlugin.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/DeepImportsPlugin.ts", + "scopeId": ".DeepImportsPlugin.constructor", + "rule": "complexity" + }, + { + "file": "src/DeepImportsPlugin.ts", + "scopeId": ".DeepImportsPlugin.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/DeepImportsPlugin.ts", + "scopeId": ".countSlashes", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/webpack/webpack-deep-imports-plugin/eslint.config.js b/webpack/webpack-deep-imports-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/webpack/webpack-deep-imports-plugin/eslint.config.js +++ b/webpack/webpack-deep-imports-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/webpack/webpack-embedded-dependencies-plugin/.eslint-bulk-suppressions.json b/webpack/webpack-embedded-dependencies-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..b2e114e14a9 --- /dev/null +++ b/webpack/webpack-embedded-dependencies-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,89 @@ +{ + "suppressions": [ + { + "file": "src/EmbeddedDependenciesWebpackPlugin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/EmbeddedDependenciesWebpackPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/EmbeddedDependenciesWebpackPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/EmbeddedDependenciesWebpackPlugin.ts", + "scopeId": ".EmbeddedDependenciesWebpackPlugin._emitWebpackError", + "rule": "complexity" + }, + { + "file": "src/EmbeddedDependenciesWebpackPlugin.ts", + "scopeId": ".EmbeddedDependenciesWebpackPlugin._getLicenseFilePathAsync", + "rule": "complexity" + }, + { + "file": "src/EmbeddedDependenciesWebpackPlugin.ts", + "scopeId": ".EmbeddedDependenciesWebpackPlugin._getLicenseFilePathAsync.InputFileSystemReadDirResults", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/EmbeddedDependenciesWebpackPlugin.ts", + "scopeId": ".EmbeddedDependenciesWebpackPlugin._parseCopyright", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/EmbeddedDependenciesWebpackPlugin.ts", + "scopeId": ".EmbeddedDependenciesWebpackPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/EmbeddedDependenciesWebpackPlugin.ts", + "scopeId": ".EmbeddedDependenciesWebpackPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/EmbeddedDependenciesWebpackPlugin.ts", + "scopeId": ".EmbeddedDependenciesWebpackPlugin.constructor", + "rule": "complexity" + }, + { + "file": "src/EmbeddedDependenciesWebpackPlugin.ts", + "scopeId": ".parseLicense", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/EmbeddedDependenciesWebpackPlugin.ts", + "scopeId": ".parseLicense", + "rule": "complexity" + }, + { + "file": "src/test/WebpackEmbeddedDependenciesPlugin.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/WebpackEmbeddedDependenciesPlugin.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/WebpackEmbeddedDependenciesPlugin.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/WebpackEmbeddedDependenciesPlugin.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/WebpackEmbeddedDependenciesPlugin.test.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/webpack/webpack-embedded-dependencies-plugin/eslint.config.js b/webpack/webpack-embedded-dependencies-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/webpack/webpack-embedded-dependencies-plugin/eslint.config.js +++ b/webpack/webpack-embedded-dependencies-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/webpack/webpack-plugin-utilities/.eslint-bulk-suppressions.json b/webpack/webpack-plugin-utilities/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..247d65271c7 --- /dev/null +++ b/webpack/webpack-plugin-utilities/.eslint-bulk-suppressions.json @@ -0,0 +1,79 @@ +{ + "suppressions": [ + { + "file": "src/Testing.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/Testing.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/Testing.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/Testing.ts", + "scopeId": "._processAndHandleStatsErrorsAndWarnings", + "rule": "complexity" + }, + { + "file": "src/Testing.ts", + "scopeId": "._processAndHandleStatsErrorsAndWarnings", + "rule": "max-depth" + }, + { + "file": "src/Testing.ts", + "scopeId": "._processAndHandleStatsErrorsAndWarnings", + "rule": "max-lines-per-function" + }, + { + "file": "src/Testing.ts", + "scopeId": ".getTestingWebpackCompilerAsync", + "rule": "complexity" + }, + { + "file": "src/Testing.ts", + "scopeId": ".getTestingWebpackCompilerAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/evaluateConstantEstreeExpression.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/evaluateConstantEstreeExpression.ts", + "scopeId": ".evaluateConstantEstreeExpression", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/evaluateConstantEstreeExpression.ts", + "scopeId": ".evaluateConstantEstreeExpression", + "rule": "complexity" + }, + { + "file": "src/evaluateConstantEstreeExpression.ts", + "scopeId": ".evaluateConstantEstreeExpression", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/evaluateConstantEstreeExpression.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/evaluateConstantEstreeExpression.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/evaluateConstantEstreeExpression.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/webpack/webpack-plugin-utilities/eslint.config.js b/webpack/webpack-plugin-utilities/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/webpack/webpack-plugin-utilities/eslint.config.js +++ b/webpack/webpack-plugin-utilities/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/webpack/webpack-workspace-resolve-plugin/.eslint-bulk-suppressions.json b/webpack/webpack-workspace-resolve-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..3b961c03bc0 --- /dev/null +++ b/webpack/webpack-workspace-resolve-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,184 @@ +{ + "suppressions": [ + { + "file": "src/KnownDescriptionFilePlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/KnownDescriptionFilePlugin.ts", + "scopeId": ".KnownDescriptionFilePlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/KnownDescriptionFilePlugin.ts", + "scopeId": ".KnownDescriptionFilePlugin.apply", + "rule": "complexity" + }, + { + "file": "src/KnownDescriptionFilePlugin.ts", + "scopeId": ".KnownDescriptionFilePlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/KnownDescriptionFilePlugin.ts", + "scopeId": ".ResolveRequest", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/KnownPackageDependenciesPlugin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/KnownPackageDependenciesPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/KnownPackageDependenciesPlugin.ts", + "scopeId": ".KnownPackageDependenciesPlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/KnownPackageDependenciesPlugin.ts", + "scopeId": ".KnownPackageDependenciesPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/KnownPackageDependenciesPlugin.ts", + "scopeId": ".KnownPackageDependenciesPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/KnownPackageDependenciesPlugin.ts", + "scopeId": ".ResolveRequest", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WorkspaceLayoutCache.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/WorkspaceLayoutCache.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/WorkspaceLayoutCache.ts", + "scopeId": ".WorkspaceLayoutCache.constructor", + "rule": "complexity" + }, + { + "file": "src/WorkspaceLayoutCache.ts", + "scopeId": ".WorkspaceLayoutCache.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/WorkspaceLayoutCache.ts", + "scopeId": ".WorkspaceLayoutCache.constructor.ResolveContext.descriptionFileRoot", + "rule": "complexity" + }, + { + "file": "src/WorkspaceLayoutCache.ts", + "scopeId": ".WorkspaceLayoutCache.constructor.ResolveContext.findDependency", + "rule": "complexity" + }, + { + "file": "src/WorkspaceResolvePlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/WorkspaceResolvePlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/WorkspaceResolvePlugin.ts", + "scopeId": ".WorkspaceResolvePlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/WorkspaceResolvePlugin.ts", + "scopeId": ".WorkspaceResolvePlugin.apply.handler", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/KnownDescriptionFilePlugin.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/KnownDescriptionFilePlugin.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/KnownDescriptionFilePlugin.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/KnownDescriptionFilePlugin.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/KnownPackageDependenciesPlugin.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/KnownPackageDependenciesPlugin.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/KnownPackageDependenciesPlugin.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/createResolveForTests.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/createResolveForTests.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/createResolveForTests.ts", + "scopeId": ".ResolveCallback", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/createResolveForTests.ts", + "scopeId": ".ResolveContext", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/createResolveForTests.ts", + "scopeId": ".ResolveRequest", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/createResolveForTests.ts", + "scopeId": ".createResolveForTests", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/createResolveForTests.ts", + "scopeId": ".createResolveForTests", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/createResolveForTests.ts", + "scopeId": ".createResolveForTests.doResolve", + "rule": "max-params" + } + ] +} \ No newline at end of file diff --git a/webpack/webpack-workspace-resolve-plugin/eslint.config.js b/webpack/webpack-workspace-resolve-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/webpack/webpack-workspace-resolve-plugin/eslint.config.js +++ b/webpack/webpack-workspace-resolve-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/webpack/webpack4-localization-plugin/.eslint-bulk-suppressions.json b/webpack/webpack4-localization-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..883fb01d1da --- /dev/null +++ b/webpack/webpack4-localization-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,304 @@ +{ + "suppressions": [ + { + "file": "src/AssetProcessor.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".AssetProcessor.processLocalizedAsset", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".AssetProcessor.processLocalizedAsset", + "rule": "max-lines-per-function" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".AssetProcessor.processNonLocalizedAsset", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".AssetProcessor.processNonLocalizedAsset", + "rule": "max-lines-per-function" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._getJsonpFunction", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._getJsonpFunction", + "rule": "complexity" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._getJsonpFunction", + "rule": "max-lines-per-function" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._parseStringToReconstructionSequence", + "rule": "complexity" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._parseStringToReconstructionSequence", + "rule": "max-lines-per-function" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._parseStringToReconstructionSequence.dynamicElement", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._reconstructLocalized", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._reconstructLocalized", + "rule": "complexity" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._reconstructLocalized", + "rule": "max-depth" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._reconstructLocalized", + "rule": "max-lines-per-function" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._reconstructLocalized", + "rule": "max-params" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._reconstructNonLocalized", + "rule": "complexity" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._reconstructNonLocalized", + "rule": "max-lines-per-function" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin._addLocFile", + "rule": "complexity" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin._addLocFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin._chunkHasLocalizedModules", + "rule": "complexity" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin._chunkHasLocalizedModules", + "rule": "max-depth" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin._initializeAndValidateOptions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin._initializeAndValidateOptions", + "rule": "complexity" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin._initializeAndValidateOptions", + "rule": "max-depth" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin._initializeAndValidateOptions", + "rule": "max-lines-per-function" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.addDefaultLocFile", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.addDefaultLocFile", + "rule": "complexity" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.addDefaultLocFile", + "rule": "max-depth" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.addDefaultLocFile", + "rule": "max-lines-per-function" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.apply", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.apply", + "rule": "max-depth" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.apply.processChunkJsFile", + "rule": "complexity" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.constructor", + "rule": "complexity" + }, + { + "file": "src/WebpackConfigurationUpdater.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/WebpackConfigurationUpdater.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/WebpackConfigurationUpdater.ts", + "scopeId": "._addLoadersForLocFiles", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/WebpackConfigurationUpdater.ts", + "scopeId": "._addRulesToConfiguration", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/WebpackConfigurationUpdater.ts", + "scopeId": "._tryUpdateLocaleTokenInPublicPathPlugin", + "rule": "complexity" + }, + { + "file": "src/WebpackConfigurationUpdater.ts", + "scopeId": "._tryUpdateLocaleTokenInPublicPathPlugin", + "rule": "max-depth" + }, + { + "file": "src/WebpackConfigurationUpdater.ts", + "scopeId": "._tryUpdateSourceMapFilename", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/interfaces.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/interfaces.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/loaders/InPlaceLocFileLoader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/loaders/InPlaceLocFileLoader.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/loaders/LoaderFactory.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/loaders/LocLoader.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/loaders/LocLoader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/loaders/LocLoader.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/loaders/LocLoader.ts", + "scopeId": ".", + "rule": "sort-imports" + } + ] +} \ No newline at end of file diff --git a/webpack/webpack4-localization-plugin/eslint.config.js b/webpack/webpack4-localization-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/webpack/webpack4-localization-plugin/eslint.config.js +++ b/webpack/webpack4-localization-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/webpack/webpack4-module-minifier-plugin/.eslint-bulk-suppressions.json b/webpack/webpack4-module-minifier-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..a31966ae1c2 --- /dev/null +++ b/webpack/webpack4-module-minifier-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,319 @@ +{ + "suppressions": [ + { + "file": "src/AsyncImportCompressionPlugin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/AsyncImportCompressionPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/AsyncImportCompressionPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/AsyncImportCompressionPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/AsyncImportCompressionPlugin.ts", + "scopeId": ".AsyncImportCompressionPlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AsyncImportCompressionPlugin.ts", + "scopeId": ".AsyncImportCompressionPlugin.apply", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/AsyncImportCompressionPlugin.ts", + "scopeId": ".AsyncImportCompressionPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/AsyncImportCompressionPlugin.ts", + "scopeId": ".AsyncImportCompressionPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/AsyncImportCompressionPlugin.ts", + "scopeId": ".AsyncImportCompressionPlugin.apply.customTemplate.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AsyncImportCompressionPlugin.ts", + "scopeId": ".getImportTypeExpression", + "rule": "complexity" + }, + { + "file": "src/AsyncImportCompressionPlugin.ts", + "scopeId": ".needChunkOnDemandLoadingCode", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/Constants.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/GenerateLicenseFileForAsset.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/GenerateLicenseFileForAsset.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/GenerateLicenseFileForAsset.ts", + "scopeId": ".getAllComments", + "rule": "complexity" + }, + { + "file": "src/GenerateLicenseFileForAsset.ts", + "scopeId": ".getAllComments", + "rule": "max-depth" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply", + "rule": "max-depth" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply.minifyModule", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply.minifyModule", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply.minifyModule", + "rule": "complexity" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply.minifyModule", + "rule": "max-lines-per-function" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply.onFileMinified", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.constructor", + "rule": "complexity" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.constructor", + "rule": "max-lines-per-function" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".defaultRehydrateAssets", + "rule": "complexity" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".stringifyIdSortPredicate", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ModuleMinifierPlugin.types.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ParallelCompiler.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ParallelCompiler.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ParallelCompiler.ts", + "scopeId": ".formatTime", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ParallelCompiler.ts", + "scopeId": ".formatTime", + "rule": "complexity" + }, + { + "file": "src/ParallelCompiler.ts", + "scopeId": ".runParallel", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ParallelCompiler.ts", + "scopeId": ".runParallel", + "rule": "complexity" + }, + { + "file": "src/ParallelCompiler.ts", + "scopeId": ".runParallel", + "rule": "max-lines-per-function" + }, + { + "file": "src/PortableMinifierIdsPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/PortableMinifierIdsPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/PortableMinifierIdsPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/PortableMinifierIdsPlugin.ts", + "scopeId": ".PortableMinifierModuleIdsPlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/PortableMinifierIdsPlugin.ts", + "scopeId": ".PortableMinifierModuleIdsPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/PortableMinifierIdsPlugin.ts", + "scopeId": ".PortableMinifierModuleIdsPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/RehydrateAsset.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/RehydrateAsset.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/RehydrateAsset.ts", + "scopeId": ".handleExternals", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RehydrateAsset.ts", + "scopeId": ".handleExternals", + "rule": "complexity" + }, + { + "file": "src/RehydrateAsset.ts", + "scopeId": ".rehydrateAsset", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RehydrateAsset.ts", + "scopeId": ".rehydrateAsset", + "rule": "complexity" + }, + { + "file": "src/RehydrateAsset.ts", + "scopeId": ".rehydrateAsset", + "rule": "max-depth" + }, + { + "file": "src/RehydrateAsset.ts", + "scopeId": ".rehydrateAsset", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/RehydrateAsset.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/RehydrateAsset.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/RehydrateAsset.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/RehydrateAsset.test.ts", + "scopeId": ".asset", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/workerPool/WebpackWorker.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/workerPool/WebpackWorker.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/workerPool/WebpackWorker.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/workerPool/WebpackWorker.ts", + "scopeId": ".processTaskAsync", + "rule": "complexity" + }, + { + "file": "src/workerPool/WebpackWorker.ts", + "scopeId": ".processTaskAsync", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/webpack/webpack4-module-minifier-plugin/eslint.config.js b/webpack/webpack4-module-minifier-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/webpack/webpack4-module-minifier-plugin/eslint.config.js +++ b/webpack/webpack4-module-minifier-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/webpack/webpack5-load-themed-styles-loader/.eslint-bulk-suppressions.json b/webpack/webpack5-load-themed-styles-loader/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..7d8c4cf0fb8 --- /dev/null +++ b/webpack/webpack5-load-themed-styles-loader/.eslint-bulk-suppressions.json @@ -0,0 +1,44 @@ +{ + "suppressions": [ + { + "file": "src/index.ts", + "scopeId": ".pitch", + "rule": "complexity" + }, + { + "file": "src/index.ts", + "scopeId": ".pitch", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/LoadThemedStylesLoader.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/LoadThemedStylesLoader.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/LoadThemedStylesLoader.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/LoadThemedStylesLoader.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/testData/getCompiler.ts", + "scopeId": ".getCompiler", + "rule": "complexity" + }, + { + "file": "src/test/testData/getCompiler.ts", + "scopeId": ".getCompiler", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/webpack/webpack5-load-themed-styles-loader/eslint.config.js b/webpack/webpack5-load-themed-styles-loader/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/webpack/webpack5-load-themed-styles-loader/eslint.config.js +++ b/webpack/webpack5-load-themed-styles-loader/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/webpack/webpack5-localization-plugin/.eslint-bulk-suppressions.json b/webpack/webpack5-localization-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..f1a55bd6720 --- /dev/null +++ b/webpack/webpack5-localization-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,509 @@ +{ + "suppressions": [ + { + "file": "src/AssetProcessor.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".IProcessLocalizedAssetOptions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._parseStringToReconstructionSequence", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._parseStringToReconstructionSequence", + "rule": "complexity" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._parseStringToReconstructionSequence", + "rule": "max-lines-per-function" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._reconstructLocalized", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._reconstructLocalized", + "rule": "complexity" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._reconstructLocalized", + "rule": "max-lines-per-function" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._reconstructLocalized", + "rule": "max-params" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._reconstructNonLocalized", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._reconstructNonLocalized", + "rule": "complexity" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": "._reconstructNonLocalized", + "rule": "max-lines-per-function" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".processLocalizedAsset", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".processLocalizedAsset", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".processLocalizedAsset", + "rule": "complexity" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".processLocalizedAsset", + "rule": "max-lines-per-function" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".processLocalizedAssetCachedAsync", + "rule": "complexity" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".processLocalizedAssetCachedAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".processNonLocalizedAsset", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".processNonLocalizedAsset", + "rule": "complexity" + }, + { + "file": "src/AssetProcessor.ts", + "scopeId": ".processNonLocalizedAsset", + "rule": "max-lines-per-function" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin._addLocFileAndGetPlaceholders", + "rule": "complexity" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin._addLocFileAndGetPlaceholders", + "rule": "max-lines-per-function" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin._initializeAndValidateOptions", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin._initializeAndValidateOptions", + "rule": "complexity" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin._initializeAndValidateOptions", + "rule": "max-depth" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin._initializeAndValidateOptions", + "rule": "max-lines-per-function" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.addDefaultLocFileAsync", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.addDefaultLocFileAsync", + "rule": "complexity" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.addDefaultLocFileAsync", + "rule": "max-depth" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.addDefaultLocFileAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.apply", + "rule": "max-depth" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": ".LocalizationPlugin.apply.chunkMapping", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": "._chunkHasLocalizedModules", + "rule": "complexity" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": "._chunkHasLocalizedModules", + "rule": "max-depth" + }, + { + "file": "src/LocalizationPlugin.ts", + "scopeId": "._chunkHasLocalizedModules", + "rule": "max-lines-per-function" + }, + { + "file": "src/TrueHashPlugin.ts", + "scopeId": ".TrueHashPlugin.apply", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/interfaces.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/interfaces.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/loaders/LoaderFactory.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/loaders/LoaderFactory.ts", + "scopeId": ".createLoader", + "rule": "max-lines-per-function" + }, + { + "file": "src/loaders/LoaderFactory.ts", + "scopeId": ".createLoader.loader", + "rule": "complexity" + }, + { + "file": "src/loaders/default-locale-loader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/loaders/loc-loader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/loaders/loc-loader.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/loaders/locjson-loader.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/loaders/resjson-loader.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/loaders/resx-loader.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/test/LocalizedAsyncDynamic.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/LocalizedAsyncDynamic.test.ts", + "scopeId": ".testLocalizedAsyncDynamicInner", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/LocalizedAsyncDynamic.test.ts", + "scopeId": ".testLocalizedAsyncDynamicInner", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/LocalizedAsyncDynamicFormatWithNoLocaleFallback.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/LocalizedAsyncDynamicFormatWithNoLocaleFallback.test.ts", + "scopeId": ".testLocalizedAsyncDynamicInner", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/LocalizedAsyncDynamicFormatWithNoLocaleFallback.test.ts", + "scopeId": ".testLocalizedAsyncDynamicInner", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/LocalizedNoAsync.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/LocalizedNoAsync.test.ts", + "scopeId": ".testLocalizedNoAsyncInner", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/LocalizedNoAsync.test.ts", + "scopeId": ".testLocalizedNoAsyncInner", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/LocalizedRuntimeTestBase.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/LocalizedRuntimeTestBase.ts", + "scopeId": ".InjectCustomPlaceholderPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/LocalizedRuntimeTestBase.ts", + "scopeId": ".InjectCustomPlaceholderPlugin.apply.GetIntegrityHashRuntimeModule.constructor", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/LocalizedRuntimeTestBase.ts", + "scopeId": ".runTests", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/LocalizedRuntimeTestBase.ts", + "scopeId": ".runTests.testLocalizedRuntimeInner", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/LocalizedRuntimeTestBase.ts", + "scopeId": ".runTests.testLocalizedRuntimeInner", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/MixedAsync.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/MixedAsync.test.ts", + "scopeId": ".testMixedAsyncInner", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/MixedAsync.test.ts", + "scopeId": ".testMixedAsyncInner", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/MixedAsyncDynamic.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/MixedAsyncDynamic.test.ts", + "scopeId": ".testMixedAsyncDynamicInner", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/MixedAsyncDynamic.test.ts", + "scopeId": ".testMixedAsyncDynamicInner", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/MixedAsyncNonHashed.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/MixedAsyncNonHashed.test.ts", + "scopeId": ".testMixedAsyncInner", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/MixedAsyncNonHashed.test.ts", + "scopeId": ".testMixedAsyncInner", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/NoLocalizedFiles.test.ts", + "scopeId": ".testNonLocalizedInner", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/NoLocalizedFiles.test.ts", + "scopeId": ".testNonLocalizedInner", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/NonHashedNonLocalizedAssets.test.ts", + "scopeId": ".testNonLocalizedInner", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/NonHashedNonLocalizedAssets.test.ts", + "scopeId": ".testNonLocalizedInner", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/NonHashedNonLocalizedAssets.test.ts", + "scopeId": ".testNonLocalizedInner.getResultsAsync", + "rule": "max-lines-per-function" + }, + { + "file": "src/trueHashes.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/trueHashes.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/trueHashes.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/trueHashes.ts", + "scopeId": ".getHashFunction", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/trueHashes.ts", + "scopeId": ".updateAssetHashes", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/trueHashes.ts", + "scopeId": ".updateAssetHashes", + "rule": "complexity" + }, + { + "file": "src/trueHashes.ts", + "scopeId": ".updateAssetHashes", + "rule": "max-depth" + }, + { + "file": "src/trueHashes.ts", + "scopeId": ".updateAssetHashes", + "rule": "max-lines-per-function" + }, + { + "file": "src/trueHashes.ts", + "scopeId": ".updateAssetHashes.processChunkAsset", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/trueHashes.ts", + "scopeId": ".updateAssetHashes.processChunkAsset", + "rule": "complexity" + }, + { + "file": "src/trueHashes.ts", + "scopeId": ".updateAssetHashes.processChunkAsset", + "rule": "max-depth" + }, + { + "file": "src/trueHashes.ts", + "scopeId": ".updateAssetHashes.processChunkAsset", + "rule": "max-lines-per-function" + }, + { + "file": "src/webpackInterfaces.ts", + "scopeId": ".IAssetPathOptions", + "rule": "@typescript-eslint/no-magic-numbers" + } + ] +} \ No newline at end of file diff --git a/webpack/webpack5-localization-plugin/eslint.config.js b/webpack/webpack5-localization-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/webpack/webpack5-localization-plugin/eslint.config.js +++ b/webpack/webpack5-localization-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals'); diff --git a/webpack/webpack5-module-minifier-plugin/.eslint-bulk-suppressions.json b/webpack/webpack5-module-minifier-plugin/.eslint-bulk-suppressions.json new file mode 100644 index 00000000000..1817cebea07 --- /dev/null +++ b/webpack/webpack5-module-minifier-plugin/.eslint-bulk-suppressions.json @@ -0,0 +1,234 @@ +{ + "suppressions": [ + { + "file": "src/Constants.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/GenerateLicenseFileForAsset.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/GenerateLicenseFileForAsset.ts", + "scopeId": ".getAllComments", + "rule": "complexity" + }, + { + "file": "src/GenerateLicenseFileForAsset.ts", + "scopeId": ".getAllComments", + "rule": "max-depth" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply.addCommentExtraction", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply.minifyModule", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply.minifyModule", + "rule": "complexity" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply.minifyModule", + "rule": "max-lines-per-function" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".ModuleMinifierPlugin.apply.onFileMinified", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".defaultRehydrateAssets", + "rule": "complexity" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".isMethodShorthandFormat", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/ModuleMinifierPlugin.ts", + "scopeId": ".isMethodShorthandFormat", + "rule": "complexity" + }, + { + "file": "src/ModuleMinifierPlugin.types.ts", + "scopeId": ".", + "rule": "import/order" + }, + { + "file": "src/ModuleMinifierPlugin.types.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/RehydrateAsset.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/RehydrateAsset.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/RehydrateAsset.ts", + "scopeId": ".extractSegmentFromSource", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RehydrateAsset.ts", + "scopeId": ".rehydrateAsset", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/RehydrateAsset.ts", + "scopeId": ".rehydrateAsset", + "rule": "complexity" + }, + { + "file": "src/RehydrateAsset.ts", + "scopeId": ".rehydrateAsset", + "rule": "max-lines-per-function" + }, + { + "file": "src/RehydrateAsset.ts", + "scopeId": ".rehydrateAsset", + "rule": "max-params" + }, + { + "file": "src/test/AmdExternals.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/AmdExternals.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/AmdExternals.test.ts", + "scopeId": ".amdExternalsTest", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/MockMinifier.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/MockMinifier.ts", + "scopeId": ".MockMinifier.minify", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/MultipleRuntimes.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/MultipleRuntimes.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/MultipleRuntimes.test.ts", + "scopeId": ".multipleRuntimesTest", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/RecordMetadataPlugin.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/RecordMetadataPlugin.ts", + "scopeId": ".RecordMetadataPlugin.apply", + "rule": "complexity" + }, + { + "file": "src/test/RecordMetadataPlugin.ts", + "scopeId": ".RecordMetadataPlugin.apply", + "rule": "max-depth" + }, + { + "file": "src/test/RecordMetadataPlugin.ts", + "scopeId": ".RecordMetadataPlugin.apply", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/WebpackOutputFormats.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/no-magic-numbers" + }, + { + "file": "src/test/WebpackOutputFormats.test.ts", + "scopeId": ".", + "rule": "@typescript-eslint/prefer-nullish-coalescing" + }, + { + "file": "src/test/WebpackOutputFormats.test.ts", + "scopeId": ".", + "rule": "complexity" + }, + { + "file": "src/test/WebpackOutputFormats.test.ts", + "scopeId": ".", + "rule": "max-lines" + }, + { + "file": "src/test/WebpackOutputFormats.test.ts", + "scopeId": ".", + "rule": "max-lines-per-function" + }, + { + "file": "src/test/WebpackOutputFormats.test.ts", + "scopeId": ".", + "rule": "sort-imports" + }, + { + "file": "src/test/WebpackOutputFormats.test.ts", + "scopeId": ".runWebpackWithEnvironment", + "rule": "complexity" + }, + { + "file": "src/test/WebpackOutputFormats.test.ts", + "scopeId": ".runWebpackWithEnvironment", + "rule": "max-lines-per-function" + } + ] +} \ No newline at end of file diff --git a/webpack/webpack5-module-minifier-plugin/eslint.config.js b/webpack/webpack5-module-minifier-plugin/eslint.config.js index c15e6077310..fa5d6da4b8a 100644 --- a/webpack/webpack5-module-minifier-plugin/eslint.config.js +++ b/webpack/webpack5-module-minifier-plugin/eslint.config.js @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. +require('local-node-rig/profiles/default/includes/eslint/flat/patch/eslint-bulk-suppressions'); + const nodeTrustedToolProfile = require('local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool'); const friendlyLocalsMixin = require('local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals');