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

💅 correctness/useImportExtensions not work with path aliases #4698

Open
1 task done
ematipico opened this issue Dec 5, 2024 Discussed in #4697 · 0 comments
Open
1 task done

💅 correctness/useImportExtensions not work with path aliases #4698

ematipico opened this issue Dec 5, 2024 Discussed in #4697 · 0 comments
Labels
A-Linter Area: linter L-JavaScript Language: JavaScript and super languages S-Bug-confirmed Status: report has been confirmed as a valid bug

Comments

@ematipico
Copy link
Member

Discussed in #4697

Originally posted by danilkinkin November 5, 2024

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:           "v20.11.1"
  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

Linter:
  JavaScript enabled:           true
  JSON enabled:                 true
  CSS enabled:                  true
  GraphQL enabled:              false
  Recommended:                  false
  All:                          false
  Enabled rules:
  correctness/useImportExtensions

Workspace:
  Open Documents:               0

Rule name

correctness/useImportExtensions

Playground link

https://github.com/danilkinkin/biome-correctness-useImportExtensions-bug

Expected result

Files imported via path aliases also should process by correctness/useImportExtensions rule

Code of Conduct

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

No branches or pull requests

1 participant