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

Organize import produces warning even when file is ignored #4552

Open
1 task done
iamsauravsharma opened this issue Nov 17, 2024 · 0 comments
Open
1 task done

Organize import produces warning even when file is ignored #4552

iamsauravsharma opened this issue Nov 17, 2024 · 0 comments
Labels
A-CLI Area: CLI S-Bug-confirmed Status: report has been confirmed as a valid bug

Comments

@iamsauravsharma
Copy link

Environment information

CLI:
  Version:                      1.9.4
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_PATH:               unset
  BIOME_LOG_PREFIX_NAME:        unset
  BIOME_CONFIG_PATH:            unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v22.11.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "pnpm/9.13.2"

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

Workspace:
  Open Documents:               0

What happened?

  1. Clone repository https://github.com/iamsauravsharma/biome-organize-import-repro
  2. Run command pnpm check
    biomejs presented warning text when there should be no warning
Skipped 1 suggested fixes.
If you wish to apply the suggested (unsafe) fixes, use the command biome check --fix --unsafe

Checked 4 files in 3ms. No fixes applied.

Since organizeImport is not unsafe fix suggestion is also incorrect

Expected result

Biomejs should not print skipped 1 suggested fixes since it is actually ignored

Checked 4 files in 3ms. No fixes applied.

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@iamsauravsharma iamsauravsharma added the S-Needs triage Status: this issue needs to be triaged label Nov 17, 2024
@ematipico ematipico added A-CLI Area: CLI S-Bug-confirmed Status: report has been confirmed as a valid bug labels Nov 18, 2024
@github-actions github-actions bot removed the S-Needs triage Status: this issue needs to be triaged label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CLI Area: CLI S-Bug-confirmed Status: report has been confirmed as a valid bug
Projects
None yet
Development

No branches or pull requests

2 participants