…exportVariable rules to detect aliased and destructured core bindings
- Add core-method-resolve.ts with isCoreAliasIdentifier and isDestructuredCoreMethodIdentifier shared helpers
- Update no-core-setoutput-non-string to detect const c = core; c.setOutput(...) and const { setOutput } = core; setOutput(...)
- Update no-core-exportvariable-non-string similarly
- Refactor require-return-after-core-setfailed to use shared helpers (no behavior change)
- Add 14 new tests (7 per rule) covering aliased/destructured valid and invalid cases
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix core alias detection in eslint rules
feat(eslint): extend no-core-setoutput/exportvariable rules to detect aliased and destructured core bindings
pelikhan marked this pull request as ready for review
July 18, 2026 08:24Copilot AI review requested due to automatic review settings
July 18, 2026 08:24pelikhan deleted the copilot/eslint-factory-fix-core-alias-detection branch
July 18, 2026 08:47This was referenced
Jul 18, 2026Closed
Closed
Closed
Closed