fix(noise): remove stale_bundle_* rules — functions no longer exist (BIT-26793)
switchSelectionEditorTab and descriptionEditorReady are absent from the current codebase; continuing to suppress ReferenceErrors for these names would silently hide real errors if the names were ever reused. Ruleset bumped to 1.0.7.
This commit is contained in:
1 parent
23704d2e59
commit
308ff624cf
1 file changed
+1
-13
@@ -4,7 +4,7 @@ import { normalizeLevelToSeverity } from "./normalize.js";
|
||||
* Versioned ruleset id (document in release notes when rules change).
|
||||
* Rule inventory and validation steps: `docs/operations/ingest-hardening-runbook.md`.
|
||||
*/
|
||||
export const NOISE_RULESET_VERSION = "1.0.6";
|
||||
export const NOISE_RULESET_VERSION = "1.0.7";
|
||||
|
||||
export type NoiseEvaluation =
|
||||
| { matched: false }
|
||||
@@ -104,18 +104,6 @@ const _RULES: NoiseRule[] = [
|
||||
"Uncaught TypeError: Cannot read properties of undefined (reading 'after')",
|
||||
),
|
||||
},
|
||||
{
|
||||
id: "stale_bundle_switch_selection_tab",
|
||||
reason: "filtered_stale_frontend_bundle_noise",
|
||||
match: (i) =>
|
||||
i.message.includes("Uncaught ReferenceError: switchSelectionEditorTab is not defined"),
|
||||
},
|
||||
{
|
||||
id: "stale_bundle_description_editor_ready",
|
||||
reason: "filtered_stale_frontend_bundle_noise",
|
||||
match: (i) =>
|
||||
i.message.includes("Uncaught ReferenceError: descriptionEditorReady is not defined"),
|
||||
},
|
||||
{
|
||||
id: "transient_parser_promise",
|
||||
reason: "filtered_transient_frontend_noise",
|
||||
|
||||
Reference in new issue
Block a user