Skip to content
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

🐞[BUG] - keep-sorted doesn't copy emojis correctly #26

Open
5 of 7 tasks
INeedJobToStartWork opened this issue Aug 12, 2024 · 1 comment
Open
5 of 7 tasks
Labels
help wanted Extra attention is needed

Comments

@INeedJobToStartWork
Copy link

Describe the bug

keep-sorted doesn't copy emojis correctly

From Code

const example = {
   apple: "🍏",
   orange: "🍊",
   banana: "🍌",
};

Results

image

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!)
@antfu antfu added the help wanted Extra attention is needed label Sep 7, 2024
@ddosakura
Copy link
Contributor

The output of eslint . --fix seems correct, the bug only occurs when the editor autosaves

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants