Skip to content

Fix declaration-property-value-no-unknown false positives for linear() #8379

@in-in

Description

@in-in

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

a {
  transition-timing-function: linear(0 0%, 0.999 44.8%, 0.866 58.4%, 0.998 77.2%, 1 100%);
  animation-timing-function: linear(0, 1);
}

What minimal configuration is needed to reproduce the bug?

{
  "rules": {
    "declaration-property-value-no-unknown": true
  }
}

How did you run Stylelint?

Demo

Which Stylelint-related dependencies are you using?

{
  "stylelint": "16.14.1",
  "stylelint-config-standard": "37.0.0"
}

What did you expect to happen?

No problems to be reported.

What actually happened?

2:30-89 error Unexpected unknown value "linear(0 0%, 0.999 44.8%, 0.866 58.4%, 0.998 77.2%, 1 100%)" for property "transition-timing-function" (declaration-property-value-no-unknown)
3:29-41 error Unexpected unknown value "linear(0, 1)" for property "animation-timing-function" (declaration-property-value-no-unknown)

Do you have a proposal to fix the bug?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: ask to implementask before implementing as may no longer be relevant

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions