Oğuzhan Sert
|
8dc93ade6d
|
fix(i18n): Turkish locale-aware search and sorting (#3115)
* feat(i18n): add Turkish locale-aware text helpers (search/sort)
* test(i18n): cover null/whitespace edges + document compareTr/normalize contract
* fix(i18n): route dashboard search through Turkish-safe matchesSearch
* fix(i18n): sort user-visible lists with Turkish collation (compareTr)
* fix(i18n): keep providerId tiebreaker as ASCII sort (technical id)
* docs(i18n): document intentional lang=en in global-error boundary
* chore(lint): guard against locale-unsafe toLowerCase().includes search
* fix(i18n): migrate missed provider-name search + harden lint disable placement
* fix(i18n): downgrade no-restricted-syntax to warn (incremental adoption)
The rule errored on ~19 pre-existing toLowerCase().includes() call-sites in
src/app accumulated since this PR's base. Keep it as a warning so the guard-rail
guides future code without breaking the 0-errors lint gate (project policy:
0 errors, warnings tolerated).
---------
Co-authored-by: diegosouzapw <diegosouza.pw@gmail.com>
|
2026-06-03 18:58:01 -03:00 |
|