mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-04 02:31:36 +00:00
ci(scope-resolution): keep MIGRATED_LANGUAGES empty; fix linter auto-uncomment
Previous commit's example entry got auto-uncommented (linter preferred a type-checkable `SupportedLanguages.Python` over a commented-out reference). That would have triggered the parity CI gate against Python, which today has 82 known flag-on failures — unintended and would block the PR. Use the explicit generic `new Set<SupportedLanguages>([])` so an empty set still type-checks without needing an uncommented-out sample member. Example in the comment now has `// SupportedLanguages.Python,` so it remains illustrative without participating in the set.
This commit is contained in:
parent
6a1b4227eb
commit
8a7d42c1fd
1 changed files with 2 additions and 2 deletions
|
|
@ -64,9 +64,9 @@ import { SupportedLanguages } from 'gitnexus-shared';
|
|||
* not an env lookup) so CI can discover it via `tsx` without a build step
|
||||
* and reviewers see the change inline with the code that consumes it.
|
||||
*/
|
||||
export const MIGRATED_LANGUAGES: ReadonlySet<SupportedLanguages> = new Set([
|
||||
export const MIGRATED_LANGUAGES: ReadonlySet<SupportedLanguages> = new Set<SupportedLanguages>([
|
||||
// Add languages here when their migration completes. Example:
|
||||
SupportedLanguages.Python,
|
||||
// SupportedLanguages.Python,
|
||||
]);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue