Skip to content

fix(prefer-array-fill): do not flag non-constant factory functions#72

Merged
43081j merged 3 commits intoe18e:mainfrom
yharaskrik:jay/allow-non-constant-factory-fn
Mar 16, 2026
Merged

fix(prefer-array-fill): do not flag non-constant factory functions#72
43081j merged 3 commits intoe18e:mainfrom
yharaskrik:jay/allow-non-constant-factory-fn

Conversation

@yharaskrik
Copy link
Contributor

Discussion is still on-going in the issue this resolves.

Resolves #71

Copy link
Contributor

@gameroman gameroman left a comment

Choose a reason for hiding this comment

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

Looks correct. Don't know about recursion and type assertions as I haven't worked with this codebase before but everything looks fine

@43081j 43081j merged commit 3ba4e52 into e18e:main Mar 16, 2026
3 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.

'e18e/prefer-array-fill' incorrectly errors when the callback is not constant

4 participants