From 462b9140a44e0b2fdda85e7f73399bac3bfacd74 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 4 Aug 2026 13:18:27 +0000 Subject: [PATCH 1/2] Initial plan From b2de33d4390d6bf1bf4806db9a6c38be90b6fc46 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 4 Aug 2026 13:26:57 +0000 Subject: [PATCH 2/2] Document boolean duplicate threshold Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- eslint-factory/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint-factory/README.md b/eslint-factory/README.md index efd0b7f1e9b..4c049d09e8a 100644 --- a/eslint-factory/README.md +++ b/eslint-factory/README.md @@ -61,7 +61,7 @@ This project hosts custom ESLint linters for `/actions/setup/js`. Inventory module-level `const` declarations with static primitive initializers and report each declaration after the first one that uses the same value in a file. The diagnostic names both constants and shows the duplicated value. -The rule compares string, number, boolean, `null`, bigint, regular-expression, static template-literal, and signed numeric initializers. Dynamic expressions, object and array literals, destructuring declarations, function-local declarations, and `let` or `var` declarations are ignored. +The rule compares string, number, boolean, `null`, bigint, regular-expression, static template-literal, and signed numeric initializers. To avoid collisions in their small value spaces, it reports duplicate numeric and boolean values only when at least three module-level constants share them. Dynamic expressions, object and array literals, destructuring declarations, function-local declarations, and `let` or `var` declarations are ignored. ### `no-github-request-interpolated-route`