[PR #6428] refactor: replace eslint-plugin-import with eslint-plugin-perfectionist for import sorting #6516

Closed
opened 2026-02-28 21:29:27 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/6428

State: closed
Merged: Yes


why replace the plugin?

oxlint/oxfmt uses eslint-plugin-perfectionist, but it does not yet expose customGroups config option. So we can't swap to using oxc yet.. but we can prepare the way

why remove extension rule?

that's the only remaining import eslint rule and it's taking by far the most time (> 25%). Thus removing it saves us some time + we get rid of the extra dependency. IMO that's a good trade-off.

oxlint also has this rule, but it does not match the eslint one and reports a lot of false negative issues.

**Original Pull Request:** https://github.com/actualbudget/actual/pull/6428 **State:** closed **Merged:** Yes --- **why replace the plugin?** oxlint/oxfmt uses `eslint-plugin-perfectionist`, but it does not yet expose `customGroups` config option. So we can't swap to using oxc yet.. but we can prepare the way **why remove extension rule?** that's the only remaining `import` eslint rule and it's taking by far the most time (> 25%). Thus removing it saves us some time + we get rid of the extra dependency. IMO that's a good trade-off. `oxlint` also has this rule, but it does not match the eslint one and reports a lot of false negative issues.
GiteaMirror added the pull-request label 2026-02-28 21:29:27 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#6516