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 false negatives for css-in-js object notation in color-hex-case #5101

Merged
merged 6 commits into from Jan 19, 2021

Commits on Jan 6, 2021

  1. Validate color-hex-case with postcss-value-parser

    As discussed in stylelint#4826, `style-search` has false positives when used with
    `css-in-js` object notation. This change updates the `color-hex-case`
    rule to use `postcss-value-parser` instead, which has support for
    `css-in-js` as a syntax.
    
    The unit tests now also include a suite for testing both `upper` and
    `lower` options for `color-hex-case` with the `css-in-js` syntax.
    Dru89 committed Jan 6, 2021
    Copy the full SHA
    3ae76a1 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    da6aaf0 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    6192585 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2021

  1. Clean up whitespace.

    Dru89 committed Jan 8, 2021
    Copy the full SHA
    1ce1e2a View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    fe2fe6c View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2021

  1. Remove unnecessary return

    Dru89 committed Jan 18, 2021
    Copy the full SHA
    d2e0c40 View commit details
    Browse the repository at this point in the history