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

🐛 Import Sorting should be case-insensitive #4009

Closed
1 task done
axetroy opened this issue Sep 20, 2024 · 1 comment
Closed
1 task done

🐛 Import Sorting should be case-insensitive #4009

axetroy opened this issue Sep 20, 2024 · 1 comment

Comments

@axetroy
Copy link

axetroy commented Sep 20, 2024

Environment information

CLI:
  Version:                      1.9.2
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           windows

Environment:
  BIOME_LOG_PATH:               unset
  BIOME_LOG_PREFIX_NAME:        unset
  BIOME_CONFIG_PATH:            unset
  NO_COLOR:                     unset
  TERM:                         unset
  JS_RUNTIME_VERSION:           "v16.20.2"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         unset

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Workspace:
  Open Documents:               0

What happened?

Ideally, Import Sorting should be case-insensitive.

Because the file system explorer (and all editor) does the same thing.

Input:

import Common from 'common'
import Link from 'Link'

Result:

import Link from 'Link'
import Common from 'common'

Expected result

Import Sorting should be case-insensitive

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@Conaclos
Copy link
Member

Closing because making import sorting case-insensitive is part of the RFC. See #3177

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants