fnando / i18n-js

It's a small library to provide the I18n translations on the Javascript. It comes with Rails support.
MIT License
3.77k stars 520 forks source link

Implement glob patterns for lint translations #724

Open qmenoret opened 6 months ago

qmenoret commented 6 months ago
PR Checklist ### PR Structure - [x] This PR has reasonably narrow scope (if not, break it down into smaller PRs). - [x] This PR avoids mixing refactoring changes with feature changes (split into two PRs otherwise). - [x] This PR's title starts is concise and descriptive. ### Thoroughness - [ ] This PR adds tests for the most critical parts of the new functionality or fixes. - [x] I've updated any docs, `.md` files, etc… affected by this change.

What

Allow for Globs for lint:translations.

Why

It's very hard to maintain a list of ignored translations when you have several locales and gems such as faker installed. See: https://github.com/fnando/i18n-js/issues/707

Known limitations

Not sure