Skip to content

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

Closed

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.

Activity

  1. added
    ⚠️ needs validation
    on Oct 6, 2025
  2. added
    low hanging fruit
    and removed
    ⚠️ needs validation
    on Oct 6, 2025
  3. added a commit that references this issue on Oct 14, 2025
  4. added a commit that references this issue on Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    low hanging fruit

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions