-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat(eslint-plugin): use Intl.Segmenter instead of graphemer
#11804
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
feat(eslint-plugin): use Intl.Segmenter instead of graphemer
#11804
Conversation
|
Thanks for the PR, @JstnMcBrd! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. |
✅ Deploy Preview for typescript-eslint ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
View your CI Pipeline Execution ↗ for commit 95af122
☁️ Nx Cloud last updated this comment at |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11804 +/- ##
==========================================
- Coverage 90.53% 90.53% -0.01%
==========================================
Files 523 523
Lines 53097 53096 -1
Branches 8838 8838
==========================================
- Hits 48074 48073 -1
Misses 5010 5010
Partials 13 13
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
JoshuaKGoldberg
left a comment
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.
👌 thanks!
95af122
|
I was reading the background and noticed that eslint initializes The change here doesn't specify a locale, which means the runtime's default locale is used (which presumably means the user's locale). For consistency with eslint, it would probably be better to match them. |
| datasource | package | from | to | | ---------- | -------------------------------- | ------ | ------ | | npm | @typescript-eslint/eslint-plugin | 8.48.1 | 8.49.0 | | npm | @typescript-eslint/parser | 8.48.1 | 8.49.0 | ## [v8.49.0](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8490-2025-12-08) ##### 🚀 Features - **eslint-plugin:** use `Intl.Segmenter` instead of `graphemer` ([#11804](typescript-eslint/typescript-eslint#11804)) ##### 🩹 Fixes - **deps:** update dependency prettier to v3.7.2 ([#11820](typescript-eslint/typescript-eslint#11820)) ##### ❤️ Thank You - Justin McBride - Kirk Waiblinger [@kirkwaiblinger](https://github.com/kirkwaiblinger) You can read about our [versioning strategy](https://typescript-eslint.io/users/versioning) and [releases](https://typescript-eslint.io/users/releases) on our website.
| datasource | package | from | to | | ---------- | -------------------------------- | ------ | ------ | | npm | @typescript-eslint/eslint-plugin | 8.48.1 | 8.49.0 | | npm | @typescript-eslint/parser | 8.48.1 | 8.49.0 | ## [v8.49.0](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8490-2025-12-08) ##### 🚀 Features - **eslint-plugin:** use `Intl.Segmenter` instead of `graphemer` ([#11804](typescript-eslint/typescript-eslint#11804)) ##### 🩹 Fixes - **deps:** update dependency prettier to v3.7.2 ([#11820](typescript-eslint/typescript-eslint#11820)) ##### ❤️ Thank You - Justin McBride - Kirk Waiblinger [@kirkwaiblinger](https://github.com/kirkwaiblinger) You can read about our [versioning strategy](https://typescript-eslint.io/users/versioning) and [releases](https://typescript-eslint.io/users/releases) on our website.
| datasource | package | from | to | | ---------- | -------------------------------- | ------ | ------ | | npm | @typescript-eslint/eslint-plugin | 8.48.1 | 8.49.0 | | npm | @typescript-eslint/parser | 8.48.1 | 8.49.0 | ## [v8.49.0](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#8490-2025-12-08) ##### 🚀 Features - **eslint-plugin:** use `Intl.Segmenter` instead of `graphemer` ([#11804](typescript-eslint/typescript-eslint#11804)) ##### 🩹 Fixes - **deps:** update dependency prettier to v3.7.2 ([#11820](typescript-eslint/typescript-eslint#11820)) ##### ❤️ Thank You - Justin McBride - Kirk Waiblinger [@kirkwaiblinger](https://github.com/kirkwaiblinger) You can read about our [versioning strategy](https://typescript-eslint.io/users/versioning) and [releases](https://typescript-eslint.io/users/releases) on our website.

PR Checklist
Intl.Segmenterinstead ofgraphemer#11803Overview
See the description of #11803 for the backstory.