Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: stylelint/stylelint
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 16.2.0
Choose a base ref
...
head repository: stylelint/stylelint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 16.2.1
Choose a head ref
  • 18 commits
  • 44 files changed
  • 6 contributors

Commits on Jan 20, 2024

  1. Document simplified website releasing in maintainer guide (#7473)

    Update maintainer guide for simplified website releasing
    
    See stylelint/stylelint.io#385
    ybiquitous authored Jan 20, 2024
    Configuration menu
    Copy the full SHA
    6a4397c View commit details
    Browse the repository at this point in the history
  2. Fix selector-max-specificity false positives with ignoreSelectors

    … option for `of <selector>` syntax (#7475)
    
    ```json
    {"ignoreSelectors": [".foo"]}
    ```
    
    ```css
    :nth-child(even of .foo) {}
    
    /* ↓ Calculates specificity ignoring 'of .foo' in `ignoreSelectors` */
    :nth-child(even) {}
    ```
    ybiquitous authored Jan 20, 2024
    Configuration menu
    Copy the full SHA
    34cdc97 View commit details
    Browse the repository at this point in the history
  3. Fix report() error message responsibility for a missing node or lin…

    …e number (#7474)
    
    Including a rule name in the error message helps us understand why an error happens.
    
    Co-authored-by: Richard Hallows <jeddy3@users.noreply.github.com>
    ybiquitous and jeddy3 authored Jan 20, 2024
    Configuration menu
    Copy the full SHA
    eebb786 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2024

  1. Document dependency name support for --custom-formatter in CHANGELOG (

    #7481)
    
    This change retroactively adds a changelog item in the 16.0.0 section.
    
    For background of this change, see:
    #5192 (comment)
    ybiquitous authored Jan 21, 2024
    Configuration menu
    Copy the full SHA
    b741dea View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Fix combinator example in selector-max-compound-selectors README (#…

    …7485)
    
    A whitespace represents a *descendant combinator*.
    ybiquitous authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    4ae7450 View commit details
    Browse the repository at this point in the history
  2. Fix custom-property-no-missing-var-function false positives for pro…

    …perties that can contain author-defined identifiers (#7478)
    ybiquitous authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    1263c03 View commit details
    Browse the repository at this point in the history
  3. Bump rollup from 4.9.5 to 4.9.6 (#7489)

    Bumps [rollup](https://github.com/rollup/rollup) from 4.9.5 to 4.9.6.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v4.9.5...v4.9.6)
    
    ---
    updated-dependencies:
    - dependency-name: rollup
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    baaf8f7 View commit details
    Browse the repository at this point in the history
  4. Add GitHub action to change the label and add a warning comment on is…

    …sues older than a month (#7486)
    
    Co-authored-by: Richard Hallows <jeddy3@users.noreply.github.com>
    ybiquitous and jeddy3 authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    0073ab6 View commit details
    Browse the repository at this point in the history
  5. Provide repository info to gh command in GitHub action (#7491)

    This fixes the following error in the GitHub action:
    
    ```
    failed to run git: fatal: not a git repository (or any of the parent directories): .git
    ```
    
    https://github.com/stylelint/stylelint/actions/runs/7609612527/job/20721207993#step:2:19
    
    The failure reason is that the `gh` command tries reading the `.git` repository.
    This change provides the repository info through an environment variable supported by `gh`.
    (see also https://cli.github.com/manual/gh_help_environment)
    ybiquitous authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e86c9cd View commit details
    Browse the repository at this point in the history
  6. Fix selector-pseudo-class-no-unknown false positives for :seeking

    …, the media loading state and sound state pseudo-classes (#7490)
    Mouvedia authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    a889974 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f02d168 View commit details
    Browse the repository at this point in the history
  8. Fix report flags not reporting on subsequent runs when cache is used (#…

    …7483)
    
    The bug's reason is that the `stylelintError`/`stylelintWarning` properties
    in a lint result object are not set when `styelint-disable` comment problems are reported.
    
    Also, this change refactors the code around `styelint-disable` comments
    to make it more readable and prevent possible bugs.
    
    The new code uses [`Result#warn()`](https://postcss.org/api/#result-warn) in PostCSS for a comment node,
    like reporting a normal rule problem.
    ybiquitous authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    382961f View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. Bump husky from 8.0.3 to 9.0.6 (#7500)

    * Bump husky from 8.0.3 to 9.0.6
    
    Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.0.6.
    - [Release notes](https://github.com/typicode/husky/releases)
    - [Commits](typicode/husky@v8.0.3...v9.0.6)
    
    ---
    updated-dependencies:
    - dependency-name: husky
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * Follow husky v9
    
    See https://github.com/typicode/husky/releases/tag/v9.0.1
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
    dependabot[bot] and ybiquitous authored Jan 29, 2024
    Configuration menu
    Copy the full SHA
    3de4eba View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. Fix benchmark script (#7504)

    This fixes the broken benchmark script (`npm run benchmark`)
    The error reason is that `rules[ruleName]` has returned a `Promise` since 16.0.0.
    
    ```sh-session
    $ npm run benchmark-rule -- value-keyword-case lower
    ...
    const rule = ruleFunc(primary, secondary, context);
                 ^
    
    TypeError: ruleFunc is not a function
    ...
    ```
    
    Also, this changes `parserOptions.ecmaVersion` in the ESLint config to allow top-level `await`.
    ybiquitous authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    398d3a8 View commit details
    Browse the repository at this point in the history
  2. Fix function-calc-no-unspaced-operator performance (#7505)

    How to measure:
    
    ```shell
    npm run -s benchmark-rule -- function-calc-no-unspaced-operator true
    ```
    
    Before:
    
    ```
    Warnings: 0
    Mean: 125.72145828571429 ms
    Deviation: 14.960783775263804 ms
    ```
    
    After:
    
    ```
    Warnings: 0
    Mean: 110.21394642857142 ms
    Deviation: 10.1318139617483 ms
    ```
    ybiquitous authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    5e2eff7 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Configuration menu
    Copy the full SHA
    328544d View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Prepare 16.2.1 (#7479)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Feb 1, 2024
    Configuration menu
    Copy the full SHA
    52cb83f View commit details
    Browse the repository at this point in the history
  2. 16.2.1

    ybiquitous committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    5c68274 View commit details
    Browse the repository at this point in the history
Loading