[PR #5827] expand eslint untranslated string rule #20513

Closed
opened 2026-04-14 21:39:17 -05:00 by GiteaMirror · 0 comments
Owner

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

State: closed
Merged: Yes


Expands the rule to look at JSX attributes and adds fixers, also adds an abstraction for importing modules in fixers.

JSX attribute strings are pretty hard to properly identify, so to be safe and catch the low-hanging fruit I've added a whitelist so we don't start messing with function arguments or properties used for rendering instead of user-facing etc...

**Original Pull Request:** https://github.com/actualbudget/actual/pull/5827 **State:** closed **Merged:** Yes --- Expands the rule to look at JSX attributes and adds fixers, also adds an abstraction for importing modules in fixers. JSX attribute strings are pretty hard to properly identify, so to be safe and catch the low-hanging fruit I've added a whitelist so we don't start messing with function arguments or properties used for rendering instead of user-facing etc...
GiteaMirror added the pull-request label 2026-04-14 21:39:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#20513