antfu / antfu/eslint-plugin-command
π[BUG] - keep-sorted doesn't copy emojis correctly
Open
Nobody has claimed this yet.
help wanted
- Dominant language
- TypeScript
- Stars
- 371
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
keep-sorted doesn't copy emojis correctly
From Code
const example = {
apple: "π",
orange: "π",
banana: "π",
};
Results
Reproduction
https://github.com/INeedJobToStartWork/problem-repro2
System Info
System:
OS: Windows 11 10.0.22000
CPU: (40) x64 Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz
Memory: 16.17 GB / 31.85 GB
Binaries:
Node: 21.7.3 - C:\Program Files\nodejs\node.EXE
npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
pnpm: 9.6.0 - C:\Program Files\nodejs\pnpm.CMD
Browsers:
Edge: Spartan (44.22000.120.0), Chromium (127.0.2651.74)
Internet Explorer: 11.0.22000.120
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
Contributions
- I am willing to submit a PR to fix this issue
- I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up β it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked minimal reproduction and trace the keep-sorted processing path in this repository. Reproduce the issue with the provided emoji example, then add coverage for the observed behavior and verify that the sorted output preserves the emoji characters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- eslint, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100