Skip to content

Conversation

@JstnMcBrd
Copy link
Contributor

@JstnMcBrd JstnMcBrd commented Nov 27, 2025

PR Checklist

Overview

See the description of #11803 for the backstory.

@typescript-eslint
Copy link
Contributor

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.

@netlify
Copy link

netlify bot commented Nov 27, 2025

Deploy Preview for typescript-eslint ready!

Name Link
🔨 Latest commit 95af122
🔍 Latest deploy log https://app.netlify.com/projects/typescript-eslint/deploys/693488b4763ecf0008457b86
😎 Deploy Preview https://deploy-preview-11804--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 98 (🟢 up 3 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@nx-cloud
Copy link

nx-cloud bot commented Nov 27, 2025

View your CI Pipeline Execution ↗ for commit 95af122

Command Status Duration Result
nx test eslint-plugin --coverage=false ✅ Succeeded 5m 10s View ↗
nx run-many -t lint ✅ Succeeded 3m 8s View ↗
nx run-many -t typecheck ✅ Succeeded 2m 14s View ↗
nx test eslint-plugin-internal --coverage=false ✅ Succeeded 5s View ↗
nx run integration-tests:test ✅ Succeeded 6s View ↗
nx test typescript-estree --coverage=false ✅ Succeeded 2s View ↗
nx run generate-configs ✅ Succeeded 15s View ↗
nx run types:build ✅ Succeeded 2s View ↗
Additional runs (29) ✅ Succeeded ... View ↗

☁️ Nx Cloud last updated this comment at 2025-12-06 20:01:44 UTC

@codecov
Copy link

codecov bot commented Nov 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.53%. Comparing base (34a49a4) to head (95af122).
⚠️ Report is 3 commits behind head on main.

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              
Flag Coverage Δ
unittest 90.53% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
packages/eslint-plugin/src/util/getStringLength.ts 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌 thanks!

@JoshuaKGoldberg JoshuaKGoldberg added the 1 approval >=1 team member has approved this PR; we're now leaving it open for more reviews before we merge label Nov 27, 2025
kirkwaiblinger
kirkwaiblinger previously approved these changes Dec 6, 2025
@kirkwaiblinger kirkwaiblinger dismissed stale reviews from JoshuaKGoldberg and themself via 95af122 December 6, 2025 19:49
@kirkwaiblinger kirkwaiblinger enabled auto-merge (squash) December 6, 2025 19:51
@kirkwaiblinger kirkwaiblinger merged commit 56149a2 into typescript-eslint:main Dec 6, 2025
64 checks passed
@JstnMcBrd JstnMcBrd deleted the mcb/fix-11803 branch December 6, 2025 23:39
@ehoogeveen-medweb
Copy link

I was reading the background and noticed that eslint initializes Intl.Segmenter with the en-US locale.

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.

renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Dec 11, 2025
| 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.
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Dec 11, 2025
| 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.
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Dec 13, 2025
| 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 approval >=1 team member has approved this PR; we're now leaving it open for more reviews before we merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: use Intl.Segmenter instead of graphemer

5 participants