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

🐛 'linter/nursery/noUnknownPseudoClass' with false positive for CSS class with multiple colons #4533

Closed
1 task done
CHE1RON opened this issue Nov 14, 2024 · 2 comments · Fixed by #4543
Closed
1 task done
Labels
S-Needs triage Status: this issue needs to be triaged

Comments

@CHE1RON
Copy link

CHE1RON commented Nov 14, 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.18.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "pnpm/9.12.3"

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

Workspace:
  Open Documents:               0

What happened?

  1. Put this CSS in your code:
::-webkit-scrollbar-thumb:hover {
  background-color: #0004;
}
  1. noUnknownPseudoClass will report :hover being an unknown pseudo-class:
Screenshot 2024-11-14 at 07 49 28

Expected result

:hover is recognized as valid pseudo-class

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@CHE1RON
Copy link
Author

CHE1RON commented Nov 15, 2024

Very nice, thank you very much 🙏

@fireairforce
Copy link
Contributor

u are welcome~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-Needs triage Status: this issue needs to be triaged
Projects
None yet
2 participants