Skip to content

refactor: dedupe prefer-global/timers trace map#516

Merged
aladdin-add merged 1 commit intoeslint-community:masterfrom
Pixel998:refactor/prefer-global-timers-tracemap
Feb 18, 2026
Merged

refactor: dedupe prefer-global/timers trace map#516
aladdin-add merged 1 commit intoeslint-community:masterfrom
Pixel998:refactor/prefer-global-timers-tracemap

Conversation

@Pixel998
Copy link

What is the purpose of this pull request?

Reduce repetition in the prefer-global/timers rule by sharing a single trace-map definition.

What changes did you make? (Give an overview)

Extract a shared timers trace map and reuse it for globals, modules.timers, and modules["node:timers"].

Related Issues

#515 (comment)

Is there anything you'd like reviewers to focus on?

Copy link

@aladdin-add aladdin-add left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@aladdin-add aladdin-add merged commit 9d8d3cb into eslint-community:master Feb 18, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments