SIGN IN SIGN UP

revert: replace all lodash string methods with kasi #4602 (#4621)

* Revert "refactor(ensure): replace all lodash string methods with kasi and manual (#4602)"

This reverts commit a1ef07e5d3ce7d813f62c1982fbd98f9fe7145f4.

kasi@2.0.1 has a bug where it incorrectly identifies lowercase Cyrillic
text as PascalCase/TitleCase, causing the subject-case rule to reject
valid lowercase subjects in non-Latin scripts.

Restores lodash-based case detection which correctly handles non-Latin
alphabets including Cyrillic, Chinese, Arabic, and Hebrew.

Related to #4620

* test(rules): add non-Latin script coverage for subject-case rule

Add regression tests for lowercase and uppercase subjects in:
- Cyrillic (Russian)
- Chinese
- Arabic
- Hebrew
- Mixed Latin + Cyrillic

These tests ensure the subject-case rule correctly handles non-Latin
alphabets and prevent future regressions like the kasi@2.0.1 bug.

Fixes #4620
E
escapedcat committed
5326ab98a7c68f2f67c46c253f10c087d4570ddd
Parent: c6cd793
Committed by GitHub <noreply@github.com> on 2/2/2026, 11:56:00 AM