Copilot · GitHub

Copilot AI linked an issue

Jul 18, 2026

that may be closed by this pull request

Closed

5 tasks

…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

Jul 18, 2026

@pelikhan

pelikhan marked this pull request as ready for review

July 18, 2026 08:24

Copilot AI review requested due to automatic review settings

July 18, 2026 08:24

@pelikhan

@pelikhan

pelikhan deleted the copilot/eslint-factory-fix-core-alias-detection branch

July 18, 2026 08:47

This was referenced

Jul 18, 2026

Closed

Closed

Closed

Closed

Read the original on github.com ↗