-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add eslint rules for i18next and prevent adding string literals in JSX #558
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for harness-xd-review ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
88b876f
to
4fdfe72
Compare
I think we'll need to set this as |
sure @knagurski. But it would be good if we keep a deadline for making all the changes to update it as |
Yeah, totally agree. We should have a work stream to extract them ASAP and guard against new strings going in until such time that we can make it an error. Earlier we make it just part of the expected standard, the less work we'll have overall. |
4fdfe72
to
4e334a8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
something is wrong here, if adding just one package is causing 8500 lines of change in the lockfile
Adding eslint rules for i18next support. It prevents adding strings as JSX children.