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

Fix hue-degree-notation false negatives for oklch #7014

Closed
romainmenke opened this issue Jun 30, 2023 · 0 comments · Fixed by #7015
Closed

Fix hue-degree-notation false negatives for oklch #7014

romainmenke opened this issue Jun 30, 2023 · 0 comments · Fixed by #7015
Labels
status: wip is being worked on by someone type: bug a problem with a feature or rule

Comments

@romainmenke
Copy link
Member

What minimal example or steps are needed to reproduce the bug?

a {
	color: lch(50% 50% 50);
	color: oklch(50% 50% 50);
}

What minimal configuration is needed to reproduce the bug?

{
  "rules": {
    "hue-degree-notation": "angle"
  }
}

How did you run Stylelint?

Demo

Which Stylelint-related dependencies are you using?

{
  "stylelint": "latest",
  "stylelint-config-standard": "latest"
}

What did you expect to happen?

I expected an error on oklch

What actually happened?

No error was reported

Do you have a proposal to fix the bug?

Add oklch in the same way as lch already exists today.

@romainmenke romainmenke added the status: needs discussion triage needs further discussion label Jun 30, 2023
@ybiquitous ybiquitous added status: wip is being worked on by someone type: bug a problem with a feature or rule and removed status: needs discussion triage needs further discussion labels Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: wip is being worked on by someone type: bug a problem with a feature or rule
Development

Successfully merging a pull request may close this issue.

2 participants