Skip to content

[ESLint plugin] no-css-color rule misfires #9076

@weronikaolejniczak

Description

@weronikaolejniczak

Describe the bug

At times, the no-css-color rule misfires, especially with the border. Example:

Image

Code:

Impact and severity

Low severity, low impact. False-positive warnings are annoying to devs.

A warning can be ignored or muted with ESLint disable comment.

To Reproduce

  1. Checkout Kibana.
  2. Look at the code mentioned above ☝🏻
  3. Notice that linter highlights the lines incorrectly.

Expected behavior

The rule doesn't misfire.

Metadata

Metadata

Assignees

No one assigned

    Labels

    low hanging fruitAn issue, often a bug, that is lower effort and clearly ought to be fixed

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions