From a74d3c01352a4b9a935677ed76f2bb5fdec89f4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Pires?= Date: Wed, 10 Apr 2024 11:20:12 +0100 Subject: [PATCH 1/8] bump packages; --- .circleci/config.yml | 5 +- .dockerignore | 26 +- .github/CODEOWNERS | 2 +- .github/dependabot.yml | 30 +- .github/workflows/comment_issue.yml | 194 +- .github/workflows/create_issue.yml | 180 +- .github/workflows/create_issue_on_label.yml | 164 +- .scalafmt.conf | 40 +- Dockerfile | 4 +- README.md | 133 +- build.sbt | 4 +- ...stylelint-config-recommended-standard.json | 312 +-- docs/description/alpha-value-notation.md | 4 +- docs/description/annotation-no-unknown.md | 2 +- docs/description/at-rule-allowed-list.md | 2 +- docs/description/at-rule-disallowed-list.md | 2 +- docs/description/at-rule-empty-line-before.md | 2 +- docs/description/at-rule-no-unknown.md | 2 +- docs/description/at-rule-no-vendor-prefix.md | 4 +- .../at-rule-property-required-list.md | 2 +- docs/description/color-function-notation.md | 4 +- docs/description/color-hex-alpha.md | 2 +- docs/description/color-hex-length.md | 4 +- docs/description/color-no-hex.md | 2 +- docs/description/color-no-invalid-hex.md | 2 +- docs/description/comment-empty-line-before.md | 2 +- docs/description/comment-no-empty.md | 3 +- docs/description/comment-pattern.md | 2 +- docs/description/comment-whitespace-inside.md | 5 +- .../comment-word-disallowed-list.md | 5 +- docs/description/custom-media-pattern.md | 2 +- .../custom-property-empty-line-before.md | 2 +- ...custom-property-no-missing-var-function.md | 13 +- docs/description/custom-property-pattern.md | 2 +- ...on-block-no-duplicate-custom-properties.md | 2 +- ...claration-block-no-duplicate-properties.md | 4 +- ...-block-no-redundant-longhand-properties.md | 60 +- ...n-block-no-shorthand-property-overrides.md | 2 +- ...tion-block-single-line-max-declarations.md | 2 +- .../declaration-empty-line-before.md | 4 +- .../declaration-property-max-values.md | 2 +- .../declaration-property-unit-allowed-list.md | 2 +- ...claration-property-unit-disallowed-list.md | 2 +- ...declaration-property-value-allowed-list.md | 2 +- ...laration-property-value-disallowed-list.md | 2 +- .../declaration-property-value-no-unknown.md | 8 +- docs/description/description.json | 647 +----- docs/description/font-family-name-quotes.md | 5 +- .../font-family-no-duplicate-names.md | 3 +- docs/description/font-weight-notation.md | 2 +- docs/description/function-allowed-list.md | 2 +- .../function-calc-no-unspaced-operator.md | 2 +- docs/description/function-disallowed-list.md | 2 +- docs/description/function-name-case.md | 4 +- docs/description/function-no-unknown.md | 2 +- docs/description/function-url-quotes.md | 2 +- .../function-url-scheme-allowed-list.md | 2 +- .../function-url-scheme-disallowed-list.md | 2 +- docs/description/hue-degree-notation.md | 4 +- docs/description/import-notation.md | 2 +- .../keyframe-block-no-duplicate-selectors.md | 2 +- .../description/keyframe-selector-notation.md | 4 +- docs/description/keyframes-name-pattern.md | 2 +- docs/description/length-zero-no-unit.md | 2 +- docs/description/lightness-notation.md | 116 + docs/description/max-nesting-depth.md | 63 +- .../media-feature-name-allowed-list.md | 2 +- .../media-feature-name-disallowed-list.md | 2 +- .../media-feature-name-no-unknown.md | 2 +- .../media-feature-name-no-vendor-prefix.md | 2 +- .../media-feature-name-value-allowed-list.md | 2 +- .../media-feature-name-value-no-unknown.md | 4 +- .../media-feature-range-notation.md | 4 +- docs/description/media-query-no-invalid.md | 6 +- docs/description/no-descending-specificity.md | 2 +- .../no-duplicate-at-import-rules.md | 2 +- docs/description/no-duplicate-selectors.md | 2 +- docs/description/no-unknown-animations.md | 2 +- .../no-unknown-custom-properties.md | 4 +- docs/description/number-max-precision.md | 2 +- docs/description/property-allowed-list.md | 2 +- docs/description/property-disallowed-list.md | 2 +- docs/description/property-no-unknown.md | 2 +- docs/description/property-no-vendor-prefix.md | 4 +- docs/description/rule-empty-line-before.md | 2 +- .../rule-selector-property-disallowed-list.md | 2 +- .../selector-anb-no-unmatchable.md | 2 +- ...selector-attribute-name-disallowed-list.md | 2 +- ...elector-attribute-operator-allowed-list.md | 2 +- ...ctor-attribute-operator-disallowed-list.md | 2 +- docs/description/selector-attribute-quotes.md | 2 +- docs/description/selector-class-pattern.md | 2 +- .../selector-combinator-allowed-list.md | 2 +- .../selector-combinator-disallowed-list.md | 2 +- docs/description/selector-disallowed-list.md | 25 +- docs/description/selector-id-pattern.md | 2 +- docs/description/selector-max-attribute.md | 2 +- docs/description/selector-max-class.md | 2 +- docs/description/selector-max-combinators.md | 2 +- .../selector-max-compound-selectors.md | 77 +- docs/description/selector-max-id.md | 30 +- docs/description/selector-max-pseudo-class.md | 2 +- docs/description/selector-max-specificity.md | 2 +- docs/description/selector-max-type.md | 2 +- docs/description/selector-max-universal.md | 2 +- docs/description/selector-nested-pattern.md | 2 +- .../selector-no-qualifying-type.md | 2 +- docs/description/selector-no-vendor-prefix.md | 4 +- docs/description/selector-not-notation.md | 4 +- .../selector-pseudo-class-allowed-list.md | 2 +- .../selector-pseudo-class-disallowed-list.md | 2 +- .../selector-pseudo-class-no-unknown.md | 2 +- .../selector-pseudo-element-allowed-list.md | 2 +- .../selector-pseudo-element-colon-notation.md | 2 +- ...selector-pseudo-element-disallowed-list.md | 2 +- .../selector-pseudo-element-no-unknown.md | 2 +- docs/description/selector-type-case.md | 4 +- docs/description/selector-type-no-unknown.md | 2 +- .../shorthand-property-no-redundant-values.md | 4 +- docs/description/time-min-milliseconds.md | 2 +- docs/description/unit-allowed-list.md | 2 +- docs/description/unit-disallowed-list.md | 2 +- docs/description/unit-no-unknown.md | 2 +- docs/description/value-keyword-case.md | 4 +- docs/description/value-no-vendor-prefix.md | 4 +- .../all-patterns-config/patterns.xml | 14 +- .../all-patterns-config/results.xml | 18 +- .../all-patterns-config/src/.stylelintrc | 48 +- .../all-patterns-config/src/noTestResults.css | 6 +- docs/multiple-tests/no-crash/patterns.xml | 14 +- docs/multiple-tests/no-crash/results.xml | 4 +- docs/multiple-tests/no-crash/src/.stylelintrc | 10 +- .../no-crash/src/noTestResults.css | 6 +- .../pass-default-parameter/patterns.xml | 16 +- .../pass-default-parameter/results.xml | 12 +- .../pass-default-parameter/src/test.css | 6 +- .../with-config-file/patterns.xml | 14 +- .../with-config-file/results.xml | 60 +- .../with-config-file/src/.stylelintrc | 118 +- .../with-config-file/src/test1.css | 42 +- .../with-config-file/src/test2.less | 42 +- .../with-config-file/src/test3.scss | 42 +- docs/patterns.json | 790 +------ docs/tool-description.md | 2 +- package-lock.json | 1969 ++++++++++------- package.json | 34 +- project/plugins.sbt | 2 +- 147 files changed, 2486 insertions(+), 3177 deletions(-) create mode 100644 docs/description/lightness-notation.md diff --git a/.circleci/config.yml b/.circleci/config.yml index 13150f7f..7fee7fc6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,11 +1,10 @@ version: 2.1 orbs: - codacy: codacy/base@10.8.0 - codacy_plugins_test: codacy/plugins-test@1.1.1 + codacy: codacy/base@11.2.0 + codacy_plugins_test: codacy/plugins-test@2.0.11 workflows: - version: 2 compile_test_deploy: jobs: - codacy/checkout_and_version: diff --git a/.dockerignore b/.dockerignore index 1c6ca258..a6c17130 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,13 +1,13 @@ -# Ignore everything -** - -# Allow files and directories -!/src -!/package.json -!/package-lock.json -!/docs -!/target/universal/stage - -# Ignore unnecessary files inside allowed directories -# This should go after the allowed directories -**/.DS_Store +# Ignore everything +** + +# Allow files and directories +!/src +!/package.json +!/package-lock.json +!/docs +!/target/universal/stage + +# Ignore unnecessary files inside allowed directories +# This should go after the allowed directories +**/.DS_Store diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 30f4c103..0ae339e4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @codacy/toss +* @codacy/toss diff --git a/.github/dependabot.yml b/.github/dependabot.yml index abf320b6..05e64c53 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,15 +1,15 @@ -version: 2 -updates: -- package-ecosystem: npm - directory: "/" - schedule: - interval: daily - timezone: Europe/Lisbon - open-pull-requests-limit: 10 - ignore: - - dependency-name: stylelint-config-standard - versions: - - 21.0.0 - - dependency-name: stylelint-config-recommended - versions: - - 4.0.0 +version: 2 +updates: +- package-ecosystem: npm + directory: "/" + schedule: + interval: daily + timezone: Europe/Lisbon + open-pull-requests-limit: 10 + ignore: + - dependency-name: stylelint-config-standard + versions: + - 21.0.0 + - dependency-name: stylelint-config-recommended + versions: + - 4.0.0 diff --git a/.github/workflows/comment_issue.yml b/.github/workflows/comment_issue.yml index 12fb218e..be8d39bc 100644 --- a/.github/workflows/comment_issue.yml +++ b/.github/workflows/comment_issue.yml @@ -1,97 +1,97 @@ -name: Comment issue on Jira - -on: - issue_comment: - types: [created] - -jobs: - jira: - env: - JIRA_CREATE_COMMENT_AUTO: ${{ secrets.JIRA_CREATE_COMMENT_AUTO }} - runs-on: ubuntu-latest - steps: - - - name: Start workflow if JIRA_CREATE_COMMENT_AUTO is enabled - if: env.JIRA_CREATE_COMMENT_AUTO == 'true' - run: echo "Starting workflow" - - - name: Check GitHub Issue type - if: env.JIRA_CREATE_COMMENT_AUTO == 'true' - id: github_issue_type - uses: actions/github-script@v2.0.0 - with: - result-encoding: string - script: | - // An Issue can be a pull request, you can identify pull requests by the pull_request key - const pullRequest = ${{ toJson(github.event.issue.pull_request) }} - if(pullRequest) { - return "pull-request" - } else { - return "issue" - } - - - name: Check if GitHub Issue has JIRA_ISSUE_LABEL - if: env.JIRA_CREATE_COMMENT_AUTO == 'true' - id: github_issue_has_jira_issue_label - uses: actions/github-script@v2.0.0 - env: - JIRA_ISSUE_LABEL: ${{ secrets.JIRA_ISSUE_LABEL }} - with: - result-encoding: string - script: | - const labels = ${{ toJson(github.event.issue.labels) }} - if(labels.find(label => label.name == process.env.JIRA_ISSUE_LABEL)) { - return "true" - } else { - return "false" - } - - - name: Continue workflow only for Issues (not Pull Requests) tagged with JIRA_ISSUE_LABEL - if: env.JIRA_CREATE_COMMENT_AUTO == 'true' && env.GITHUB_ISSUE_TYPE == 'issue' && env.GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL == 'true' - env: - GITHUB_ISSUE_TYPE: ${{ steps.github_issue_type.outputs.result }} - GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL: ${{ steps.github_issue_has_jira_issue_label.outputs.result }} - run: echo "GitHub Issue is tracked on Jira, eligilbe to be commented" - - - name: Jira Login - if: env.JIRA_CREATE_COMMENT_AUTO == 'true' && env.GITHUB_ISSUE_TYPE == 'issue' && env.GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL == 'true' - id: login - uses: atlassian/gajira-login@v2.0.0 - env: - GITHUB_ISSUE_TYPE: ${{ steps.github_issue_type.outputs.result }} - GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL: ${{ steps.github_issue_has_jira_issue_label.outputs.result }} - JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} - JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} - JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} - - - name: Extract Jira number - if: env.JIRA_CREATE_COMMENT_AUTO == 'true' && env.GITHUB_ISSUE_TYPE == 'issue' && env.GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL == 'true' - id: extract_jira_number - uses: actions/github-script@v2.0.0 - env: - GITHUB_ISSUE_TYPE: ${{ steps.github_issue_type.outputs.result }} - GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL: ${{ steps.github_issue_has_jira_issue_label.outputs.result }} - JIRA_PROJECT: ${{ secrets.JIRA_PROJECT }} - GITHUB_TITLE: ${{ github.event.issue.title }} - with: - script: | - const jiraTaskRegex = new RegExp(`\\\[(${process.env.JIRA_PROJECT}-[0-9]+?)\\\]`) - return process.env.GITHUB_TITLE.match(jiraTaskRegex)[1] - result-encoding: string - - - name: Jira Add comment on issue - if: env.JIRA_CREATE_COMMENT_AUTO == 'true' && env.GITHUB_ISSUE_TYPE == 'issue' && env.GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL == 'true' - id: add_comment_jira_issue - uses: atlassian/gajira-comment@v2.0.2 - env: - GITHUB_ISSUE_TYPE: ${{ steps.github_issue_type.outputs.result }} - GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL: ${{ steps.github_issue_has_jira_issue_label.outputs.result }} - with: - issue: ${{ steps.extract_jira_number.outputs.result }} - comment: | - GitHub Comment : ${{ github.event.comment.user.login }} - {quote}${{ github.event.comment.body }}{quote} - ---- - {panel} - _[Github permalink |${{ github.event.comment.html_url }}]_ - {panel} +name: Comment issue on Jira + +on: + issue_comment: + types: [created] + +jobs: + jira: + env: + JIRA_CREATE_COMMENT_AUTO: ${{ secrets.JIRA_CREATE_COMMENT_AUTO }} + runs-on: ubuntu-latest + steps: + + - name: Start workflow if JIRA_CREATE_COMMENT_AUTO is enabled + if: env.JIRA_CREATE_COMMENT_AUTO == 'true' + run: echo "Starting workflow" + + - name: Check GitHub Issue type + if: env.JIRA_CREATE_COMMENT_AUTO == 'true' + id: github_issue_type + uses: actions/github-script@v2.0.0 + with: + result-encoding: string + script: | + // An Issue can be a pull request, you can identify pull requests by the pull_request key + const pullRequest = ${{ toJson(github.event.issue.pull_request) }} + if(pullRequest) { + return "pull-request" + } else { + return "issue" + } + + - name: Check if GitHub Issue has JIRA_ISSUE_LABEL + if: env.JIRA_CREATE_COMMENT_AUTO == 'true' + id: github_issue_has_jira_issue_label + uses: actions/github-script@v2.0.0 + env: + JIRA_ISSUE_LABEL: ${{ secrets.JIRA_ISSUE_LABEL }} + with: + result-encoding: string + script: | + const labels = ${{ toJson(github.event.issue.labels) }} + if(labels.find(label => label.name == process.env.JIRA_ISSUE_LABEL)) { + return "true" + } else { + return "false" + } + + - name: Continue workflow only for Issues (not Pull Requests) tagged with JIRA_ISSUE_LABEL + if: env.JIRA_CREATE_COMMENT_AUTO == 'true' && env.GITHUB_ISSUE_TYPE == 'issue' && env.GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL == 'true' + env: + GITHUB_ISSUE_TYPE: ${{ steps.github_issue_type.outputs.result }} + GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL: ${{ steps.github_issue_has_jira_issue_label.outputs.result }} + run: echo "GitHub Issue is tracked on Jira, eligilbe to be commented" + + - name: Jira Login + if: env.JIRA_CREATE_COMMENT_AUTO == 'true' && env.GITHUB_ISSUE_TYPE == 'issue' && env.GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL == 'true' + id: login + uses: atlassian/gajira-login@v2.0.0 + env: + GITHUB_ISSUE_TYPE: ${{ steps.github_issue_type.outputs.result }} + GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL: ${{ steps.github_issue_has_jira_issue_label.outputs.result }} + JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} + JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} + JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} + + - name: Extract Jira number + if: env.JIRA_CREATE_COMMENT_AUTO == 'true' && env.GITHUB_ISSUE_TYPE == 'issue' && env.GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL == 'true' + id: extract_jira_number + uses: actions/github-script@v2.0.0 + env: + GITHUB_ISSUE_TYPE: ${{ steps.github_issue_type.outputs.result }} + GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL: ${{ steps.github_issue_has_jira_issue_label.outputs.result }} + JIRA_PROJECT: ${{ secrets.JIRA_PROJECT }} + GITHUB_TITLE: ${{ github.event.issue.title }} + with: + script: | + const jiraTaskRegex = new RegExp(`\\\[(${process.env.JIRA_PROJECT}-[0-9]+?)\\\]`) + return process.env.GITHUB_TITLE.match(jiraTaskRegex)[1] + result-encoding: string + + - name: Jira Add comment on issue + if: env.JIRA_CREATE_COMMENT_AUTO == 'true' && env.GITHUB_ISSUE_TYPE == 'issue' && env.GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL == 'true' + id: add_comment_jira_issue + uses: atlassian/gajira-comment@v2.0.2 + env: + GITHUB_ISSUE_TYPE: ${{ steps.github_issue_type.outputs.result }} + GITHUB_ISSUE_HAS_JIRA_ISSUE_LABEL: ${{ steps.github_issue_has_jira_issue_label.outputs.result }} + with: + issue: ${{ steps.extract_jira_number.outputs.result }} + comment: | + GitHub Comment : ${{ github.event.comment.user.login }} + {quote}${{ github.event.comment.body }}{quote} + ---- + {panel} + _[Github permalink |${{ github.event.comment.html_url }}]_ + {panel} diff --git a/.github/workflows/create_issue.yml b/.github/workflows/create_issue.yml index 14c9f3b9..e0b93275 100644 --- a/.github/workflows/create_issue.yml +++ b/.github/workflows/create_issue.yml @@ -1,90 +1,90 @@ -name: Create issue on Jira - -on: - issues: - types: [opened] - -jobs: - jira: - env: - JIRA_CREATE_ISSUE_AUTO: ${{ secrets.JIRA_CREATE_ISSUE_AUTO }} - runs-on: ubuntu-latest - steps: - - - name: Start workflow if JIRA_CREATE_ISSUE_AUTO is enabled - if: env.JIRA_CREATE_ISSUE_AUTO == 'true' - run: echo "Starting workflow" - - - name: Jira Login - if: env.JIRA_CREATE_ISSUE_AUTO == 'true' - id: login - uses: atlassian/gajira-login@v2.0.0 - env: - JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} - JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} - JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} - - - name: Jira Create issue - if: env.JIRA_CREATE_ISSUE_AUTO == 'true' - id: create_jira_issue - uses: atlassian/gajira-create@v2.0.1 - with: - project: ${{ secrets.JIRA_PROJECT }} - issuetype: ${{ secrets.JIRA_ISSUE_TYPE }} - summary: "[GH#${{ github.event.issue.number }}] ${{ github.event.issue.title }}" - description: | - ${{ github.event.issue.body }} - ---- - {panel} - _[Github permalink |${{ github.event.issue.html_url }}]_ - {panel} - - - name: Update Jira issue if JIRA_UPDATE_ISSUE_BODY is defined - if: env.JIRA_CREATE_ISSUE_AUTO == 'true' && env.JIRA_UPDATE_ISSUE_BODY != '' - env: - JIRA_UPDATE_ISSUE_BODY: ${{ secrets.JIRA_UPDATE_ISSUE_BODY }} - run: > - curl - -u ${{ secrets.JIRA_USER_EMAIL }}:${{ secrets.JIRA_API_TOKEN }} - -X PUT - -H 'Content-Type: application/json' - -d '${{ env.JIRA_UPDATE_ISSUE_BODY }}' - ${{ secrets.JIRA_BASE_URL }}/rest/api/2/issue/${{ steps.create_jira_issue.outputs.issue }} - - - name: Update GitHub issue - if: env.JIRA_CREATE_ISSUE_AUTO == 'true' - uses: actions/github-script@v2.0.0 - env: - JIRA_ISSUE_NUMBER: ${{ steps.create_jira_issue.outputs.issue }} - GITHUB_ORIGINAL_TITLE: ${{ github.event.issue.title }} - JIRA_ISSUE_LABEL: ${{ secrets.JIRA_ISSUE_LABEL }} - with: - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - const newTitle = `[${process.env.JIRA_ISSUE_NUMBER}] ${process.env.GITHUB_ORIGINAL_TITLE}` - github.issues.update({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - title: newTitle - }) - github.issues.addLabels({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - labels: [process.env.JIRA_ISSUE_LABEL] - }) - - - - name: Add comment after sync - if: env.JIRA_CREATE_ISSUE_AUTO == 'true' - uses: actions/github-script@v2.0.0 - with: - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - github.issues.createComment({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: 'Internal ticket created : [${{ steps.create_jira_issue.outputs.issue }}](${{ secrets.JIRA_BASE_URL }}/browse/${{ steps.create_jira_issue.outputs.issue }})' - }) +name: Create issue on Jira + +on: + issues: + types: [opened] + +jobs: + jira: + env: + JIRA_CREATE_ISSUE_AUTO: ${{ secrets.JIRA_CREATE_ISSUE_AUTO }} + runs-on: ubuntu-latest + steps: + + - name: Start workflow if JIRA_CREATE_ISSUE_AUTO is enabled + if: env.JIRA_CREATE_ISSUE_AUTO == 'true' + run: echo "Starting workflow" + + - name: Jira Login + if: env.JIRA_CREATE_ISSUE_AUTO == 'true' + id: login + uses: atlassian/gajira-login@v2.0.0 + env: + JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} + JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} + JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} + + - name: Jira Create issue + if: env.JIRA_CREATE_ISSUE_AUTO == 'true' + id: create_jira_issue + uses: atlassian/gajira-create@v2.0.1 + with: + project: ${{ secrets.JIRA_PROJECT }} + issuetype: ${{ secrets.JIRA_ISSUE_TYPE }} + summary: "[GH#${{ github.event.issue.number }}] ${{ github.event.issue.title }}" + description: | + ${{ github.event.issue.body }} + ---- + {panel} + _[Github permalink |${{ github.event.issue.html_url }}]_ + {panel} + + - name: Update Jira issue if JIRA_UPDATE_ISSUE_BODY is defined + if: env.JIRA_CREATE_ISSUE_AUTO == 'true' && env.JIRA_UPDATE_ISSUE_BODY != '' + env: + JIRA_UPDATE_ISSUE_BODY: ${{ secrets.JIRA_UPDATE_ISSUE_BODY }} + run: > + curl + -u ${{ secrets.JIRA_USER_EMAIL }}:${{ secrets.JIRA_API_TOKEN }} + -X PUT + -H 'Content-Type: application/json' + -d '${{ env.JIRA_UPDATE_ISSUE_BODY }}' + ${{ secrets.JIRA_BASE_URL }}/rest/api/2/issue/${{ steps.create_jira_issue.outputs.issue }} + + - name: Update GitHub issue + if: env.JIRA_CREATE_ISSUE_AUTO == 'true' + uses: actions/github-script@v2.0.0 + env: + JIRA_ISSUE_NUMBER: ${{ steps.create_jira_issue.outputs.issue }} + GITHUB_ORIGINAL_TITLE: ${{ github.event.issue.title }} + JIRA_ISSUE_LABEL: ${{ secrets.JIRA_ISSUE_LABEL }} + with: + github-token: ${{secrets.GITHUB_TOKEN}} + script: | + const newTitle = `[${process.env.JIRA_ISSUE_NUMBER}] ${process.env.GITHUB_ORIGINAL_TITLE}` + github.issues.update({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + title: newTitle + }) + github.issues.addLabels({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + labels: [process.env.JIRA_ISSUE_LABEL] + }) + + + - name: Add comment after sync + if: env.JIRA_CREATE_ISSUE_AUTO == 'true' + uses: actions/github-script@v2.0.0 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + script: | + github.issues.createComment({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: 'Internal ticket created : [${{ steps.create_jira_issue.outputs.issue }}](${{ secrets.JIRA_BASE_URL }}/browse/${{ steps.create_jira_issue.outputs.issue }})' + }) diff --git a/.github/workflows/create_issue_on_label.yml b/.github/workflows/create_issue_on_label.yml index de4ab93e..af622e2d 100644 --- a/.github/workflows/create_issue_on_label.yml +++ b/.github/workflows/create_issue_on_label.yml @@ -1,82 +1,82 @@ -name: Create issue on Jira when labeled with JIRA_ISSUE_LABEL - -on: - issues: - types: [labeled] - -jobs: - jira: - env: - JIRA_ISSUE_LABEL: ${{ secrets.JIRA_ISSUE_LABEL }} - runs-on: ubuntu-latest - steps: - - - name: Start workflow if GitHub issue is tagged with JIRA_ISSUE_LABEL - if: github.event.label.name == env.JIRA_ISSUE_LABEL - run: echo "Starting workflow" - - - name: Jira Login - if: github.event.label.name == env.JIRA_ISSUE_LABEL - id: login - uses: atlassian/gajira-login@v2.0.0 - env: - JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} - JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} - JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} - - - name: Jira Create issue - if: github.event.label.name == env.JIRA_ISSUE_LABEL - id: create_jira_issue - uses: atlassian/gajira-create@v2.0.1 - with: - project: ${{ secrets.JIRA_PROJECT }} - issuetype: ${{ secrets.JIRA_ISSUE_TYPE }} - summary: "[GH#${{ github.event.issue.number }}] ${{ github.event.issue.title }}" - description: | - ${{ github.event.issue.body }} - ---- - {panel} - _[Github permalink |${{ github.event.issue.html_url }}]_ - {panel} - - - name: Update Jira issue if JIRA_UPDATE_ISSUE_BODY is defined - if: github.event.label.name == env.JIRA_ISSUE_LABEL && env.JIRA_UPDATE_ISSUE_BODY != '' - env: - JIRA_UPDATE_ISSUE_BODY: ${{ secrets.JIRA_UPDATE_ISSUE_BODY }} - run: > - curl - -u ${{ secrets.JIRA_USER_EMAIL }}:${{ secrets.JIRA_API_TOKEN }} - -X PUT - -H 'Content-Type: application/json' - -d '${{ env.JIRA_UPDATE_ISSUE_BODY }}' - ${{ secrets.JIRA_BASE_URL }}/rest/api/2/issue/${{ steps.create_jira_issue.outputs.issue }} - - - name: Change Title - if: github.event.label.name == env.JIRA_ISSUE_LABEL - uses: actions/github-script@v2.0.0 - env: - JIRA_ISSUE_NUMBER: ${{ steps.create_jira_issue.outputs.issue }} - GITHUB_ORIGINAL_TITLE: ${{ github.event.issue.title }} - with: - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - const newTitle = `[${process.env.JIRA_ISSUE_NUMBER}] ${process.env.GITHUB_ORIGINAL_TITLE}` - github.issues.update({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - title: newTitle - }) - - - name: Add comment after sync - if: github.event.label.name == env.JIRA_ISSUE_LABEL - uses: actions/github-script@v2.0.0 - with: - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - github.issues.createComment({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: 'Internal ticket created : [${{ steps.create_jira_issue.outputs.issue }}](${{ secrets.JIRA_BASE_URL }}/browse/${{ steps.create_jira_issue.outputs.issue }})' - }) +name: Create issue on Jira when labeled with JIRA_ISSUE_LABEL + +on: + issues: + types: [labeled] + +jobs: + jira: + env: + JIRA_ISSUE_LABEL: ${{ secrets.JIRA_ISSUE_LABEL }} + runs-on: ubuntu-latest + steps: + + - name: Start workflow if GitHub issue is tagged with JIRA_ISSUE_LABEL + if: github.event.label.name == env.JIRA_ISSUE_LABEL + run: echo "Starting workflow" + + - name: Jira Login + if: github.event.label.name == env.JIRA_ISSUE_LABEL + id: login + uses: atlassian/gajira-login@v2.0.0 + env: + JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} + JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} + JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} + + - name: Jira Create issue + if: github.event.label.name == env.JIRA_ISSUE_LABEL + id: create_jira_issue + uses: atlassian/gajira-create@v2.0.1 + with: + project: ${{ secrets.JIRA_PROJECT }} + issuetype: ${{ secrets.JIRA_ISSUE_TYPE }} + summary: "[GH#${{ github.event.issue.number }}] ${{ github.event.issue.title }}" + description: | + ${{ github.event.issue.body }} + ---- + {panel} + _[Github permalink |${{ github.event.issue.html_url }}]_ + {panel} + + - name: Update Jira issue if JIRA_UPDATE_ISSUE_BODY is defined + if: github.event.label.name == env.JIRA_ISSUE_LABEL && env.JIRA_UPDATE_ISSUE_BODY != '' + env: + JIRA_UPDATE_ISSUE_BODY: ${{ secrets.JIRA_UPDATE_ISSUE_BODY }} + run: > + curl + -u ${{ secrets.JIRA_USER_EMAIL }}:${{ secrets.JIRA_API_TOKEN }} + -X PUT + -H 'Content-Type: application/json' + -d '${{ env.JIRA_UPDATE_ISSUE_BODY }}' + ${{ secrets.JIRA_BASE_URL }}/rest/api/2/issue/${{ steps.create_jira_issue.outputs.issue }} + + - name: Change Title + if: github.event.label.name == env.JIRA_ISSUE_LABEL + uses: actions/github-script@v2.0.0 + env: + JIRA_ISSUE_NUMBER: ${{ steps.create_jira_issue.outputs.issue }} + GITHUB_ORIGINAL_TITLE: ${{ github.event.issue.title }} + with: + github-token: ${{secrets.GITHUB_TOKEN}} + script: | + const newTitle = `[${process.env.JIRA_ISSUE_NUMBER}] ${process.env.GITHUB_ORIGINAL_TITLE}` + github.issues.update({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + title: newTitle + }) + + - name: Add comment after sync + if: github.event.label.name == env.JIRA_ISSUE_LABEL + uses: actions/github-script@v2.0.0 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + script: | + github.issues.createComment({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: 'Internal ticket created : [${{ steps.create_jira_issue.outputs.issue }}](${{ secrets.JIRA_BASE_URL }}/browse/${{ steps.create_jira_issue.outputs.issue }})' + }) diff --git a/.scalafmt.conf b/.scalafmt.conf index 593d32bc..7035402c 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,20 +1,20 @@ -version = "1.5.1" -style = IntelliJ -project.excludeFilters = ["target/.*"] -maxColumn = 120 -continuationIndent.callSite = 2 -continuationIndent.defnSite = 2 -align = none -align.openParenCallSite = false -align.openParenDefnSite = true -newlines.alwaysBeforeTopLevelStatements = true -newlines.sometimesBeforeColonInMethodReturnType = true -spaces.afterKeywordBeforeParen = true -binPack.parentConstructors = false -includeCurlyBraceInSelectChains = true -includeCurlyBraceInSelectChains = false -optIn.breakChainOnFirstMethodDot = false -newlines.penalizeSingleSelectMultiArgList = false -binPack.literalArgumentLists = true -danglingParentheses = false -binPack.literalsMinArgCount = 1 +version = "1.5.1" +style = IntelliJ +project.excludeFilters = ["target/.*"] +maxColumn = 120 +continuationIndent.callSite = 2 +continuationIndent.defnSite = 2 +align = none +align.openParenCallSite = false +align.openParenDefnSite = true +newlines.alwaysBeforeTopLevelStatements = true +newlines.sometimesBeforeColonInMethodReturnType = true +spaces.afterKeywordBeforeParen = true +binPack.parentConstructors = false +includeCurlyBraceInSelectChains = true +includeCurlyBraceInSelectChains = false +optIn.breakChainOnFirstMethodDot = false +newlines.penalizeSingleSelectMultiArgList = false +binPack.literalArgumentLists = true +danglingParentheses = false +binPack.literalsMinArgCount = 1 diff --git a/Dockerfile b/Dockerfile index 341087ba..28566616 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM alpine:3.18 +FROM alpine:3.19 WORKDIR /workdir COPY package*.json ./ RUN adduser -u 2004 -D docker &&\ apk --no-cache add openjdk11-jre-headless bash nodejs npm &&\ - npm install --legacy-peer-deps --omit=dev &&\ + npm install --omit=dev &&\ apk del npm COPY docs /docs COPY target/universal/stage/ /workdir/ diff --git a/README.md b/README.md index cd693ff9..e2459201 100644 --- a/README.md +++ b/README.md @@ -1,69 +1,64 @@ -# codacy-stylelint - -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/80607506ff8c4a7f826bbe0b643ba16d)](https://www.codacy.com/gh/codacy/codacy-stylelint?utm_source=github.com&utm_medium=referral&utm_content=codacy/codacy-stylelint&utm_campaign=Badge_Grade) -[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/80607506ff8c4a7f826bbe0b643ba16d)](https://www.codacy.com/gh/codacy/codacy-stylelint?utm_source=github.com&utm_medium=referral&utm_content=codacy/codacy-stylelint&utm_campaign=Badge_Coverage) -[![CircleCI](https://circleci.com/gh/codacy/codacy-stylelint.svg?style=svg)](https://circleci.com/gh/codacy/codacy-stylelint) -[![Docker Version](https://images.microbadger.com/badges/version/codacy/codacy-stylelint.svg)](https://microbadger.com/images/codacy/codacy-stylelint "Get your own version badge on microbadger.com") - -Docker engine to allow Codacy to have [stylelint](https://github.com/stylelint/stylelint) support. - -## Usage - -You can create the docker by following these steps: - -1) Generate base image: -``` -docker build -t codacy-stylelint-base . -``` - -2) Generate tool image: -``` -sbt docker:publishLocal -``` - -The docker is ran with the following command: - -``` -docker run -it -v $srcDir:/src : -``` - -## Docs - -[Tool Developer Guide](https://support.codacy.com/hc/en-us/articles/207994725-Tool-Developer-Guide) - -[Tool Developer Guide - Using Scala](https://support.codacy.com/hc/en-us/articles/207280379-Tool-Developer-Guide-Using-Scala) - -## Test - -We use the [codacy-plugins-test](https://github.com/codacy/codacy-plugins-test) to test our external tools integration. -You can follow the instructions there to make sure your tool is working as expected. - -## Update tool version - -The tool is dependabot friendly, so it is automatically updated. - -## Generate Docs - -```sh -sbt "doc-generator/run" -``` - -## What is Codacy - -[Codacy](https://www.codacy.com/) is an Automated Code Review Tool that monitors your technical debt, helps you improve your code quality, teaches best practices to your developers, and helps you save time in Code Reviews. - -### Among Codacy’s features - -- Identify new Static Analysis issues -- Commit and Pull Request Analysis with GitHub, BitBucket/Stash, GitLab (and also direct git repositories) -- Auto-comments on Commits and Pull Requests -- Integrations with Slack, HipChat, Jira, YouTrack -- Track issues in Code Style, Security, Error Proneness, Performance, Unused Code and other categories - -Codacy also helps keep track of Code Coverage, Code Duplication, and Code Complexity. - -Codacy supports PHP, Python, Ruby, Java, JavaScript, and Scala, among others. - -### Free for Open Source - -Codacy is free for Open Source projects. +# codacy-stylelint + +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/80607506ff8c4a7f826bbe0b643ba16d)](https://www.codacy.com/gh/codacy/codacy-stylelint?utm_source=github.com&utm_medium=referral&utm_content=codacy/codacy-stylelint&utm_campaign=Badge_Grade) +[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/80607506ff8c4a7f826bbe0b643ba16d)](https://www.codacy.com/gh/codacy/codacy-stylelint?utm_source=github.com&utm_medium=referral&utm_content=codacy/codacy-stylelint&utm_campaign=Badge_Coverage) +[![CircleCI](https://circleci.com/gh/codacy/codacy-stylelint.svg?style=svg)](https://circleci.com/gh/codacy/codacy-stylelint) + +Docker engine to allow Codacy to have [stylelint](https://github.com/stylelint/stylelint) support. + +## Usage + +You can create the docker by following these steps: + +1) Generate base image: +```sh +docker build -t codacy-stylelint-base . +``` + +2) Generate tool image: +```sh +sbt docker:publishLocal +``` + +The docker is ran with the following command: + +```sh +docker run -it -v $srcDir:/src : +``` + +## Docs + +[Tool Developer Guide](https://support.codacy.com/hc/en-us/articles/207994725-Tool-Developer-Guide) + +[Tool Developer Guide - Using Scala](https://support.codacy.com/hc/en-us/articles/207280379-Tool-Developer-Guide-Using-Scala) + +## Test + +We use the [codacy-plugins-test](https://github.com/codacy/codacy-plugins-test) to test our external tools integration. +You can follow the instructions there to make sure your tool is working as expected. + +## Generate Docs + +```sh +sbt "doc-generator/run" +``` + +## What is Codacy + +[Codacy](https://www.codacy.com/) is an Automated Code Review Tool that monitors your technical debt, helps you improve your code quality, teaches best practices to your developers, and helps you save time in Code Reviews. + +### Among Codacy’s features + +- Identify new Static Analysis issues +- Commit and Pull Request Analysis with GitHub, BitBucket/Stash, GitLab (and also direct git repositories) +- Auto-comments on Commits and Pull Requests +- Integrations with Slack, HipChat, Jira, YouTrack +- Track issues in Code Style, Security, Error Proneness, Performance, Unused Code and other categories + +Codacy also helps keep track of Code Coverage, Code Duplication, and Code Complexity. + +Codacy supports PHP, Python, Ruby, Java, JavaScript, and Scala, among others. + +### Free for Open Source + +Codacy is free for Open Source projects. diff --git a/build.sbt b/build.sbt index b2db89b6..8db22b79 100644 --- a/build.sbt +++ b/build.sbt @@ -1,11 +1,11 @@ ThisBuild / scalaVersion := "2.13.11" -ThisBuild / libraryDependencies += "com.codacy" %% "codacy-engine-scala-seed" % "6.1.0" +ThisBuild / libraryDependencies += "com.codacy" %% "codacy-engine-scala-seed" % "6.1.2" ThisBuild / libraryDependencies += "com.github.pathikrit" %% "better-files" % "3.9.2" name := "codacy-stylelint" -lazy val `doc-generator` = project.settings(libraryDependencies += "com.vladsch.flexmark" % "flexmark-all" % "0.64.6") +lazy val `doc-generator` = project.settings(libraryDependencies += "com.vladsch.flexmark" % "flexmark-all" % "0.64.8") enablePlugins(JavaAppPackaging) diff --git a/doc-generator/src/main/resources/default_configs/stylelint-config-recommended-standard.json b/doc-generator/src/main/resources/default_configs/stylelint-config-recommended-standard.json index 575a1626..646df97c 100644 --- a/doc-generator/src/main/resources/default_configs/stylelint-config-recommended-standard.json +++ b/doc-generator/src/main/resources/default_configs/stylelint-config-recommended-standard.json @@ -1,156 +1,156 @@ -{ - "annotation-no-unknown": true, - "at-rule-no-unknown": true, - "block-no-empty": true, - "color-no-invalid-hex": true, - "comment-no-empty": true, - "custom-property-no-missing-var-function": true, - "declaration-block-no-duplicate-custom-properties": true, - "declaration-block-no-duplicate-properties": [ - true, - { - "ignore": ["consecutive-duplicates-with-different-syntaxes"] - } - ], - "declaration-block-no-shorthand-property-overrides": true, - "font-family-no-duplicate-names": true, - "font-family-no-missing-generic-family-keyword": true, - "function-calc-no-unspaced-operator": true, - "function-linear-gradient-no-nonstandard-direction": true, - "function-no-unknown": true, - "keyframe-block-no-duplicate-selectors": true, - "keyframe-declaration-no-important": true, - "media-feature-name-no-unknown": true, - "named-grid-areas-no-invalid": true, - "no-descending-specificity": true, - "no-duplicate-at-import-rules": true, - "no-duplicate-selectors": null, - "no-empty-source": true, - "no-invalid-double-slash-comments": true, - "no-invalid-position-at-import-rule": true, - "no-irregular-whitespace": true, - "property-no-unknown": true, - "selector-anb-no-unmatchable": true, - "selector-pseudo-class-no-unknown": true, - "selector-pseudo-element-no-unknown": true, - "selector-type-no-unknown": [ - true, - { - "ignore": ["custom-elements"] - } - ], - "string-no-newline": true, - "unit-no-unknown": true, - "alpha-value-notation": [ - "percentage", - { - "exceptProperties": [ - "opacity", - "fill-opacity", - "flood-opacity", - "stop-opacity", - "stroke-opacity" - ] - } - ], - "at-rule-empty-line-before": [ - "always", - { - "except": ["blockless-after-same-name-blockless", "first-nested"], - "ignore": ["after-comment"] - } - ], - "at-rule-no-vendor-prefix": true, - "color-function-notation": "modern", - "color-hex-length": "short", - "comment-empty-line-before": [ - "always", - { - "except": ["first-nested"], - "ignore": ["stylelint-commands"] - } - ], - "comment-whitespace-inside": "always", - "custom-property-empty-line-before": [ - "always", - { - "except": ["after-custom-property", "first-nested"], - "ignore": ["after-comment", "inside-single-line-block"] - } - ], - "custom-media-pattern": [ - "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", - { - "message": "(name) => `Expected custom media query name \"${name}\" to be kebab-case`" - } - ], - "custom-property-pattern": [ - "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", - { - "message": "(name) => `Expected custom media query name \"${name}\" to be kebab-case`" - } - ], - "declaration-block-no-redundant-longhand-properties": true, - "declaration-block-single-line-max-declarations": 1, - "declaration-empty-line-before": [ - "always", - { - "except": ["after-declaration", "first-nested"], - "ignore": ["after-comment", "inside-single-line-block"] - } - ], - "font-family-name-quotes": "always-where-recommended", - "function-name-case": "lower", - "function-url-quotes": "always", - "hue-degree-notation": "angle", - "import-notation": "url", - "keyframe-selector-notation": "percentage-unless-within-keyword-only-block", - "keyframes-name-pattern": [ - "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", - { - "message": "(name) => `Expected keyframe name \"${name}\" to be kebab-case`" - } - ], - "length-zero-no-unit": [ - true, - { - "ignore": ["custom-properties"] - } - ], - "media-feature-name-no-vendor-prefix": true, - "media-feature-range-notation": "context", - "number-max-precision": 4, - "property-no-vendor-prefix": true, - "rule-empty-line-before": [ - "always-multi-line", - { - "except": ["first-nested"], - "ignore": ["after-comment"] - } - ], - "selector-attribute-quotes": "always", - "selector-class-pattern": [ - "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", - { - "message": "(selector) => `Expected class selector \"${selector}\" to be kebab-case`" - } - ], - "selector-id-pattern": [ - "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", - { - "message": "(selector) => `Expected id selector \"${selector}\" to be kebab-case`" - } - ], - "selector-no-vendor-prefix": true, - "selector-not-notation": "complex", - "selector-pseudo-element-colon-notation": "double", - "selector-type-case": "lower", - "shorthand-property-no-redundant-values": true, - "value-keyword-case": "lower", - "value-no-vendor-prefix": [ - true, - { - "ignoreValues": ["box", "inline-box"] - } - ] -} +{ + "annotation-no-unknown": true, + "at-rule-no-unknown": true, + "block-no-empty": true, + "color-no-invalid-hex": true, + "comment-no-empty": true, + "custom-property-no-missing-var-function": true, + "declaration-block-no-duplicate-custom-properties": true, + "declaration-block-no-duplicate-properties": [ + true, + { + "ignore": ["consecutive-duplicates-with-different-syntaxes"] + } + ], + "declaration-block-no-shorthand-property-overrides": true, + "font-family-no-duplicate-names": true, + "font-family-no-missing-generic-family-keyword": true, + "function-calc-no-unspaced-operator": true, + "function-linear-gradient-no-nonstandard-direction": true, + "function-no-unknown": true, + "keyframe-block-no-duplicate-selectors": true, + "keyframe-declaration-no-important": true, + "media-feature-name-no-unknown": true, + "named-grid-areas-no-invalid": true, + "no-descending-specificity": true, + "no-duplicate-at-import-rules": true, + "no-duplicate-selectors": null, + "no-empty-source": true, + "no-invalid-double-slash-comments": true, + "no-invalid-position-at-import-rule": true, + "no-irregular-whitespace": true, + "property-no-unknown": true, + "selector-anb-no-unmatchable": true, + "selector-pseudo-class-no-unknown": true, + "selector-pseudo-element-no-unknown": true, + "selector-type-no-unknown": [ + true, + { + "ignore": ["custom-elements"] + } + ], + "string-no-newline": true, + "unit-no-unknown": true, + "alpha-value-notation": [ + "percentage", + { + "exceptProperties": [ + "opacity", + "fill-opacity", + "flood-opacity", + "stop-opacity", + "stroke-opacity" + ] + } + ], + "at-rule-empty-line-before": [ + "always", + { + "except": ["blockless-after-same-name-blockless", "first-nested"], + "ignore": ["after-comment"] + } + ], + "at-rule-no-vendor-prefix": true, + "color-function-notation": "modern", + "color-hex-length": "short", + "comment-empty-line-before": [ + "always", + { + "except": ["first-nested"], + "ignore": ["stylelint-commands"] + } + ], + "comment-whitespace-inside": "always", + "custom-property-empty-line-before": [ + "always", + { + "except": ["after-custom-property", "first-nested"], + "ignore": ["after-comment", "inside-single-line-block"] + } + ], + "custom-media-pattern": [ + "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", + { + "message": "(name) => `Expected custom media query name \"${name}\" to be kebab-case`" + } + ], + "custom-property-pattern": [ + "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", + { + "message": "(name) => `Expected custom media query name \"${name}\" to be kebab-case`" + } + ], + "declaration-block-no-redundant-longhand-properties": true, + "declaration-block-single-line-max-declarations": 1, + "declaration-empty-line-before": [ + "always", + { + "except": ["after-declaration", "first-nested"], + "ignore": ["after-comment", "inside-single-line-block"] + } + ], + "font-family-name-quotes": "always-where-recommended", + "function-name-case": "lower", + "function-url-quotes": "always", + "hue-degree-notation": "angle", + "import-notation": "url", + "keyframe-selector-notation": "percentage-unless-within-keyword-only-block", + "keyframes-name-pattern": [ + "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", + { + "message": "(name) => `Expected keyframe name \"${name}\" to be kebab-case`" + } + ], + "length-zero-no-unit": [ + true, + { + "ignore": ["custom-properties"] + } + ], + "media-feature-name-no-vendor-prefix": true, + "media-feature-range-notation": "context", + "number-max-precision": 4, + "property-no-vendor-prefix": true, + "rule-empty-line-before": [ + "always-multi-line", + { + "except": ["first-nested"], + "ignore": ["after-comment"] + } + ], + "selector-attribute-quotes": "always", + "selector-class-pattern": [ + "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", + { + "message": "(selector) => `Expected class selector \"${selector}\" to be kebab-case`" + } + ], + "selector-id-pattern": [ + "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$", + { + "message": "(selector) => `Expected id selector \"${selector}\" to be kebab-case`" + } + ], + "selector-no-vendor-prefix": true, + "selector-not-notation": "complex", + "selector-pseudo-element-colon-notation": "double", + "selector-type-case": "lower", + "shorthand-property-no-redundant-values": true, + "value-keyword-case": "lower", + "value-no-vendor-prefix": [ + true, + { + "ignoreValues": ["box", "inline-box"] + } + ] +} diff --git a/docs/description/alpha-value-notation.md b/docs/description/alpha-value-notation.md index 423af9b6..e67f3970 100644 --- a/docs/description/alpha-value-notation.md +++ b/docs/description/alpha-value-notation.md @@ -9,9 +9,9 @@ Specify percentage or number notation for alpha-values. * This notation */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/annotation-no-unknown.md b/docs/description/annotation-no-unknown.md index a92ccc07..8748c337 100644 --- a/docs/description/annotation-no-unknown.md +++ b/docs/description/annotation-no-unknown.md @@ -11,7 +11,7 @@ a { color: green !imprtant; } This rule considers annotations defined in the CSS Specifications, up to and including Editor's Drafts, to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/at-rule-allowed-list.md b/docs/description/at-rule-allowed-list.md index 65fe1ecb..13f2ced5 100644 --- a/docs/description/at-rule-allowed-list.md +++ b/docs/description/at-rule-allowed-list.md @@ -9,7 +9,7 @@ Specify a list of allowed at-rules. * At-rules like this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/at-rule-disallowed-list.md b/docs/description/at-rule-disallowed-list.md index 16e6742e..cc1af1b8 100644 --- a/docs/description/at-rule-disallowed-list.md +++ b/docs/description/at-rule-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed at-rules. * At-rules like this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/at-rule-empty-line-before.md b/docs/description/at-rule-empty-line-before.md index 8e12d259..3d769637 100644 --- a/docs/description/at-rule-empty-line-before.md +++ b/docs/description/at-rule-empty-line-before.md @@ -16,7 +16,7 @@ This rule ignores: - at-rules that are the very first node in the source - `@import` in Less. -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. We recommend to enable [`indentation`](https://github.com/stylelint/stylelint/tree/15.10.3/librulesindentationREADME.md) rule for better autofixing results with this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/at-rule-no-unknown.md b/docs/description/at-rule-no-unknown.md index 8b0e5b70..31b7e593 100644 --- a/docs/description/at-rule-no-unknown.md +++ b/docs/description/at-rule-no-unknown.md @@ -11,7 +11,7 @@ Disallow unknown at-rules. This rule considers at-rules defined in the CSS Specifications, up to and including Editor's Drafts, to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/at-rule-no-vendor-prefix.md b/docs/description/at-rule-no-vendor-prefix.md index 7caeb537..3ccb57b2 100644 --- a/docs/description/at-rule-no-vendor-prefix.md +++ b/docs/description/at-rule-no-vendor-prefix.md @@ -11,9 +11,9 @@ Disallow vendor prefixes for at-rules. This rule ignores non-standard vendor-prefixed at-rules that aren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer). -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate at-rules produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate at-rules produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/at-rule-property-required-list.md b/docs/description/at-rule-property-required-list.md index 6549501a..a25a2232 100644 --- a/docs/description/at-rule-property-required-list.md +++ b/docs/description/at-rule-property-required-list.md @@ -9,7 +9,7 @@ Specify a list of required properties for an at-rule. * At-rule and required property names */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/color-function-notation.md b/docs/description/color-function-notation.md index 8b74c98b..19b340cf 100644 --- a/docs/description/color-function-notation.md +++ b/docs/description/color-function-notation.md @@ -13,9 +13,9 @@ Modern color-functions use a comma-free syntax because functions in CSS are used For legacy reasons, `rgb()` and `hsl()` also supports an alternate syntax that separates all of its arguments with commas. Also for legacy reasons, the `rgba()` and `hsla()` functions exist using the same comma-based syntax. -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix some of the problems reported by this rule when the primary option is `"modern"`. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix some of the problems reported by this rule when the primary option is `"modern"`. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/color-hex-alpha.md b/docs/description/color-hex-alpha.md index 01b91605..dab89834 100644 --- a/docs/description/color-hex-alpha.md +++ b/docs/description/color-hex-alpha.md @@ -9,7 +9,7 @@ a { color: #fffa } * This alpha channel */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/color-hex-length.md b/docs/description/color-hex-length.md index 714c03db..cd1ad6bd 100644 --- a/docs/description/color-hex-length.md +++ b/docs/description/color-hex-length.md @@ -9,9 +9,9 @@ a { color: #fff } * This hex color */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/color-no-hex.md b/docs/description/color-no-hex.md index c17115d1..03d7f4ce 100644 --- a/docs/description/color-no-hex.md +++ b/docs/description/color-no-hex.md @@ -9,7 +9,7 @@ a { color: #333 } * This hex color */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/color-no-invalid-hex.md b/docs/description/color-no-invalid-hex.md index 4fb6cc9d..35895a52 100644 --- a/docs/description/color-no-invalid-hex.md +++ b/docs/description/color-no-invalid-hex.md @@ -11,7 +11,7 @@ a { color: #y3 } Longhand hex colors can be either 6 or 8 (with alpha channel) hexadecimal characters. And their shorthand variants are 3 and 4 characters respectively. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/comment-empty-line-before.md b/docs/description/comment-empty-line-before.md index 2914a068..b64a1d31 100644 --- a/docs/description/comment-empty-line-before.md +++ b/docs/description/comment-empty-line-before.md @@ -18,7 +18,7 @@ This rule ignores: - single-line comments with `//` (when you're using a custom syntax that supports them) - comments within selector and value lists -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. We recommend to enable [`indentation`](https://github.com/stylelint/stylelint/tree/15.10.3/librulesindentationREADME.md) rule for better autofixing results with this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/comment-no-empty.md b/docs/description/comment-no-empty.md index 4dd7534b..edea0a8f 100644 --- a/docs/description/comment-no-empty.md +++ b/docs/description/comment-no-empty.md @@ -11,7 +11,8 @@ Disallow empty comments. This rule ignores SCSS-like comments. -**Caveat:** Comments within _selector and value lists_ are currently ignored. +> [!WARNING] +> Comments within _selector and value lists_ are currently ignored. ## Options diff --git a/docs/description/comment-pattern.md b/docs/description/comment-pattern.md index cffef683..6bfbd6b3 100644 --- a/docs/description/comment-pattern.md +++ b/docs/description/comment-pattern.md @@ -9,7 +9,7 @@ Specify a pattern for comments. * The pattern of this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/comment-whitespace-inside.md b/docs/description/comment-whitespace-inside.md index ad9a111c..cccfdf7c 100644 --- a/docs/description/comment-whitespace-inside.md +++ b/docs/description/comment-whitespace-inside.md @@ -11,9 +11,10 @@ Require or disallow whitespace on the inside of comment markers. Any number of asterisks are allowed at the beginning or end of the comment. So `/** comment **/` is treated the same way as `/* comment */`. -**Caveat:** Comments within _selector and value lists_ are currently ignored. +> [!WARNING] +> Comments within _selector and value lists_ are currently ignored. -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/comment-word-disallowed-list.md b/docs/description/comment-word-disallowed-list.md index 92551975..3223fc2f 100644 --- a/docs/description/comment-word-disallowed-list.md +++ b/docs/description/comment-word-disallowed-list.md @@ -9,9 +9,10 @@ Specify a list of disallowed words within comments. * These three words */ ``` -**Caveat:** Comments within _selector and value lists_ are currently ignored. +> [!WARNING] +> Comments within _selector and value lists_ are currently ignored. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/custom-media-pattern.md b/docs/description/custom-media-pattern.md index c33cebd8..4e4ea03d 100644 --- a/docs/description/custom-media-pattern.md +++ b/docs/description/custom-media-pattern.md @@ -9,7 +9,7 @@ Specify a pattern for custom media query names. * The pattern of this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/custom-property-empty-line-before.md b/docs/description/custom-property-empty-line-before.md index f3c0d5d1..2d431416 100644 --- a/docs/description/custom-property-empty-line-before.md +++ b/docs/description/custom-property-empty-line-before.md @@ -13,7 +13,7 @@ a { * This line */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. We recommend to enable [`indentation`](https://github.com/stylelint/stylelint/tree/15.10.3/librulesindentationREADME.md) rule for better autofixing results with this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/custom-property-no-missing-var-function.md b/docs/description/custom-property-no-missing-var-function.md index a1f9c4db..062dc926 100644 --- a/docs/description/custom-property-no-missing-var-function.md +++ b/docs/description/custom-property-no-missing-var-function.md @@ -10,9 +10,12 @@ Disallow missing `var` function for custom properties. * This custom property */ ``` -This rule only reports custom properties that are defined within the same source. +This rule has the following limitations: -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +- It only reports custom properties that are defined within the same source. +- It does not check properties that can contain author-defined identifiers, e.g. `transition-property`. + +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options @@ -45,3 +48,9 @@ a { color: var(--foo); } @property --foo {} a { color: var(--foo); } ``` + + +```css +@property --foo {} +a { transition-property: --foo; } +``` diff --git a/docs/description/custom-property-pattern.md b/docs/description/custom-property-pattern.md index 0fdbb00d..36604d01 100644 --- a/docs/description/custom-property-pattern.md +++ b/docs/description/custom-property-pattern.md @@ -9,7 +9,7 @@ a { --foo-: 1px; } * The pattern of this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-block-no-duplicate-custom-properties.md b/docs/description/declaration-block-no-duplicate-custom-properties.md index 302c76b4..fc9cd9d7 100644 --- a/docs/description/declaration-block-no-duplicate-custom-properties.md +++ b/docs/description/declaration-block-no-duplicate-custom-properties.md @@ -11,7 +11,7 @@ a { --custom-property: pink; --custom-property: orange; } This rule is case-sensitive. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-block-no-duplicate-properties.md b/docs/description/declaration-block-no-duplicate-properties.md index 0727591a..d7aa29e8 100644 --- a/docs/description/declaration-block-no-duplicate-properties.md +++ b/docs/description/declaration-block-no-duplicate-properties.md @@ -11,9 +11,9 @@ a { color: pink; color: orange; } This rule ignores variables (`$sass`, `@less`, `--custom-property`). -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-block-no-redundant-longhand-properties.md b/docs/description/declaration-block-no-redundant-longhand-properties.md index 0013a9aa..e41c7fe9 100644 --- a/docs/description/declaration-block-no-redundant-longhand-properties.md +++ b/docs/description/declaration-block-no-redundant-longhand-properties.md @@ -26,50 +26,72 @@ This rule will only complain if you've used the longhand equivalent of _all_ the This rule complains when the following shorthand properties can be used: -- `margin` -- `padding` -- `inset` +- `animation` - `background` -- `font` - `border` -- `border-top` -- `border-bottom` -- `border-left` -- `border-right` -- `border-width` -- `border-style` -- `border-color` -- `list-style` -- `border-radius` -- `transition` -- `animation` +- `border-block` - `border-block-end` - `border-block-start` +- `border-bottom` +- `border-color` - `border-image` +- `border-inline` - `border-inline-end` - `border-inline-start` +- `border-left` +- `border-radius` +- `border-right` +- `border-style` +- `border-top` +- `border-width` - `column-rule` - `columns` - `flex` - `flex-flow` +- `font` +- `font-synthesis` +- `gap` - `grid` - `grid-area` - `grid-column` - `grid-gap` - `grid-row` - `grid-template` +- `inset` +- `inset-block` +- `inset-inline` +- `list-style` +- `margin` +- `margin-block` +- `margin-inline` +- `mask` - `outline` +- `overflow` +- `overscroll-behavior` +- `padding` +- `padding-block` +- `padding-inline` +- `place-content` +- `place-items` +- `place-self` +- `scroll-margin` +- `scroll-margin-block` +- `scroll-margin-inline` +- `scroll-padding` +- `scroll-padding-block` +- `scroll-padding-inline` - `text-decoration` - `text-emphasis` -- `mask` +- `transition` -**Please note** that properties are considered to be redundant if they may be written shorthand according to the specification, **regardless of the behavior of any individual browser**. For example, due to Internet Explorer's implementation of Flexbox, [it may not be possible to use the shorthand property `flex`](https://github.com/philipwalton/flexbugs#flexbug-8), but the longhand form is still considered a problem. +> [!WARNING] +> Please note that properties are considered to be redundant if they may be written shorthand according to the specification, **regardless of the behavior of any individual browser**. For example, due to Internet Explorer's implementation of Flexbox, [it may not be possible to use the shorthand property `flex`](https://github.com/philipwalton/flexbugs#flexbug-8), but the longhand form is still considered a problem. Flexbox-related properties can be ignored using `ignoreShorthands: ["/flex/"]` (see below). -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix most of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-block-no-shorthand-property-overrides.md b/docs/description/declaration-block-no-shorthand-property-overrides.md index a7c7543f..2a93d0a4 100644 --- a/docs/description/declaration-block-no-shorthand-property-overrides.md +++ b/docs/description/declaration-block-no-shorthand-property-overrides.md @@ -11,7 +11,7 @@ a { background-repeat: repeat; background: green; } In almost every case, this is just an authorial oversight. For more about this behavior, see [MDN's documentation of shorthand properties](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties). -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-block-single-line-max-declarations.md b/docs/description/declaration-block-single-line-max-declarations.md index 043573f1..7924105f 100644 --- a/docs/description/declaration-block-single-line-max-declarations.md +++ b/docs/description/declaration-block-single-line-max-declarations.md @@ -9,7 +9,7 @@ a { color: pink; top: 0; } * The number of these declarations */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-empty-line-before.md b/docs/description/declaration-empty-line-before.md index 79b3ab08..a5a074ea 100644 --- a/docs/description/declaration-empty-line-before.md +++ b/docs/description/declaration-empty-line-before.md @@ -13,9 +13,9 @@ a { * This line */ ``` -This rule only applies to standard property declarations. Use the [`custom-property-empty-line-before`](https://github.com/stylelint/stylelint/tree/15.10.3/librulescustom-property-empty-line-beforeREADME.md) rule for custom property declarations. +This rule only applies to standard property declarations. Use the [`custom-property-empty-line-before`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/custom-property-empty-line-before/README.md) rule for custom property declarations. -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. We recommend to enable [`indentation`](https://github.com/stylelint/stylelint/tree/15.10.3/librulesindentationREADME.md) rule for better autofixing results with this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/declaration-property-max-values.md b/docs/description/declaration-property-max-values.md index 18ca276d..e8402f83 100644 --- a/docs/description/declaration-property-max-values.md +++ b/docs/description/declaration-property-max-values.md @@ -2,7 +2,7 @@ Limit the number of values for a list of properties within declarations. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-property-unit-allowed-list.md b/docs/description/declaration-property-unit-allowed-list.md index b3e8efaf..357901d1 100644 --- a/docs/description/declaration-property-unit-allowed-list.md +++ b/docs/description/declaration-property-unit-allowed-list.md @@ -9,7 +9,7 @@ a { width: 100px; } * These properties and these units */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-property-unit-disallowed-list.md b/docs/description/declaration-property-unit-disallowed-list.md index 4bdbf927..d1037b6d 100644 --- a/docs/description/declaration-property-unit-disallowed-list.md +++ b/docs/description/declaration-property-unit-disallowed-list.md @@ -9,7 +9,7 @@ a { width: 100px; } * These properties and these units */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-property-value-allowed-list.md b/docs/description/declaration-property-value-allowed-list.md index 9852d5c4..fe41681d 100644 --- a/docs/description/declaration-property-value-allowed-list.md +++ b/docs/description/declaration-property-value-allowed-list.md @@ -9,7 +9,7 @@ a { text-transform: uppercase; } * These properties and these values */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-property-value-disallowed-list.md b/docs/description/declaration-property-value-disallowed-list.md index c14d671c..10fc5cb5 100644 --- a/docs/description/declaration-property-value-disallowed-list.md +++ b/docs/description/declaration-property-value-disallowed-list.md @@ -9,7 +9,7 @@ a { text-transform: uppercase; } * These properties and these values */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-property-value-no-unknown.md b/docs/description/declaration-property-value-no-unknown.md index cce1f500..3a70094c 100644 --- a/docs/description/declaration-property-value-no-unknown.md +++ b/docs/description/declaration-property-value-no-unknown.md @@ -17,10 +17,10 @@ This rule is experimental with some false negatives that we'll patch in minor re It sometimes overlaps with: -- [`color-no-invalid-hex`](https://github.com/stylelint/stylelint/tree/15.10.3/librulescolor-no-invalid-hexREADME.md) -- [`function-no-unknown`](https://github.com/stylelint/stylelint/tree/15.10.3/librulesfunction-no-unknownREADME.md) -- [`string-no-newline`](https://github.com/stylelint/stylelint/tree/15.10.3/librulesstring-no-newlineREADME.md) -- [`unit-no-unknown`](https://github.com/stylelint/stylelint/tree/15.10.3/librulesunit-no-unknownREADME.md) +- [`color-no-invalid-hex`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/color-no-invalid-hex/README.md) +- [`function-no-unknown`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/function-no-unknown/README.md) +- [`string-no-newline`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/string-no-newline/README.md) +- [`unit-no-unknown`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/unit-no-unknown/README.md) If duplicate problems are flagged, you can turn off the corresponding rule. diff --git a/docs/description/description.json b/docs/description/description.json index f232bd37..deeda5eb 100644 --- a/docs/description/description.json +++ b/docs/description/description.json @@ -1,17 +1,24 @@ [ { + "patternId" : "value-keyword-case", + "title" : "Specify lowercase or uppercase for keywords values.", + "parameters" : [ { + "name" : "value-keyword-case", + "description" : "value-keyword-case" + } ] +}, { + "patternId" : "property-no-unknown", + "title" : "Disallow unknown properties.", + "parameters" : [ { + "name" : "property-no-unknown", + "description" : "property-no-unknown" + } ] +}, { "patternId" : "no-irregular-whitespace", "title" : "Disallow irregular whitespaces.", "parameters" : [ { "name" : "no-irregular-whitespace", "description" : "no-irregular-whitespace" } ] -}, { - "patternId" : "declaration-bang-space-before", - "title" : "[Deprecated] Require a single space or disallow whitespace before the bang of declarations.", - "parameters" : [ { - "name" : "declaration-bang-space-before", - "description" : "declaration-bang-space-before" - } ] }, { "patternId" : "at-rule-disallowed-list", "title" : "Specify a list of disallowed at-rules.", @@ -19,27 +26,6 @@ "name" : "at-rule-disallowed-list", "description" : "at-rule-disallowed-list" } ] -}, { - "patternId" : "selector-list-comma-space-after", - "title" : "[Deprecated] Require a single space or disallow whitespace after the commas of selector lists.", - "parameters" : [ { - "name" : "selector-list-comma-space-after", - "description" : "selector-list-comma-space-after" - } ] -}, { - "patternId" : "block-closing-brace-empty-line-before", - "title" : "[Deprecated] Require or disallow an empty line before the closing brace of blocks.", - "parameters" : [ { - "name" : "block-closing-brace-empty-line-before", - "description" : "block-closing-brace-empty-line-before" - } ] -}, { - "patternId" : "property-no-unknown", - "title" : "Disallow unknown properties.", - "parameters" : [ { - "name" : "property-no-unknown", - "description" : "property-no-unknown" - } ] }, { "patternId" : "selector-class-pattern", "title" : "Specify a pattern for class selectors.", @@ -54,20 +40,6 @@ "name" : "no-invalid-double-slash-comments", "description" : "no-invalid-double-slash-comments" } ] -}, { - "patternId" : "comment-word-disallowed-list", - "title" : "Specify a list of disallowed words within comments.", - "parameters" : [ { - "name" : "comment-word-disallowed-list", - "description" : "comment-word-disallowed-list" - } ] -}, { - "patternId" : "selector-pseudo-class-parentheses-space-inside", - "title" : "[Deprecated] Require a single space or disallow whitespace on the inside of the parentheses within pseudo-class selectors.", - "parameters" : [ { - "name" : "selector-pseudo-class-parentheses-space-inside", - "description" : "selector-pseudo-class-parentheses-space-inside" - } ] }, { "patternId" : "selector-pseudo-element-disallowed-list", "title" : "Specify a list of disallowed pseudo-element selectors.", @@ -75,6 +47,13 @@ "name" : "selector-pseudo-element-disallowed-list", "description" : "selector-pseudo-element-disallowed-list" } ] +}, { + "patternId" : "comment-word-disallowed-list", + "title" : "Specify a list of disallowed words within comments.", + "parameters" : [ { + "name" : "comment-word-disallowed-list", + "description" : "comment-word-disallowed-list" + } ] }, { "patternId" : "font-family-no-missing-generic-family-keyword", "title" : "Disallow a missing generic family keyword within font families.", @@ -82,13 +61,6 @@ "name" : "font-family-no-missing-generic-family-keyword", "description" : "font-family-no-missing-generic-family-keyword" } ] -}, { - "patternId" : "function-parentheses-newline-inside", - "title" : "[Deprecated] Require a newline or disallow whitespace on the inside of the parentheses of functions.", - "parameters" : [ { - "name" : "function-parentheses-newline-inside", - "description" : "function-parentheses-newline-inside" - } ] }, { "patternId" : "selector-attribute-operator-disallowed-list", "title" : "Specify a list of disallowed attribute operators.", @@ -97,11 +69,11 @@ "description" : "selector-attribute-operator-disallowed-list" } ] }, { - "patternId" : "at-rule-semicolon-space-before", - "title" : "[Deprecated] Require a single space or disallow whitespace before the semicolons of at-rules.", + "patternId" : "lightness-notation", + "title" : "Specify number or percentage notation for lightness.", "parameters" : [ { - "name" : "at-rule-semicolon-space-before", - "description" : "at-rule-semicolon-space-before" + "name" : "lightness-notation", + "description" : "lightness-notation" } ] }, { "patternId" : "selector-pseudo-element-no-unknown", @@ -124,27 +96,6 @@ "name" : "keyframes-name-pattern", "description" : "keyframes-name-pattern" } ] -}, { - "patternId" : "at-rule-name-space-after", - "title" : "[Deprecated] Require a single space after at-rule names.", - "parameters" : [ { - "name" : "at-rule-name-space-after", - "description" : "at-rule-name-space-after" - } ] -}, { - "patternId" : "string-quotes", - "title" : "[Deprecated] Specify single or double quotes around strings.", - "parameters" : [ { - "name" : "string-quotes", - "description" : "string-quotes" - } ] -}, { - "patternId" : "no-extra-semicolons", - "title" : "[Deprecated] Disallow extra semicolons.", - "parameters" : [ { - "name" : "no-extra-semicolons", - "description" : "no-extra-semicolons" - } ] }, { "patternId" : "declaration-block-no-duplicate-custom-properties", "title" : "Disallow duplicate custom properties within declaration blocks.", @@ -187,13 +138,6 @@ "name" : "shorthand-property-no-redundant-values", "description" : "shorthand-property-no-redundant-values" } ] -}, { - "patternId" : "declaration-bang-space-after", - "title" : "[Deprecated] Require a single space or disallow whitespace after the bang of declarations.", - "parameters" : [ { - "name" : "declaration-bang-space-after", - "description" : "declaration-bang-space-after" - } ] }, { "patternId" : "selector-max-id", "title" : "Limit the number of ID selectors in a selector.", @@ -208,13 +152,6 @@ "name" : "property-disallowed-list", "description" : "property-disallowed-list" } ] -}, { - "patternId" : "selector-descendant-combinator-no-non-space", - "title" : "[Deprecated] Disallow non-space characters for descendant combinators of selectors.", - "parameters" : [ { - "name" : "selector-descendant-combinator-no-non-space", - "description" : "selector-descendant-combinator-no-non-space" - } ] }, { "patternId" : "no-invalid-position-at-import-rule", "title" : "Disallow invalid position `@import` rules.", @@ -236,20 +173,6 @@ "name" : "custom-property-no-missing-var-function", "description" : "custom-property-no-missing-var-function" } ] -}, { - "patternId" : "block-closing-brace-newline-before", - "title" : "[Deprecated] Require a newline or disallow whitespace before the closing brace of blocks.", - "parameters" : [ { - "name" : "block-closing-brace-newline-before", - "description" : "block-closing-brace-newline-before" - } ] -}, { - "patternId" : "at-rule-name-newline-after", - "title" : "[Deprecated] Require a newline after at-rule names.", - "parameters" : [ { - "name" : "at-rule-name-newline-after", - "description" : "at-rule-name-newline-after" - } ] }, { "patternId" : "at-rule-allowed-list", "title" : "Specify a list of allowed at-rules.", @@ -271,20 +194,6 @@ "name" : "selector-max-specificity", "description" : "selector-max-specificity" } ] -}, { - "patternId" : "block-opening-brace-newline-after", - "title" : "[Deprecated] Require a newline after the opening brace of blocks.", - "parameters" : [ { - "name" : "block-opening-brace-newline-after", - "description" : "block-opening-brace-newline-after" - } ] -}, { - "patternId" : "media-query-list-comma-space-after", - "title" : "[Deprecated] Require a single space or disallow whitespace after the commas of media query lists.", - "parameters" : [ { - "name" : "media-query-list-comma-space-after", - "description" : "media-query-list-comma-space-after" - } ] }, { "patternId" : "declaration-property-max-values", "title" : "Limit the number of values for a list of properties within declarations.", @@ -320,13 +229,6 @@ "name" : "color-hex-length", "description" : "color-hex-length" } ] -}, { - "patternId" : "selector-list-comma-newline-before", - "title" : "[Deprecated] Require a newline or disallow whitespace before the commas of selector lists.", - "parameters" : [ { - "name" : "selector-list-comma-newline-before", - "description" : "selector-list-comma-newline-before" - } ] }, { "patternId" : "media-feature-name-no-vendor-prefix", "title" : "Disallow vendor prefixes for media feature names.", @@ -334,20 +236,6 @@ "name" : "media-feature-name-no-vendor-prefix", "description" : "media-feature-name-no-vendor-prefix" } ] -}, { - "patternId" : "color-hex-case", - "title" : "[Deprecated] Specify lowercase or uppercase for hex colors.", - "parameters" : [ { - "name" : "color-hex-case", - "description" : "color-hex-case" - } ] -}, { - "patternId" : "declaration-block-semicolon-space-before", - "title" : "[Deprecated] Require a single space or disallow whitespace before the semicolons of declaration blocks.", - "parameters" : [ { - "name" : "declaration-block-semicolon-space-before", - "description" : "declaration-block-semicolon-space-before" - } ] }, { "patternId" : "declaration-block-no-redundant-longhand-properties", "title" : "Disallow redundant longhand properties within declaration-block.", @@ -362,13 +250,6 @@ "name" : "font-family-name-quotes", "description" : "font-family-name-quotes" } ] -}, { - "patternId" : "selector-attribute-brackets-space-inside", - "title" : "[Deprecated] Require a single space or disallow whitespace on the inside of the brackets within attribute selectors.", - "parameters" : [ { - "name" : "selector-attribute-brackets-space-inside", - "description" : "selector-attribute-brackets-space-inside" - } ] }, { "patternId" : "selector-pseudo-element-colon-notation", "title" : "Specify single or double colon notation for applicable pseudo-element selectors.", @@ -376,13 +257,6 @@ "name" : "selector-pseudo-element-colon-notation", "description" : "selector-pseudo-element-colon-notation" } ] -}, { - "patternId" : "declaration-colon-space-before", - "title" : "[Deprecated] Require a single space or disallow whitespace before the colon of declarations.", - "parameters" : [ { - "name" : "declaration-colon-space-before", - "description" : "declaration-colon-space-before" - } ] }, { "patternId" : "no-duplicate-at-import-rules", "title" : "Disallow duplicate `@import` rules.", @@ -411,27 +285,6 @@ "name" : "property-no-vendor-prefix", "description" : "property-no-vendor-prefix" } ] -}, { - "patternId" : "block-opening-brace-space-before", - "title" : "[Deprecated] Require a single space or disallow whitespace before the opening brace of blocks.", - "parameters" : [ { - "name" : "block-opening-brace-space-before", - "description" : "block-opening-brace-space-before" - } ] -}, { - "patternId" : "block-opening-brace-space-after", - "title" : "[Deprecated] Require a single space or disallow whitespace after the opening brace of blocks.", - "parameters" : [ { - "name" : "block-opening-brace-space-after", - "description" : "block-opening-brace-space-after" - } ] -}, { - "patternId" : "max-empty-lines", - "title" : "[Deprecated] Limit the number of adjacent empty lines.", - "parameters" : [ { - "name" : "max-empty-lines", - "description" : "max-empty-lines" - } ] }, { "patternId" : "keyframe-declaration-no-important", "title" : "Disallow invalid `!important` within keyframe declarations.", @@ -453,20 +306,6 @@ "name" : "rule-empty-line-before", "description" : "rule-empty-line-before" } ] -}, { - "patternId" : "no-empty-first-line", - "title" : "[Deprecated] Disallow empty first lines.", - "parameters" : [ { - "name" : "no-empty-first-line", - "description" : "no-empty-first-line" - } ] -}, { - "patternId" : "declaration-colon-newline-after", - "title" : "[Deprecated] Require a newline or disallow whitespace after the colon of declarations.", - "parameters" : [ { - "name" : "declaration-colon-newline-after", - "description" : "declaration-colon-newline-after" - } ] }, { "patternId" : "color-hex-alpha", "title" : "Require or disallow alpha channel for hex colors.", @@ -481,20 +320,6 @@ "name" : "selector-pseudo-class-no-unknown", "description" : "selector-pseudo-class-no-unknown" } ] -}, { - "patternId" : "number-no-trailing-zeros", - "title" : "[Deprecated] Disallow trailing zeros in numbers.", - "parameters" : [ { - "name" : "number-no-trailing-zeros", - "description" : "number-no-trailing-zeros" - } ] -}, { - "patternId" : "media-query-list-comma-space-before", - "title" : "[Deprecated] Require a single space or disallow whitespace before the commas of media query lists.", - "parameters" : [ { - "name" : "media-query-list-comma-space-before", - "description" : "media-query-list-comma-space-before" - } ] }, { "patternId" : "number-max-precision", "title" : "Limit the number of decimal places allowed in numbers.", @@ -516,13 +341,6 @@ "name" : "selector-id-pattern", "description" : "selector-id-pattern" } ] -}, { - "patternId" : "function-max-empty-lines", - "title" : "[Deprecated] Limit the number of adjacent empty lines within functions.", - "parameters" : [ { - "name" : "function-max-empty-lines", - "description" : "function-max-empty-lines" - } ] }, { "patternId" : "selector-nested-pattern", "title" : "Specify a pattern for the selectors of rules nested within rules.", @@ -530,34 +348,6 @@ "name" : "selector-nested-pattern", "description" : "selector-nested-pattern" } ] -}, { - "patternId" : "block-opening-brace-newline-before", - "title" : "[Deprecated] Require a newline or disallow whitespace before the opening brace of blocks.", - "parameters" : [ { - "name" : "block-opening-brace-newline-before", - "description" : "block-opening-brace-newline-before" - } ] -}, { - "patternId" : "value-list-comma-newline-after", - "title" : "[Deprecated] Require a newline or disallow whitespace after the commas of value lists.", - "parameters" : [ { - "name" : "value-list-comma-newline-after", - "description" : "value-list-comma-newline-after" - } ] -}, { - "patternId" : "block-closing-brace-space-before", - "title" : "[Deprecated] Require a single space or disallow whitespace before the closing brace of blocks.", - "parameters" : [ { - "name" : "block-closing-brace-space-before", - "description" : "block-closing-brace-space-before" - } ] -}, { - "patternId" : "indentation", - "title" : "[Deprecated] Specify indentation.", - "parameters" : [ { - "name" : "indentation", - "description" : "indentation" - } ] }, { "patternId" : "no-empty-source", "title" : "Disallow empty sources.", @@ -621,20 +411,6 @@ "name" : "function-no-unknown", "description" : "function-no-unknown" } ] -}, { - "patternId" : "selector-max-empty-lines", - "title" : "[Deprecated] Limit the number of adjacent empty lines within selectors.", - "parameters" : [ { - "name" : "selector-max-empty-lines", - "description" : "selector-max-empty-lines" - } ] -}, { - "patternId" : "media-query-list-comma-newline-before", - "title" : "[Deprecated] Require a newline or disallow whitespace before the commas of media query lists.", - "parameters" : [ { - "name" : "media-query-list-comma-newline-before", - "description" : "media-query-list-comma-newline-before" - } ] }, { "patternId" : "color-no-invalid-hex", "title" : "Disallow invalid hex colors.", @@ -642,27 +418,6 @@ "name" : "color-no-invalid-hex", "description" : "color-no-invalid-hex" } ] -}, { - "patternId" : "declaration-block-semicolon-newline-before", - "title" : "[Deprecated] Require a newline or disallow whitespace before the semicolons of declaration blocks.", - "parameters" : [ { - "name" : "declaration-block-semicolon-newline-before", - "description" : "declaration-block-semicolon-newline-before" - } ] -}, { - "patternId" : "declaration-block-semicolon-newline-after", - "title" : "[Deprecated] Require a newline or disallow whitespace after the semicolons of declaration blocks.", - "parameters" : [ { - "name" : "declaration-block-semicolon-newline-after", - "description" : "declaration-block-semicolon-newline-after" - } ] -}, { - "patternId" : "function-comma-newline-after", - "title" : "[Deprecated] Require a newline or disallow whitespace after the commas of functions.", - "parameters" : [ { - "name" : "function-comma-newline-after", - "description" : "function-comma-newline-after" - } ] }, { "patternId" : "selector-type-case", "title" : "Specify lowercase or uppercase for type selectors.", @@ -670,6 +425,13 @@ "name" : "selector-type-case", "description" : "selector-type-case" } ] +}, { + "patternId" : "selector-attribute-operator-allowed-list", + "title" : "Specify a list of allowed attribute operators.", + "parameters" : [ { + "name" : "selector-attribute-operator-allowed-list", + "description" : "selector-attribute-operator-allowed-list" + } ] }, { "patternId" : "selector-disallowed-list", "title" : "Specify a list of disallowed selectors.", @@ -684,20 +446,6 @@ "name" : "unit-disallowed-list", "description" : "unit-disallowed-list" } ] -}, { - "patternId" : "function-whitespace-after", - "title" : "[Deprecated] Require or disallow whitespace after functions.", - "parameters" : [ { - "name" : "function-whitespace-after", - "description" : "function-whitespace-after" - } ] -}, { - "patternId" : "selector-attribute-operator-allowed-list", - "title" : "Specify a list of allowed attribute operators.", - "parameters" : [ { - "name" : "selector-attribute-operator-allowed-list", - "description" : "selector-attribute-operator-allowed-list" - } ] }, { "patternId" : "media-feature-range-notation", "title" : "Specify context or prefix notation for media feature ranges.", @@ -712,6 +460,13 @@ "name" : "string-no-newline", "description" : "string-no-newline" } ] +}, { + "patternId" : "comment-no-empty", + "title" : "Disallow empty comments.", + "parameters" : [ { + "name" : "comment-no-empty", + "description" : "comment-no-empty" + } ] }, { "patternId" : "selector-max-class", "title" : "Limit the number of classes in a selector.", @@ -734,18 +489,11 @@ "description" : "no-unknown-custom-properties" } ] }, { - "patternId" : "comment-no-empty", - "title" : "Disallow empty comments.", - "parameters" : [ { - "name" : "comment-no-empty", - "description" : "comment-no-empty" - } ] -}, { - "patternId" : "media-feature-range-operator-space-before", - "title" : "[Deprecated] Require a single space or disallow whitespace before the range operator in media features.", + "patternId" : "selector-max-compound-selectors", + "title" : "Limit the number of compound selectors in a selector.", "parameters" : [ { - "name" : "media-feature-range-operator-space-before", - "description" : "media-feature-range-operator-space-before" + "name" : "selector-max-compound-selectors", + "description" : "selector-max-compound-selectors" } ] }, { "patternId" : "function-url-scheme-allowed-list", @@ -768,34 +516,6 @@ "name" : "declaration-property-value-no-unknown", "description" : "declaration-property-value-no-unknown" } ] -}, { - "patternId" : "media-feature-name-case", - "title" : "[Deprecated] Specify lowercase or uppercase for media feature names.", - "parameters" : [ { - "name" : "media-feature-name-case", - "description" : "media-feature-name-case" - } ] -}, { - "patternId" : "selector-max-compound-selectors", - "title" : "Limit the number of compound selectors in a selector.", - "parameters" : [ { - "name" : "selector-max-compound-selectors", - "description" : "selector-max-compound-selectors" - } ] -}, { - "patternId" : "value-list-max-empty-lines", - "title" : "[Deprecated] Limit the number of adjacent empty lines within value lists.", - "parameters" : [ { - "name" : "value-list-max-empty-lines", - "description" : "value-list-max-empty-lines" - } ] -}, { - "patternId" : "function-comma-newline-before", - "title" : "[Deprecated] Require a newline or disallow whitespace before the commas of functions.", - "parameters" : [ { - "name" : "function-comma-newline-before", - "description" : "function-comma-newline-before" - } ] }, { "patternId" : "hue-degree-notation", "title" : "Specify number or angle notation for degree hues.", @@ -817,20 +537,6 @@ "name" : "unit-allowed-list", "description" : "unit-allowed-list" } ] -}, { - "patternId" : "selector-list-comma-space-before", - "title" : "[Deprecated] Require a single space or disallow whitespace before the commas of selector lists.", - "parameters" : [ { - "name" : "selector-list-comma-space-before", - "description" : "selector-list-comma-space-before" - } ] -}, { - "patternId" : "media-feature-colon-space-after", - "title" : "[Deprecated] Require a single space or disallow whitespace after the colon in media features.", - "parameters" : [ { - "name" : "media-feature-colon-space-after", - "description" : "media-feature-colon-space-after" - } ] }, { "patternId" : "function-name-case", "title" : "Specify lowercase or uppercase for function names.", @@ -845,20 +551,6 @@ "name" : "length-zero-no-unit", "description" : "length-zero-no-unit" } ] -}, { - "patternId" : "declaration-colon-space-after", - "title" : "[Deprecated] Require a single space or disallow whitespace after the colon of declarations.", - "parameters" : [ { - "name" : "declaration-colon-space-after", - "description" : "declaration-colon-space-after" - } ] -}, { - "patternId" : "declaration-block-semicolon-space-after", - "title" : "[Deprecated] Require a single space or disallow whitespace after the semicolons of declaration blocks.", - "parameters" : [ { - "name" : "declaration-block-semicolon-space-after", - "description" : "declaration-block-semicolon-space-after" - } ] }, { "patternId" : "media-query-no-invalid", "title" : "Disallow invalid media queries.", @@ -873,41 +565,6 @@ "name" : "function-url-scheme-disallowed-list", "description" : "function-url-scheme-disallowed-list" } ] -}, { - "patternId" : "media-feature-colon-space-before", - "title" : "[Deprecated] Require a single space or disallow whitespace before the colon in media features.", - "parameters" : [ { - "name" : "media-feature-colon-space-before", - "description" : "media-feature-colon-space-before" - } ] -}, { - "patternId" : "media-feature-parentheses-space-inside", - "title" : "[Deprecated] Require a single space or disallow whitespace on the inside of the parentheses within media features.", - "parameters" : [ { - "name" : "media-feature-parentheses-space-inside", - "description" : "media-feature-parentheses-space-inside" - } ] -}, { - "patternId" : "value-keyword-case", - "title" : "Specify lowercase or uppercase for keywords values.", - "parameters" : [ { - "name" : "value-keyword-case", - "description" : "value-keyword-case" - } ] -}, { - "patternId" : "at-rule-name-case", - "title" : "[Deprecated] Specify lowercase or uppercase for at-rules names.", - "parameters" : [ { - "name" : "at-rule-name-case", - "description" : "at-rule-name-case" - } ] -}, { - "patternId" : "no-eol-whitespace", - "title" : "[Deprecated] Disallow end-of-line whitespace.", - "parameters" : [ { - "name" : "no-eol-whitespace", - "description" : "no-eol-whitespace" - } ] }, { "patternId" : "media-feature-name-value-allowed-list", "title" : "Specify a list of allowed media feature name and value pairs.", @@ -929,20 +586,6 @@ "name" : "no-descending-specificity", "description" : "no-descending-specificity" } ] -}, { - "patternId" : "linebreaks", - "title" : "[Deprecated] Specify unix or windows linebreaks.", - "parameters" : [ { - "name" : "linebreaks", - "description" : "linebreaks" - } ] -}, { - "patternId" : "selector-pseudo-element-case", - "title" : "[Deprecated] Specify lowercase or uppercase for pseudo-element selectors.", - "parameters" : [ { - "name" : "selector-pseudo-element-case", - "description" : "selector-pseudo-element-case" - } ] }, { "patternId" : "comment-pattern", "title" : "Specify a pattern for comments.", @@ -957,13 +600,6 @@ "name" : "media-feature-name-value-no-unknown", "description" : "media-feature-name-value-no-unknown" } ] -}, { - "patternId" : "function-comma-space-after", - "title" : "[Deprecated] Require a single space or disallow whitespace after the commas of functions.", - "parameters" : [ { - "name" : "function-comma-space-after", - "description" : "function-comma-space-after" - } ] }, { "patternId" : "selector-attribute-name-disallowed-list", "title" : "Specify a list of disallowed attribute names.", @@ -978,13 +614,6 @@ "name" : "custom-property-pattern", "description" : "custom-property-pattern" } ] -}, { - "patternId" : "no-missing-end-of-source-newline", - "title" : "[Deprecated] Disallow missing end-of-source newlines.", - "parameters" : [ { - "name" : "no-missing-end-of-source-newline", - "description" : "no-missing-end-of-source-newline" - } ] }, { "patternId" : "color-function-notation", "title" : "Specify modern or legacy notation for color-functions.", @@ -1006,6 +635,13 @@ "name" : "declaration-no-important", "description" : "declaration-no-important" } ] +}, { + "patternId" : "selector-pseudo-class-disallowed-list", + "title" : "Specify a list of disallowed pseudo-class selectors.", + "parameters" : [ { + "name" : "selector-pseudo-class-disallowed-list", + "description" : "selector-pseudo-class-disallowed-list" + } ] }, { "patternId" : "font-family-no-duplicate-names", "title" : "Disallow duplicate names within font families.", @@ -1013,6 +649,13 @@ "name" : "font-family-no-duplicate-names", "description" : "font-family-no-duplicate-names" } ] +}, { + "patternId" : "function-linear-gradient-no-nonstandard-direction", + "title" : "Disallow non-standard direction values for linear gradient functions.", + "parameters" : [ { + "name" : "function-linear-gradient-no-nonstandard-direction", + "description" : "function-linear-gradient-no-nonstandard-direction" + } ] }, { "patternId" : "named-grid-areas-no-invalid", "title" : "Disallow invalid named grid areas.", @@ -1027,20 +670,6 @@ "name" : "at-rule-no-unknown", "description" : "at-rule-no-unknown" } ] -}, { - "patternId" : "media-feature-range-operator-space-after", - "title" : "[Deprecated] Require a single space or disallow whitespace after the range operator in media features.", - "parameters" : [ { - "name" : "media-feature-range-operator-space-after", - "description" : "media-feature-range-operator-space-after" - } ] -}, { - "patternId" : "selector-pseudo-class-disallowed-list", - "title" : "Specify a list of disallowed pseudo-class selectors.", - "parameters" : [ { - "name" : "selector-pseudo-class-disallowed-list", - "description" : "selector-pseudo-class-disallowed-list" - } ] }, { "patternId" : "declaration-empty-line-before", "title" : "Require or disallow an empty line before declarations.", @@ -1055,20 +684,6 @@ "name" : "selector-max-pseudo-class", "description" : "selector-max-pseudo-class" } ] -}, { - "patternId" : "function-linear-gradient-no-nonstandard-direction", - "title" : "Disallow non-standard direction values for linear gradient functions.", - "parameters" : [ { - "name" : "function-linear-gradient-no-nonstandard-direction", - "description" : "function-linear-gradient-no-nonstandard-direction" - } ] -}, { - "patternId" : "selector-combinator-space-after", - "title" : "[Deprecated] Require a single space or disallow whitespace after the combinators of selectors.", - "parameters" : [ { - "name" : "selector-combinator-space-after", - "description" : "selector-combinator-space-after" - } ] }, { "patternId" : "alpha-value-notation", "title" : "Specify percentage or number notation for alpha-values.", @@ -1076,13 +691,6 @@ "name" : "alpha-value-notation", "description" : "alpha-value-notation" } ] -}, { - "patternId" : "value-list-comma-space-after", - "title" : "[Deprecated] Require a single space or disallow whitespace after the commas of value lists.", - "parameters" : [ { - "name" : "value-list-comma-space-after", - "description" : "value-list-comma-space-after" - } ] }, { "patternId" : "comment-whitespace-inside", "title" : "Require or disallow whitespace on the inside of comment markers.", @@ -1090,20 +698,6 @@ "name" : "comment-whitespace-inside", "description" : "comment-whitespace-inside" } ] -}, { - "patternId" : "selector-no-vendor-prefix", - "title" : "Disallow vendor prefixes for selectors.", - "parameters" : [ { - "name" : "selector-no-vendor-prefix", - "description" : "selector-no-vendor-prefix" - } ] -}, { - "patternId" : "selector-list-comma-newline-after", - "title" : "[Deprecated] Require a newline or disallow whitespace after the commas of selector lists.", - "parameters" : [ { - "name" : "selector-list-comma-newline-after", - "description" : "selector-list-comma-newline-after" - } ] }, { "patternId" : "no-unknown-animations", "title" : "Disallow unknown animations.", @@ -1111,13 +705,6 @@ "name" : "no-unknown-animations", "description" : "no-unknown-animations" } ] -}, { - "patternId" : "block-closing-brace-space-after", - "title" : "[Deprecated] Require a single space or disallow whitespace after the closing brace of blocks.", - "parameters" : [ { - "name" : "block-closing-brace-space-after", - "description" : "block-closing-brace-space-after" - } ] }, { "patternId" : "comment-empty-line-before", "title" : "Require or disallow an empty line before comments.", @@ -1126,32 +713,11 @@ "description" : "comment-empty-line-before" } ] }, { - "patternId" : "selector-attribute-operator-space-before", - "title" : "[Deprecated] Require a single space or disallow whitespace before operators within attribute selectors.", - "parameters" : [ { - "name" : "selector-attribute-operator-space-before", - "description" : "selector-attribute-operator-space-before" - } ] -}, { - "patternId" : "media-query-list-comma-newline-after", - "title" : "[Deprecated] Require a newline or disallow whitespace after the commas of media query lists.", - "parameters" : [ { - "name" : "media-query-list-comma-newline-after", - "description" : "media-query-list-comma-newline-after" - } ] -}, { - "patternId" : "unicode-bom", - "title" : "[Deprecated] Require or disallow the Unicode Byte Order Mark.", - "parameters" : [ { - "name" : "unicode-bom", - "description" : "unicode-bom" - } ] -}, { - "patternId" : "number-leading-zero", - "title" : "[Deprecated] Require or disallow a leading zero for fractional numbers less than 1.", + "patternId" : "selector-no-vendor-prefix", + "title" : "Disallow vendor prefixes for selectors.", "parameters" : [ { - "name" : "number-leading-zero", - "description" : "number-leading-zero" + "name" : "selector-no-vendor-prefix", + "description" : "selector-no-vendor-prefix" } ] }, { "patternId" : "selector-combinator-disallowed-list", @@ -1174,13 +740,6 @@ "name" : "font-weight-notation", "description" : "font-weight-notation" } ] -}, { - "patternId" : "property-case", - "title" : "[Deprecated] Specify lowercase or uppercase for properties.", - "parameters" : [ { - "name" : "property-case", - "description" : "property-case" - } ] }, { "patternId" : "declaration-block-no-shorthand-property-overrides", "title" : "Disallow shorthand properties that override related longhand properties.", @@ -1216,13 +775,6 @@ "name" : "media-feature-name-allowed-list", "description" : "media-feature-name-allowed-list" } ] -}, { - "patternId" : "selector-combinator-space-before", - "title" : "[Deprecated] Require a single space or disallow whitespace before the combinators of selectors.", - "parameters" : [ { - "name" : "selector-combinator-space-before", - "description" : "selector-combinator-space-before" - } ] }, { "patternId" : "declaration-property-value-allowed-list", "title" : "Specify a list of allowed property and value pairs within declarations.", @@ -1230,27 +782,6 @@ "name" : "declaration-property-value-allowed-list", "description" : "declaration-property-value-allowed-list" } ] -}, { - "patternId" : "max-line-length", - "title" : "[Deprecated] Limit the length of a line.", - "parameters" : [ { - "name" : "max-line-length", - "description" : "max-line-length" - } ] -}, { - "patternId" : "function-comma-space-before", - "title" : "[Deprecated] Require a single space or disallow whitespace before the commas of functions.", - "parameters" : [ { - "name" : "function-comma-space-before", - "description" : "function-comma-space-before" - } ] -}, { - "patternId" : "selector-pseudo-class-case", - "title" : "[Deprecated] Specify lowercase or uppercase for pseudo-class selectors.", - "parameters" : [ { - "name" : "selector-pseudo-class-case", - "description" : "selector-pseudo-class-case" - } ] }, { "patternId" : "selector-pseudo-class-allowed-list", "title" : "Specify a list of allowed pseudo-class selectors.", @@ -1265,34 +796,6 @@ "name" : "selector-max-universal", "description" : "selector-max-universal" } ] -}, { - "patternId" : "value-list-comma-space-before", - "title" : "[Deprecated] Require a single space or disallow whitespace before the commas of value lists.", - "parameters" : [ { - "name" : "value-list-comma-space-before", - "description" : "value-list-comma-space-before" - } ] -}, { - "patternId" : "function-parentheses-space-inside", - "title" : "[Deprecated] Require a single space or disallow whitespace on the inside of the parentheses of functions.", - "parameters" : [ { - "name" : "function-parentheses-space-inside", - "description" : "function-parentheses-space-inside" - } ] -}, { - "patternId" : "block-closing-brace-newline-after", - "title" : "[Deprecated] Require a newline or disallow whitespace after the closing brace of blocks.", - "parameters" : [ { - "name" : "block-closing-brace-newline-after", - "description" : "block-closing-brace-newline-after" - } ] -}, { - "patternId" : "value-list-comma-newline-before", - "title" : "[Deprecated] Require a newline or disallow whitespace before the commas of value lists.", - "parameters" : [ { - "name" : "value-list-comma-newline-before", - "description" : "value-list-comma-newline-before" - } ] }, { "patternId" : "keyframe-block-no-duplicate-selectors", "title" : "Disallow duplicate selectors within keyframe blocks.", @@ -1300,13 +803,6 @@ "name" : "keyframe-block-no-duplicate-selectors", "description" : "keyframe-block-no-duplicate-selectors" } ] -}, { - "patternId" : "unit-case", - "title" : "[Deprecated] Specify lowercase or uppercase for units.", - "parameters" : [ { - "name" : "unit-case", - "description" : "unit-case" - } ] }, { "patternId" : "custom-property-empty-line-before", "title" : "Require or disallow an empty line before custom properties.", @@ -1335,20 +831,6 @@ "name" : "annotation-no-unknown", "description" : "annotation-no-unknown" } ] -}, { - "patternId" : "declaration-block-trailing-semicolon", - "title" : "[Deprecated] Require or disallow a trailing semicolon within declaration blocks.", - "parameters" : [ { - "name" : "declaration-block-trailing-semicolon", - "description" : "declaration-block-trailing-semicolon" - } ] -}, { - "patternId" : "at-rule-semicolon-newline-after", - "title" : "[Deprecated] Require a newline after the semicolon of at-rules.", - "parameters" : [ { - "name" : "at-rule-semicolon-newline-after", - "description" : "at-rule-semicolon-newline-after" - } ] }, { "patternId" : "declaration-block-no-duplicate-properties", "title" : "Disallow duplicate properties within declaration blocks.", @@ -1363,13 +845,6 @@ "name" : "at-rule-no-vendor-prefix", "description" : "at-rule-no-vendor-prefix" } ] -}, { - "patternId" : "selector-attribute-operator-space-after", - "title" : "[Deprecated] Require a single space or disallow whitespace after operators within attribute selectors.", - "parameters" : [ { - "name" : "selector-attribute-operator-space-after", - "description" : "selector-attribute-operator-space-after" - } ] }, { "patternId" : "function-allowed-list", "title" : "Specify a list of allowed functions.", diff --git a/docs/description/font-family-name-quotes.md b/docs/description/font-family-name-quotes.md index 5dba8bb4..6266ec47 100644 --- a/docs/description/font-family-name-quotes.md +++ b/docs/description/font-family-name-quotes.md @@ -13,7 +13,7 @@ This rule checks the `font` and `font-family` properties. This rule ignores `$sass`, `@less`, and `var(--custom-property)` variable syntaxes. -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix most of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. ## Options @@ -28,7 +28,8 @@ _Please read the following to understand these options_: For more on these subtleties, read ["Unquoted font family names in CSS"](https://mathiasbynens.be/notes/unquoted-font-family), by Mathias Bynens. -**Caveat:** This rule does not currently understand escape sequences such as those described by Mathias. If you want to use the font family name "Hawaii 5-0" you will need to wrap it in quotes, instead of escaping it as `Hawaii \35 -0` or `Hawaii\ 5-0`. +> [!WARNING] +> This rule does not currently understand escape sequences such as those described by Mathias. If you want to use the font family name "Hawaii 5-0" you will need to wrap it in quotes, instead of escaping it as `Hawaii \35 -0` or `Hawaii\ 5-0`. ### `"always-unless-keyword"` diff --git a/docs/description/font-family-no-duplicate-names.md b/docs/description/font-family-no-duplicate-names.md index 0bce80a5..1b08b47a 100644 --- a/docs/description/font-family-no-duplicate-names.md +++ b/docs/description/font-family-no-duplicate-names.md @@ -13,7 +13,8 @@ This rule checks the `font` and `font-family` properties. This rule ignores `$sass`, `@less`, and `var(--custom-property)` variable syntaxes. -**Caveat:** This rule will stumble on _unquoted_ multi-word font names and _unquoted_ font names containing escape sequences. Wrap these font names in quotation marks, and everything should be fine. +> [!WARNING] +> This rule will stumble on _unquoted_ multi-word font names and _unquoted_ font names containing escape sequences. Wrap these font names in quotation marks, and everything should be fine. ## Options diff --git a/docs/description/font-weight-notation.md b/docs/description/font-weight-notation.md index ae53489f..16756e8e 100644 --- a/docs/description/font-weight-notation.md +++ b/docs/description/font-weight-notation.md @@ -19,7 +19,7 @@ a { font: italic small-caps 600 16px/3 cursive; } This rule ignores `$sass`, `@less`, and `var(--custom-property)` variable syntaxes. -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/function-allowed-list.md b/docs/description/function-allowed-list.md index ea159098..dfeb396c 100644 --- a/docs/description/function-allowed-list.md +++ b/docs/description/function-allowed-list.md @@ -9,7 +9,7 @@ a { transform: scale(1); } * This function */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/function-calc-no-unspaced-operator.md b/docs/description/function-calc-no-unspaced-operator.md index 8354cf6a..14c8bd7e 100644 --- a/docs/description/function-calc-no-unspaced-operator.md +++ b/docs/description/function-calc-no-unspaced-operator.md @@ -11,7 +11,7 @@ a { top: calc(1px + 2px); } This rule checks that there is a single whitespace or a newline plus indentation before the `+` or `-` operator, and a single whitespace or a newline after that operator. -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/function-disallowed-list.md b/docs/description/function-disallowed-list.md index d4e1e38b..1be0a044 100644 --- a/docs/description/function-disallowed-list.md +++ b/docs/description/function-disallowed-list.md @@ -9,7 +9,7 @@ a { transform: scale(1); } * This function */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/function-name-case.md b/docs/description/function-name-case.md index 664814e3..82314d37 100644 --- a/docs/description/function-name-case.md +++ b/docs/description/function-name-case.md @@ -11,9 +11,9 @@ a { width: calc(5% - 10em); } Camel case function names, e.g. `translateX`, are accounted for when the `lower` option is used. -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/function-no-unknown.md b/docs/description/function-no-unknown.md index de61221b..12ec2d14 100644 --- a/docs/description/function-no-unknown.md +++ b/docs/description/function-no-unknown.md @@ -13,7 +13,7 @@ This rule considers functions defined in the CSS Specifications to be known. This rule ignores double-dashed custom functions, e.g. `--custom-function()`. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/function-url-quotes.md b/docs/description/function-url-quotes.md index b303eb8c..1bd29081 100644 --- a/docs/description/function-url-quotes.md +++ b/docs/description/function-url-quotes.md @@ -9,7 +9,7 @@ a { background: url("x.jpg") } * These quotes */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix most of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. ## Options diff --git a/docs/description/function-url-scheme-allowed-list.md b/docs/description/function-url-scheme-allowed-list.md index 36fd40d6..02ca65c2 100644 --- a/docs/description/function-url-scheme-allowed-list.md +++ b/docs/description/function-url-scheme-allowed-list.md @@ -16,7 +16,7 @@ This rule ignores: - URL arguments without an existing URL scheme - URL arguments with variables or variable interpolation (`$sass`, `@less`, `--custom-property`, `#{$var}`, `@{var}`, `$(var)`) -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/function-url-scheme-disallowed-list.md b/docs/description/function-url-scheme-disallowed-list.md index 634ef4e1..b13cafca 100644 --- a/docs/description/function-url-scheme-disallowed-list.md +++ b/docs/description/function-url-scheme-disallowed-list.md @@ -16,7 +16,7 @@ This rule ignores: - URL arguments without an existing URL scheme - URL arguments with variables or variable interpolation (`$sass`, `@less`, `--custom-property`, `#{$var}`, `@{var}`, `$(var)`) -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/hue-degree-notation.md b/docs/description/hue-degree-notation.md index b979d517..c94a046d 100644 --- a/docs/description/hue-degree-notation.md +++ b/docs/description/hue-degree-notation.md @@ -11,9 +11,9 @@ Specify number or angle notation for degree hues. Because hues are so often given in degrees, a hue can also be given as a number, which is interpreted as a number of degrees. -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/import-notation.md b/docs/description/import-notation.md index bbbd154a..88501091 100644 --- a/docs/description/import-notation.md +++ b/docs/description/import-notation.md @@ -9,7 +9,7 @@ Specify string or URL notation for `@import` rules. * This notation */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/keyframe-block-no-duplicate-selectors.md b/docs/description/keyframe-block-no-duplicate-selectors.md index 651151e1..59c98386 100644 --- a/docs/description/keyframe-block-no-duplicate-selectors.md +++ b/docs/description/keyframe-block-no-duplicate-selectors.md @@ -11,7 +11,7 @@ Disallow duplicate selectors within keyframe blocks. This rule is case-insensitive. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/keyframe-selector-notation.md b/docs/description/keyframe-selector-notation.md index 371b7d43..84408eb3 100644 --- a/docs/description/keyframe-selector-notation.md +++ b/docs/description/keyframe-selector-notation.md @@ -11,9 +11,9 @@ Specify keyword or percentage notation for keyframe selectors. The keyword `from` is equivalent to the value `0%`. The keyword `to` is equivalent to the value `100%`. -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/keyframes-name-pattern.md b/docs/description/keyframes-name-pattern.md index cdad977a..4963e522 100644 --- a/docs/description/keyframes-name-pattern.md +++ b/docs/description/keyframes-name-pattern.md @@ -9,7 +9,7 @@ Specify a pattern for keyframe names. * The pattern of this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/length-zero-no-unit.md b/docs/description/length-zero-no-unit.md index d3eac611..eb5d68d5 100644 --- a/docs/description/length-zero-no-unit.md +++ b/docs/description/length-zero-no-unit.md @@ -13,7 +13,7 @@ _Lengths_ refer to distance measurements. A length is a _dimension_, which is a This rule ignores lengths within math functions (e.g. `calc`). -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/lightness-notation.md b/docs/description/lightness-notation.md new file mode 100644 index 00000000..57ede77e --- /dev/null +++ b/docs/description/lightness-notation.md @@ -0,0 +1,116 @@ +# lightness-notation + +Specify number or percentage notation for lightness. + + +```css + a { color: oklch(85% 0.17 88) } +/** ↑ + * This notation */ +``` + +This rule supports `oklch`, `oklab`, `lch` and `lab` functions. + +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. + +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. + +## Options + +`string`: `"percentage"|"number"` + +### `"percentage"` + +Lightness _must always_ use the percentage notation. + +The following patterns are considered problems: + + +```css +a { color: oklch(0.85 0.17 88) } +``` + + +```css +a { color: oklab(0.86 0.2 154) } +``` + + +```css +a { color: lch(85 0.17 88) } +``` + + +```css +a { color: lab(86 0.2 154) } +``` + +The following patterns are _not_ considered problems: + + +```css +a { color: oklch(85% 0.17 88) } +``` + + +```css +a { color: oklab(86% 0.2 154) } +``` + + +```css +a { color: lch(85% 0.17 88) } +``` + + +```css +a { color: lab(86% 0.2 154) } +``` + +### `"number"` + +Lightness _must always_ use the number notation. + +The following patterns are considered problems: + + +```css +a { color: oklch(85% 0.17 88) } +``` + + +```css +a { color: oklab(86% 0.2 154) } +``` + + +```css +a { color: lch(85% 0.17 88) } +``` + + +```css +a { color: lab(86% 0.2 154) } +``` + +The following patterns are _not_ considered problems: + + +```css +a { color: oklch(0.85 0.17 88) } +``` + + +```css +a { color: oklab(0.86 0.2 154) } +``` + + +```css +a { color: lch(85 0.17 88) } +``` + + +```css +a { color: lab(86 0.2 154) } +``` diff --git a/docs/description/max-nesting-depth.md b/docs/description/max-nesting-depth.md index 45dcdeda..68343d38 100644 --- a/docs/description/max-nesting-depth.md +++ b/docs/description/max-nesting-depth.md @@ -26,7 +26,8 @@ a { } ``` -Note that **root-level at-rules will _not_ be included in the nesting depth calculation**, because most users would take for granted that root-level at-rules are "free" (because necessary). So both of the following `.foo` rules have a nesting depth of 2, and will therefore pass if your `max` is less than or equal to 2: +> [!NOTE] +> root-level at-rules will **not be included** in the nesting depth calculation, because most users would take for granted that root-level at-rules are "free" (because necessary). So both of the following `.foo` rules have a nesting depth of 2, and will therefore pass if your `max` is less than or equal to 2: ```css @@ -47,7 +48,7 @@ a { This rule integrates into Stylelint's core the functionality of the (now deprecated) plugin [`stylelint-statement-max-nesting-depth`](https://github.com/davidtheclark/stylelint-statement-max-nesting-depth). -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options @@ -413,3 +414,61 @@ a { } } ``` + +### `ignoreRules: ["/regex/", /regex/, "string"]` + +Ignore rules matching with the specified selectors. + +For example, with `1` and given: + +```json +[".my-selector", "/^.ignored-sel/"] +``` + +The following patterns are _not_ considered problems: + + +```css +a { + .my-selector { /* ignored */ + b { /* 1 */ + top: 0; + } + } +} +``` + + +```css +a { + .my-selector, .ignored-selector { /* ignored */ + b { /* 1 */ + top: 0; + } + } +} +``` + +The following patterns are considered problems: + + +```css +a { + .not-ignored-selector { /* 1 */ + b { /* 2 */ + top: 0; + } + } +} +``` + + +```css +a { + .my-selector, .not-ignored-selector { /* 1 */ + b { /* 2 */ + top: 0; + } + } +} +``` diff --git a/docs/description/media-feature-name-allowed-list.md b/docs/description/media-feature-name-allowed-list.md index eefb302b..e4c4a17e 100644 --- a/docs/description/media-feature-name-allowed-list.md +++ b/docs/description/media-feature-name-allowed-list.md @@ -9,7 +9,7 @@ Specify a list of allowed media feature names. * This media feature name */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-name-disallowed-list.md b/docs/description/media-feature-name-disallowed-list.md index f87f9829..b4b1be90 100644 --- a/docs/description/media-feature-name-disallowed-list.md +++ b/docs/description/media-feature-name-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed media feature names. * This media feature name */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-name-no-unknown.md b/docs/description/media-feature-name-no-unknown.md index 1290e344..4bb394cb 100644 --- a/docs/description/media-feature-name-no-unknown.md +++ b/docs/description/media-feature-name-no-unknown.md @@ -13,7 +13,7 @@ This rule considers media feature names defined in the CSS Specifications, up to This rule ignores vendor-prefixed media feature names. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-name-no-vendor-prefix.md b/docs/description/media-feature-name-no-vendor-prefix.md index a586ae93..0fbd546d 100644 --- a/docs/description/media-feature-name-no-vendor-prefix.md +++ b/docs/description/media-feature-name-no-vendor-prefix.md @@ -11,7 +11,7 @@ Disallow vendor prefixes for media feature names. This rule ignores non-standard vendor-prefixed media feature names that aren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer). -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate media feature names produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate media feature names produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. ## Options diff --git a/docs/description/media-feature-name-value-allowed-list.md b/docs/description/media-feature-name-value-allowed-list.md index 7e3bef9f..aa7d1582 100644 --- a/docs/description/media-feature-name-value-allowed-list.md +++ b/docs/description/media-feature-name-value-allowed-list.md @@ -9,7 +9,7 @@ Specify a list of allowed media feature name and value pairs. * These features and values */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-name-value-no-unknown.md b/docs/description/media-feature-name-value-no-unknown.md index 76ca8032..afbbc577 100644 --- a/docs/description/media-feature-name-value-no-unknown.md +++ b/docs/description/media-feature-name-value-no-unknown.md @@ -17,11 +17,11 @@ This rule is experimental with some false negatives that we'll patch in minor re It sometimes overlaps with: -- [`unit-no-unknown`](https://github.com/stylelint/stylelint/tree/15.10.3/librulesunit-no-unknownREADME.md) +- [`unit-no-unknown`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/unit-no-unknown/README.md) If duplicate problems are flagged, you can turn off the corresponding rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-range-notation.md b/docs/description/media-feature-range-notation.md index d4d77e0e..54cf233e 100644 --- a/docs/description/media-feature-range-notation.md +++ b/docs/description/media-feature-range-notation.md @@ -13,9 +13,9 @@ Media features of the range type can be written using prefixes or the more moder Because `min-` and `max-` both equate to range comparisons that include the value, they may be [limiting in certain situations](https://drafts.csswg.org/mediaqueries/#mq-min-max). -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix some of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix some of the problems reported by this rule. ## Options diff --git a/docs/description/media-query-no-invalid.md b/docs/description/media-query-no-invalid.md index 8383a4ab..b739d781 100644 --- a/docs/description/media-query-no-invalid.md +++ b/docs/description/media-query-no-invalid.md @@ -15,10 +15,10 @@ This rule is only appropriate for CSS. You should not turn it on for CSS-like la It works well with other rules that validate feature names and values: -- [`media-feature-name-no-unknown`](https://github.com/stylelint/stylelint/tree/15.10.3/librulesmedia-feature-name-no-unknownREADME.md) -- [`media-feature-name-value-no-unknown`](https://github.com/stylelint/stylelint/tree/15.10.3/librulesmedia-feature-name-value-no-unknownREADME.md) +- [`media-feature-name-no-unknown`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/media-feature-name-no-unknown/README.md) +- [`media-feature-name-value-no-unknown`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/media-feature-name-value-no-unknown/README.md) -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/no-descending-specificity.md b/docs/description/no-descending-specificity.md index a9c1ad5a..7c1a48c7 100644 --- a/docs/description/no-descending-specificity.md +++ b/docs/description/no-descending-specificity.md @@ -17,7 +17,7 @@ This rule enforces that practice _as best it can_, reporting fewer errors than i We recommend turning this rule off if you use a lot of nesting. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## How it works diff --git a/docs/description/no-duplicate-at-import-rules.md b/docs/description/no-duplicate-at-import-rules.md index 0828686f..eb968b12 100644 --- a/docs/description/no-duplicate-at-import-rules.md +++ b/docs/description/no-duplicate-at-import-rules.md @@ -10,7 +10,7 @@ Disallow duplicate `@import` rules. * These are duplicates */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/no-duplicate-selectors.md b/docs/description/no-duplicate-selectors.md index d143090d..f8bcbe45 100644 --- a/docs/description/no-duplicate-selectors.md +++ b/docs/description/no-duplicate-selectors.md @@ -22,7 +22,7 @@ The same selector _is_ allowed to repeat in the following circumstances: This rule resolves nested selectors. So `a b {} a { & b {} }` counts as a problem, because the resolved selectors end up with a duplicate. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/no-unknown-animations.md b/docs/description/no-unknown-animations.md index c42bdb9f..e399d633 100644 --- a/docs/description/no-unknown-animations.md +++ b/docs/description/no-unknown-animations.md @@ -15,7 +15,7 @@ a { animation: fancy-slide 2s linear; } This rule considers the identifiers of `@keyframes` rules defined within the same source to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/no-unknown-custom-properties.md b/docs/description/no-unknown-custom-properties.md index 72bc3de2..19be83ad 100644 --- a/docs/description/no-unknown-custom-properties.md +++ b/docs/description/no-unknown-custom-properties.md @@ -15,7 +15,7 @@ a { color: var(--foo, var(--bar)); } This rule considers custom properties defined within the same source to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options @@ -51,7 +51,7 @@ a { --foo: #f00; color: var(--bar, var(--foo)); } ``` -``` css +```css @property --foo { syntax: ""; inherits: false; initial-value: #f00; } a { color: var(--foo); } ``` diff --git a/docs/description/number-max-precision.md b/docs/description/number-max-precision.md index eac35ef3..eabf7bba 100644 --- a/docs/description/number-max-precision.md +++ b/docs/description/number-max-precision.md @@ -9,7 +9,7 @@ a { top: 3.245634px; } * This decimal place */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/property-allowed-list.md b/docs/description/property-allowed-list.md index 468c3e73..83e638c8 100644 --- a/docs/description/property-allowed-list.md +++ b/docs/description/property-allowed-list.md @@ -11,7 +11,7 @@ a { display: block; } This rule ignores variables (`$sass`, `@less`, `--custom-property`). -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/property-disallowed-list.md b/docs/description/property-disallowed-list.md index c51ec0fe..9672dc04 100644 --- a/docs/description/property-disallowed-list.md +++ b/docs/description/property-disallowed-list.md @@ -9,7 +9,7 @@ a { text-rendering: optimizeLegibility; } * This property */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/property-no-unknown.md b/docs/description/property-no-unknown.md index d7c30659..1eaff018 100644 --- a/docs/description/property-no-unknown.md +++ b/docs/description/property-no-unknown.md @@ -18,7 +18,7 @@ This rule ignores: Use option `checkPrefixed` described below to turn on checking of vendor-prefixed properties. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/property-no-vendor-prefix.md b/docs/description/property-no-vendor-prefix.md index 5c77f7a3..fdecf712 100644 --- a/docs/description/property-no-vendor-prefix.md +++ b/docs/description/property-no-vendor-prefix.md @@ -11,9 +11,9 @@ a { -webkit-transform: scale(1); } This rule ignores non-standard vendor-prefixed properties that aren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer). -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate properties produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate properties produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/rule-empty-line-before.md b/docs/description/rule-empty-line-before.md index 7657fc4b..01572480 100644 --- a/docs/description/rule-empty-line-before.md +++ b/docs/description/rule-empty-line-before.md @@ -13,7 +13,7 @@ b {} /* ↑ */ This rule ignores rules that are the very first node in a source. -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. We recommend to enable [`indentation`](https://github.com/stylelint/stylelint/tree/15.10.3/librulesindentationREADME.md) rule for better autofixing results with this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/rule-selector-property-disallowed-list.md b/docs/description/rule-selector-property-disallowed-list.md index ef0708b2..37b1c81f 100644 --- a/docs/description/rule-selector-property-disallowed-list.md +++ b/docs/description/rule-selector-property-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed properties for selectors within rules. * Selector and property name */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-anb-no-unmatchable.md b/docs/description/selector-anb-no-unmatchable.md index 5edcd953..bd1ea44b 100644 --- a/docs/description/selector-anb-no-unmatchable.md +++ b/docs/description/selector-anb-no-unmatchable.md @@ -11,7 +11,7 @@ a:nth-child(0n+0) {} [An+B selectors](https://www.w3.org/TR/css-syntax-3/#anb-microsyntax) are one-indexed. Selectors that always evaluate to `0` will not match any elements. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-attribute-name-disallowed-list.md b/docs/description/selector-attribute-name-disallowed-list.md index 3846c286..4f833f33 100644 --- a/docs/description/selector-attribute-name-disallowed-list.md +++ b/docs/description/selector-attribute-name-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed attribute names. * This name */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-attribute-operator-allowed-list.md b/docs/description/selector-attribute-operator-allowed-list.md index 31a289aa..80ca92b9 100644 --- a/docs/description/selector-attribute-operator-allowed-list.md +++ b/docs/description/selector-attribute-operator-allowed-list.md @@ -9,7 +9,7 @@ Specify a list of allowed attribute operators. * This operator */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-attribute-operator-disallowed-list.md b/docs/description/selector-attribute-operator-disallowed-list.md index 3eb5d066..671a49b1 100644 --- a/docs/description/selector-attribute-operator-disallowed-list.md +++ b/docs/description/selector-attribute-operator-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed attribute operators. * This operator */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-attribute-quotes.md b/docs/description/selector-attribute-quotes.md index 7306b3a5..8a5f7d67 100644 --- a/docs/description/selector-attribute-quotes.md +++ b/docs/description/selector-attribute-quotes.md @@ -9,7 +9,7 @@ Require or disallow quotes for attribute values. * These quotes */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix most of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. ## Options diff --git a/docs/description/selector-class-pattern.md b/docs/description/selector-class-pattern.md index 0bd49986..b920db68 100644 --- a/docs/description/selector-class-pattern.md +++ b/docs/description/selector-class-pattern.md @@ -13,7 +13,7 @@ This rule ignores non-outputting Less mixin definitions and called Less mixins. Escaped selectors (e.g. `.u-size-11\/12\@sm`) are parsed as escaped twice (e.g. `.u-size-11\\/12\\@sm`). Your RegExp should account for that. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-combinator-allowed-list.md b/docs/description/selector-combinator-allowed-list.md index e3d73445..9f6ee2f0 100644 --- a/docs/description/selector-combinator-allowed-list.md +++ b/docs/description/selector-combinator-allowed-list.md @@ -13,7 +13,7 @@ This rule normalizes the whitespace descendant combinator to be a single space. This rule ignores [reference combinators](https://www.w3.org/TR/selectors4/#idref-combinators) e.g. `/for/`. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-combinator-disallowed-list.md b/docs/description/selector-combinator-disallowed-list.md index f44997e1..80345e18 100644 --- a/docs/description/selector-combinator-disallowed-list.md +++ b/docs/description/selector-combinator-disallowed-list.md @@ -13,7 +13,7 @@ This rule normalizes the whitespace descendant combinator to be a single space. This rule ignores [reference combinators](https://www.w3.org/TR/selectors4/#idref-combinators) e.g. `/for/`. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-disallowed-list.md b/docs/description/selector-disallowed-list.md index 763f6c68..06f31199 100644 --- a/docs/description/selector-disallowed-list.md +++ b/docs/description/selector-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed selectors. * This is selector */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options @@ -80,7 +80,7 @@ For example, with `true`. Given: ```json -[".foo"] +[".foo", { "splitList": true }] ``` The following pattern is considered a problem: @@ -104,7 +104,7 @@ Ignore selectors that are inside a block. Given: ```json -[".foo"] +[".foo", { "ignore": ["inside-block"] }] ``` The following pattern is _not_ considered a problem: @@ -115,3 +115,22 @@ The following pattern is _not_ considered a problem: .foo {} } ``` + +### `ignore: ["keyframe-selectors"]` + +Ignore keyframe selectors. + +Given: + +```json +["/from/", { "ignore": ["keyframe-selectors"] }] +``` + +The following pattern is _not_ considered a problem: + + +```css +@keyframes fade-in { + from {} +} +``` diff --git a/docs/description/selector-id-pattern.md b/docs/description/selector-id-pattern.md index 0f5803f7..254dd5a0 100644 --- a/docs/description/selector-id-pattern.md +++ b/docs/description/selector-id-pattern.md @@ -9,7 +9,7 @@ Specify a pattern for ID selectors. * These ID selectors */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-attribute.md b/docs/description/selector-max-attribute.md index 70f66437..e06aa8db 100644 --- a/docs/description/selector-max-attribute.md +++ b/docs/description/selector-max-attribute.md @@ -13,7 +13,7 @@ This rule resolves nested selectors before counting the number of attribute sele The `:not()` pseudo-class is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-class.md b/docs/description/selector-max-class.md index f8121b45..008e9b4e 100644 --- a/docs/description/selector-max-class.md +++ b/docs/description/selector-max-class.md @@ -14,7 +14,7 @@ This rule resolves nested selectors before counting the number of classes in a s The `:not()` pseudo-class is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-combinators.md b/docs/description/selector-max-combinators.md index a96f9fc9..cc367cdb 100644 --- a/docs/description/selector-max-combinators.md +++ b/docs/description/selector-max-combinators.md @@ -11,7 +11,7 @@ Limit the number of combinators in a selector. This rule resolves nested selectors before counting the number of combinators selectors. Each selector in a [selector list](https://www.w3.org/TR/selectors4/#selector-list) is evaluated separately. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-compound-selectors.md b/docs/description/selector-max-compound-selectors.md index ba139a5d..28495952 100644 --- a/docs/description/selector-max-compound-selectors.md +++ b/docs/description/selector-max-compound-selectors.md @@ -10,13 +10,14 @@ Limit the number of compound selectors in a selector. Lv1 Lv2 Lv3 Lv4 Lv5 -- these are compound selectors */ ``` -A [compound selector](https://www.w3.org/TR/selectors4/#compound) is a chain of one or more simple (tag, class, ID, universal, attribute) selectors. If there is more than one compound selector in a complete selector, they will be separated by combinators (e.g. ``, `+`, `>`). One reason why you might want to limit the number of compound selectors is described in the [SMACSS book](http://smacss.com/book/applicability). +A [compound selector](https://www.w3.org/TR/selectors4/#compound) is a chain of one or more simple (tag, class, ID, universal, attribute) selectors. If there is more than one compound selector in a complete selector, they will be separated by combinators (e.g. ` `, `+`, `>`). One reason why you might want to limit the number of compound selectors is described in the [SMACSS book](http://smacss.com/book/applicability). This rule resolves nested selectors before counting the depth of a selector. Each selector in a [selector list](https://www.w3.org/TR/selectors4/#selector-list) is evaluated separately. -`:not()` is considered one compound selector irrespective to the complexity of the selector inside it. The rule _does_ process that inner selector, but does so separately, independent of the main selector. +> [!WARNING] +> The `:not()` pseudo-class is considered one compound selector irrespective to the complexity of the selector inside it. The rule _does_ process that inner selector, but does so separately, independent of the main selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options @@ -59,3 +60,73 @@ div {} ```css .foo + div :not (a b ~ c) {} /* `a b ~ c` is inside `:not()`, so it is evaluated separately */ ``` + +## Optional secondary options + +### `ignoreSelectors: ["/regex/", /regex/, "non-regex"]` + +Ignore some compound selectors. This may be useful for deep selectors like Vue's `::v-deep` or Angular's `::ng-deep` that behave more like combinators than compound selectors. + +For example, with `2`. + +Given: + +```json +["::v-deep", "/ignored/", ":not"] +``` + +The following patterns are considered problems: + + +```css +.foo .bar ::v-deep .baz {} +``` + + +```css +p a :not(.foo .bar .baz) {} +``` + + +```css +.foo .bar > .baz.ignored {} +``` + + +```css +.foo .bar > .ignored.baz {} +``` + +The following patterns are _not_ considered problems: + + +```css +.foo::v-deep .bar {} +``` + + +```css +.foo ::v-deep .baz {} +``` + + +```css +p a :not(.foo .bar) {} +``` + + +```css +.foo { + &.some-ignored-class ::v-deep > .bar {} +} +``` + + +```css +.foo .bar > .ignored.ignored {} +``` + + +```css +.foo .bar > .ignored .ignored {} +``` diff --git a/docs/description/selector-max-id.md b/docs/description/selector-max-id.md index 10aa1779..63e21144 100644 --- a/docs/description/selector-max-id.md +++ b/docs/description/selector-max-id.md @@ -13,7 +13,7 @@ This rule resolves nested selectors before counting the number of ID selectors. The `:not()` pseudo-class is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options @@ -79,9 +79,35 @@ The following patterns are _not_ considered problems: ## Optional secondary options +### `checkContextFunctionalPseudoClasses: ["/regex/", /regex/, "non-regex"]` + +Check selectors inside of the specified custom [functional pseudo-classes](https://drafts.csswg.org/selectors-4/#pseudo-classes) that provide [evaluation contexts](https://drafts.csswg.org/selectors-4/#specificity-rules). + +This option has a higher precedence than `ignoreContextFunctionalPseudoClasses`. + +Given: + +```json +[":--foo"] +``` + +The following pattern is considered a problem: + + +```css +:--foo(#foo #bar #baz) {} +``` + +The following pattern is _not_ considered a problem: + + +```css +:--foo() {} +``` + ### `ignoreContextFunctionalPseudoClasses: ["/regex/", /regex/, "non-regex"]` -Ignore selectors inside of specified [functional pseudo-classes](https://drafts.csswg.org/selectors-4/#pseudo-classes) that provide [evaluation contexts](https://drafts.csswg.org/selectors-4/#specificity-rules). +Ignore selectors inside of the specified [functional pseudo-classes](https://drafts.csswg.org/selectors-4/#pseudo-classes) that provide [evaluation contexts](https://drafts.csswg.org/selectors-4/#specificity-rules). Given: diff --git a/docs/description/selector-max-pseudo-class.md b/docs/description/selector-max-pseudo-class.md index 3b758968..dc675d84 100644 --- a/docs/description/selector-max-pseudo-class.md +++ b/docs/description/selector-max-pseudo-class.md @@ -14,7 +14,7 @@ This rule resolves nested selectors before counting the number of pseudo-classes The content of the `:not()` pseudo-class is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-specificity.md b/docs/description/selector-max-specificity.md index 8a71ff08..e64d7953 100644 --- a/docs/description/selector-max-specificity.md +++ b/docs/description/selector-max-specificity.md @@ -15,7 +15,7 @@ This rule ignores selectors with variable interpolation (`#{$var}`, `@{var}`, `$ This rule resolves nested selectors before counting the specificity of a selector. Each selector in a [selector list](https://www.w3.org/TR/selectors4/#selector-list) is evaluated separately. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-type.md b/docs/description/selector-max-type.md index f3a7a806..91db0847 100644 --- a/docs/description/selector-max-type.md +++ b/docs/description/selector-max-type.md @@ -13,7 +13,7 @@ This rule resolves nested selectors before counting the number of type selectors The `:not()` pseudo-class is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-universal.md b/docs/description/selector-max-universal.md index dfdb5da5..884a5ed9 100644 --- a/docs/description/selector-max-universal.md +++ b/docs/description/selector-max-universal.md @@ -13,7 +13,7 @@ This rule resolves nested selectors before counting the number of universal sele The logical combinations pseudo-class (e.g. `:not`, `:has`) is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-nested-pattern.md b/docs/description/selector-nested-pattern.md index 2b20a085..089db723 100644 --- a/docs/description/selector-nested-pattern.md +++ b/docs/description/selector-nested-pattern.md @@ -14,7 +14,7 @@ Specify a pattern for the selectors of rules nested within rules. Non-standard selectors (e.g. selectors with Sass or Less interpolation) and selectors of rules nested within at-rules are ignored. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-no-qualifying-type.md b/docs/description/selector-no-qualifying-type.md index 5e2c3396..6382aa9a 100644 --- a/docs/description/selector-no-qualifying-type.md +++ b/docs/description/selector-no-qualifying-type.md @@ -11,7 +11,7 @@ Disallow qualifying a selector by type. A type selector is "qualifying" when it is compounded with (chained to) another selector (e.g. `a.foo`, `a#foo`). This rule does not regulate type selectors that are combined with other selectors via a combinator (e.g. `a > .foo`, `a #foo`). -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-no-vendor-prefix.md b/docs/description/selector-no-vendor-prefix.md index d7d8a3c0..f956f214 100644 --- a/docs/description/selector-no-vendor-prefix.md +++ b/docs/description/selector-no-vendor-prefix.md @@ -11,9 +11,9 @@ input::-moz-placeholder {} This rule ignores non-standard vendor-prefixed selectors that aren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer). -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate selectors produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate selectors produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-not-notation.md b/docs/description/selector-not-notation.md index ca521208..ead03158 100644 --- a/docs/description/selector-not-notation.md +++ b/docs/description/selector-not-notation.md @@ -16,9 +16,9 @@ Use: - `"complex"` to author modern Selectors Level 4 CSS - `"simple"` for backwards compatibility with older browsers -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) option can automatically fix most of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) option can automatically fix most of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-class-allowed-list.md b/docs/description/selector-pseudo-class-allowed-list.md index f03995a9..bd9a179d 100644 --- a/docs/description/selector-pseudo-class-allowed-list.md +++ b/docs/description/selector-pseudo-class-allowed-list.md @@ -11,7 +11,7 @@ Specify a list of allowed pseudo-class selectors. This rule ignores selectors that use variable interpolation e.g. `:#{$variable} {}`. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-class-disallowed-list.md b/docs/description/selector-pseudo-class-disallowed-list.md index 001215af..76ac4ffc 100644 --- a/docs/description/selector-pseudo-class-disallowed-list.md +++ b/docs/description/selector-pseudo-class-disallowed-list.md @@ -11,7 +11,7 @@ Specify a list of disallowed pseudo-class selectors. This rule ignores selectors that use variable interpolation e.g. `:#{$variable} {}`. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-class-no-unknown.md b/docs/description/selector-pseudo-class-no-unknown.md index ccb563e5..539aa614 100644 --- a/docs/description/selector-pseudo-class-no-unknown.md +++ b/docs/description/selector-pseudo-class-no-unknown.md @@ -13,7 +13,7 @@ This rule considers pseudo-class selectors defined in the CSS Specifications, up This rule ignores vendor-prefixed pseudo-class selectors. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-element-allowed-list.md b/docs/description/selector-pseudo-element-allowed-list.md index f6b9e1a7..de565770 100644 --- a/docs/description/selector-pseudo-element-allowed-list.md +++ b/docs/description/selector-pseudo-element-allowed-list.md @@ -14,7 +14,7 @@ This rule ignores: - CSS2 pseudo-elements i.e. those prefixed with a single colon - selectors that use variable interpolation e.g. `::#{$variable} {}` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-element-colon-notation.md b/docs/description/selector-pseudo-element-colon-notation.md index 90b04a6c..d928a9d0 100644 --- a/docs/description/selector-pseudo-element-colon-notation.md +++ b/docs/description/selector-pseudo-element-colon-notation.md @@ -13,7 +13,7 @@ The `::` notation was chosen for _pseudo-elements_ to establish a discrimination However, for compatibility with existing style sheets, user agents also accept the previous one-colon notation for _pseudo-elements_ introduced in CSS levels 1 and 2 (namely, `:first-line`, `:first-letter`, `:before` and `:after`). -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/selector-pseudo-element-disallowed-list.md b/docs/description/selector-pseudo-element-disallowed-list.md index 0c9a893d..150ea513 100644 --- a/docs/description/selector-pseudo-element-disallowed-list.md +++ b/docs/description/selector-pseudo-element-disallowed-list.md @@ -14,7 +14,7 @@ This rule ignores: - CSS2 pseudo-elements i.e. those prefixed with a single colon - selectors that use variable interpolation e.g. `::#{$variable} {}` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-element-no-unknown.md b/docs/description/selector-pseudo-element-no-unknown.md index 0639d8e0..fd3d282a 100644 --- a/docs/description/selector-pseudo-element-no-unknown.md +++ b/docs/description/selector-pseudo-element-no-unknown.md @@ -13,7 +13,7 @@ This rule considers pseudo-element selectors defined in the CSS Specifications, This rule ignores vendor-prefixed pseudo-element selectors. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-type-case.md b/docs/description/selector-type-case.md index be3af740..80ad0dd2 100644 --- a/docs/description/selector-type-case.md +++ b/docs/description/selector-type-case.md @@ -9,9 +9,9 @@ Specify lowercase or uppercase for type selectors. * This is type selector */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-type-no-unknown.md b/docs/description/selector-type-no-unknown.md index cbd592a4..be9ab50b 100644 --- a/docs/description/selector-type-no-unknown.md +++ b/docs/description/selector-type-no-unknown.md @@ -11,7 +11,7 @@ Disallow unknown type selectors. This rule considers tags defined in the HTML, SVG, and MathML specifications to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/shorthand-property-no-redundant-values.md b/docs/description/shorthand-property-no-redundant-values.md index d43a3874..5923c0fa 100644 --- a/docs/description/shorthand-property-no-redundant-values.md +++ b/docs/description/shorthand-property-no-redundant-values.md @@ -24,9 +24,9 @@ This rule checks the following shorthand properties: - `grid-gap` - `inset` -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/time-min-milliseconds.md b/docs/description/time-min-milliseconds.md index aafc756a..0fe7edf1 100644 --- a/docs/description/time-min-milliseconds.md +++ b/docs/description/time-min-milliseconds.md @@ -11,7 +11,7 @@ a { animation: slip-n-slide 150ms linear; } This rule checks positive numbers in `transition-duration`, `transition-delay`, `animation-duration`, `animation-delay`, and those times as they manifest in the `transition` and `animation` shorthands. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/unit-allowed-list.md b/docs/description/unit-allowed-list.md index 88477603..5acbea7a 100644 --- a/docs/description/unit-allowed-list.md +++ b/docs/description/unit-allowed-list.md @@ -9,7 +9,7 @@ a { width: 100px; } * These units */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/unit-disallowed-list.md b/docs/description/unit-disallowed-list.md index b4634a90..237451d4 100644 --- a/docs/description/unit-disallowed-list.md +++ b/docs/description/unit-disallowed-list.md @@ -9,7 +9,7 @@ a { width: 100px; } * These units */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/unit-no-unknown.md b/docs/description/unit-no-unknown.md index c75e2f7f..73ccdc3d 100644 --- a/docs/description/unit-no-unknown.md +++ b/docs/description/unit-no-unknown.md @@ -11,7 +11,7 @@ a { width: 100pixels; } This rule considers units defined in the CSS Specifications, up to and including Editor's Drafts, to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/value-keyword-case.md b/docs/description/value-keyword-case.md index 7bd41edb..6b33d409 100644 --- a/docs/description/value-keyword-case.md +++ b/docs/description/value-keyword-case.md @@ -11,9 +11,9 @@ Specify lowercase or uppercase for keywords values. This rule ignores [``](https://developer.mozilla.org/en/docs/Web/CSS/custom-ident) of known properties. Keyword values which are paired with non-properties (e.g. `$vars` and custom properties), and do not conform to the primary option, can be ignored using the `ignoreKeywords: []` secondary option. -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/value-no-vendor-prefix.md b/docs/description/value-no-vendor-prefix.md index a653f197..8780e0bb 100644 --- a/docs/description/value-no-vendor-prefix.md +++ b/docs/description/value-no-vendor-prefix.md @@ -11,9 +11,9 @@ a { display: -webkit-flex; } This rule ignores non-standard vendor-prefixed values that aren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer). -The [`fix` option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideoptions.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate values produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate values produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/15.10.3/docsuser-guideconfigure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/multiple-tests/all-patterns-config/patterns.xml b/docs/multiple-tests/all-patterns-config/patterns.xml index 0fa26f16..4d03db30 100644 --- a/docs/multiple-tests/all-patterns-config/patterns.xml +++ b/docs/multiple-tests/all-patterns-config/patterns.xml @@ -1,7 +1,7 @@ - - - - - - - + + + + + + + diff --git a/docs/multiple-tests/all-patterns-config/results.xml b/docs/multiple-tests/all-patterns-config/results.xml index 2a07438c..a1b87bac 100644 --- a/docs/multiple-tests/all-patterns-config/results.xml +++ b/docs/multiple-tests/all-patterns-config/results.xml @@ -1,9 +1,9 @@ - - - - - - - - - + + + + + + + + + diff --git a/docs/multiple-tests/all-patterns-config/src/.stylelintrc b/docs/multiple-tests/all-patterns-config/src/.stylelintrc index 9d57664f..465ff1af 100644 --- a/docs/multiple-tests/all-patterns-config/src/.stylelintrc +++ b/docs/multiple-tests/all-patterns-config/src/.stylelintrc @@ -1,24 +1,24 @@ -{ - "extends": [ - "stylelint-config-standard", - "stylelint-config-slds" - ], - "plugins":[ - "stylelint-order", - "stylelint-scss", - "stylelint-declaration-strict-value", - "stylelint-selector-bem-pattern" - ], - "rules": { - "scale-unlimited/declaration-strict-value": "color", - "sh-waqar/declaration-use-variable": "/color/", - "plugin/selector-bem-pattern": { - "componentName": "[A-Z]+", - "componentSelectors": { - "initial": "^\\.{componentName}(?:-[a-z]+)?$", - "combined": "^\\.combined-{componentName}-[a-z]+$" - }, - "utilitySelectors": "^\\.util-[a-z]+$" - } - } -} +{ + "extends": [ + "stylelint-config-standard", + "stylelint-config-slds" + ], + "plugins":[ + "stylelint-order", + "stylelint-scss", + "stylelint-declaration-strict-value", + "stylelint-selector-bem-pattern" + ], + "rules": { + "scale-unlimited/declaration-strict-value": "color", + "sh-waqar/declaration-use-variable": "/color/", + "plugin/selector-bem-pattern": { + "componentName": "[A-Z]+", + "componentSelectors": { + "initial": "^\\.{componentName}(?:-[a-z]+)?$", + "combined": "^\\.combined-{componentName}-[a-z]+$" + }, + "utilitySelectors": "^\\.util-[a-z]+$" + } + } +} diff --git a/docs/multiple-tests/all-patterns-config/src/noTestResults.css b/docs/multiple-tests/all-patterns-config/src/noTestResults.css index 12bf6847..35d7f93d 100644 --- a/docs/multiple-tests/all-patterns-config/src/noTestResults.css +++ b/docs/multiple-tests/all-patterns-config/src/noTestResults.css @@ -1,3 +1,3 @@ -a { - color: #aaaaaa; -} +a { + color: #aaaaaa; +} diff --git a/docs/multiple-tests/no-crash/patterns.xml b/docs/multiple-tests/no-crash/patterns.xml index 0fa26f16..4d03db30 100644 --- a/docs/multiple-tests/no-crash/patterns.xml +++ b/docs/multiple-tests/no-crash/patterns.xml @@ -1,7 +1,7 @@ - - - - - - - + + + + + + + diff --git a/docs/multiple-tests/no-crash/results.xml b/docs/multiple-tests/no-crash/results.xml index d2c3faa6..2b0af990 100644 --- a/docs/multiple-tests/no-crash/results.xml +++ b/docs/multiple-tests/no-crash/results.xml @@ -1,2 +1,2 @@ - - + + diff --git a/docs/multiple-tests/no-crash/src/.stylelintrc b/docs/multiple-tests/no-crash/src/.stylelintrc index cdcceeac..b1365979 100644 --- a/docs/multiple-tests/no-crash/src/.stylelintrc +++ b/docs/multiple-tests/no-crash/src/.stylelintrc @@ -1,5 +1,5 @@ -{ - "rules": { - "color-hex-case": "lower" - } -} +{ + "rules": { + "color-hex-case": "lower" + } +} diff --git a/docs/multiple-tests/no-crash/src/noTestResults.css b/docs/multiple-tests/no-crash/src/noTestResults.css index 12bf6847..35d7f93d 100644 --- a/docs/multiple-tests/no-crash/src/noTestResults.css +++ b/docs/multiple-tests/no-crash/src/noTestResults.css @@ -1,3 +1,3 @@ -a { - color: #aaaaaa; -} +a { + color: #aaaaaa; +} diff --git a/docs/multiple-tests/pass-default-parameter/patterns.xml b/docs/multiple-tests/pass-default-parameter/patterns.xml index 341377b3..34a2d799 100644 --- a/docs/multiple-tests/pass-default-parameter/patterns.xml +++ b/docs/multiple-tests/pass-default-parameter/patterns.xml @@ -1,8 +1,8 @@ - - - - - - - - + + + + + + + + diff --git a/docs/multiple-tests/pass-default-parameter/results.xml b/docs/multiple-tests/pass-default-parameter/results.xml index c7f1eaa3..acfc3915 100644 --- a/docs/multiple-tests/pass-default-parameter/results.xml +++ b/docs/multiple-tests/pass-default-parameter/results.xml @@ -1,6 +1,6 @@ - - - - - - + + + + + + diff --git a/docs/multiple-tests/pass-default-parameter/src/test.css b/docs/multiple-tests/pass-default-parameter/src/test.css index 0d9e7a46..a2f186c3 100644 --- a/docs/multiple-tests/pass-default-parameter/src/test.css +++ b/docs/multiple-tests/pass-default-parameter/src/test.css @@ -1,3 +1,3 @@ -.hEad { - -} +.hEad { + +} diff --git a/docs/multiple-tests/with-config-file/patterns.xml b/docs/multiple-tests/with-config-file/patterns.xml index 0fa26f16..4d03db30 100644 --- a/docs/multiple-tests/with-config-file/patterns.xml +++ b/docs/multiple-tests/with-config-file/patterns.xml @@ -1,7 +1,7 @@ - - - - - - - + + + + + + + diff --git a/docs/multiple-tests/with-config-file/results.xml b/docs/multiple-tests/with-config-file/results.xml index 18a32280..5a20b9b9 100644 --- a/docs/multiple-tests/with-config-file/results.xml +++ b/docs/multiple-tests/with-config-file/results.xml @@ -1,30 +1,30 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/multiple-tests/with-config-file/src/.stylelintrc b/docs/multiple-tests/with-config-file/src/.stylelintrc index 92f18eb8..74900f13 100644 --- a/docs/multiple-tests/with-config-file/src/.stylelintrc +++ b/docs/multiple-tests/with-config-file/src/.stylelintrc @@ -1,59 +1,59 @@ -{ - "extends": "stylelint-config-standard", - "rules": { - "color-hex-case": "lower", - "color-named": "never" , - "color-no-invalid-hex": true, - "font-weight-notation": "numeric", - "function-calc-no-unspaced-operator": true, - "function-comma-newline-after": "never-multi-line", - "function-comma-space-after": "always", - "function-comma-space-before": "never", - "function-linear-gradient-no-nonstandard-direction": true, - "function-name-case": "lower", - "function-parentheses-newline-inside": "never-multi-line", - "function-parentheses-space-inside": "never", - "function-url-scheme-disallowed-list": "data", - "function-url-no-scheme-relative": true, - "function-url-quotes": "always", - "function-whitespace-after": "always", - "number-leading-zero": "never", - "number-no-trailing-zeros": true, - "string-no-newline": true, - "string-quotes": "single", - "time-min-milliseconds": 100, - "unit-case": "lower", - "unit-no-unknown": true, - "value-keyword-case": "lower", - "shorthand-property-no-redundant-values": true, - "property-case": "lower", - "property-no-unknown": true, - "declaration-bang-space-after": "never", - "declaration-bang-space-before": "always", - "declaration-colon-newline-after": "always-multi-line", - "declaration-colon-space-after": "always", - "declaration-colon-space-before": "never", - "declaration-empty-line-before": "never", - "declaration-no-important": true, - "declaration-block-no-duplicate-properties": true, - "declaration-block-no-redundant-longhand-properties": true, - "declaration-block-no-shorthand-property-overrides": true, - "declaration-block-semicolon-newline-after": "always", - "declaration-block-single-line-max-declarations": 1, - "declaration-block-trailing-semicolon": "always", - "block-closing-brace-empty-line-before": "never", - "block-no-empty": true, - "block-opening-brace-newline-after": "always", - "block-closing-brace-newline-before": "always" - }, - "overrides": [ - { - "files": ["**/*.scss"], - "customSyntax": "postcss-scss" - }, - { - "files": ["**/*.less"], - "customSyntax": "postcss-less" - } - ] -} +{ + "extends": "stylelint-config-standard", + "rules": { + "color-hex-case": "lower", + "color-named": "never" , + "color-no-invalid-hex": true, + "font-weight-notation": "numeric", + "function-calc-no-unspaced-operator": true, + "function-comma-newline-after": "never-multi-line", + "function-comma-space-after": "always", + "function-comma-space-before": "never", + "function-linear-gradient-no-nonstandard-direction": true, + "function-name-case": "lower", + "function-parentheses-newline-inside": "never-multi-line", + "function-parentheses-space-inside": "never", + "function-url-scheme-disallowed-list": "data", + "function-url-no-scheme-relative": true, + "function-url-quotes": "always", + "function-whitespace-after": "always", + "number-leading-zero": "never", + "number-no-trailing-zeros": true, + "string-no-newline": true, + "string-quotes": "single", + "time-min-milliseconds": 100, + "unit-case": "lower", + "unit-no-unknown": true, + "value-keyword-case": "lower", + "shorthand-property-no-redundant-values": true, + "property-case": "lower", + "property-no-unknown": true, + "declaration-bang-space-after": "never", + "declaration-bang-space-before": "always", + "declaration-colon-newline-after": "always-multi-line", + "declaration-colon-space-after": "always", + "declaration-colon-space-before": "never", + "declaration-empty-line-before": "never", + "declaration-no-important": true, + "declaration-block-no-duplicate-properties": true, + "declaration-block-no-redundant-longhand-properties": true, + "declaration-block-no-shorthand-property-overrides": true, + "declaration-block-semicolon-newline-after": "always", + "declaration-block-single-line-max-declarations": 1, + "declaration-block-trailing-semicolon": "always", + "block-closing-brace-empty-line-before": "never", + "block-no-empty": true, + "block-opening-brace-newline-after": "always", + "block-closing-brace-newline-before": "always" + }, + "overrides": [ + { + "files": ["**/*.scss"], + "customSyntax": "postcss-scss" + }, + { + "files": ["**/*.less"], + "customSyntax": "postcss-less" + } + ] +} diff --git a/docs/multiple-tests/with-config-file/src/test1.css b/docs/multiple-tests/with-config-file/src/test1.css index 9c5c998d..ed34338a 100644 --- a/docs/multiple-tests/with-config-file/src/test1.css +++ b/docs/multiple-tests/with-config-file/src/test1.css @@ -1,21 +1,21 @@ -a { - color: #aaaAaa; -} - -.dropdown { - position: relative; - display: inline-block; -} - -.dropdown-content { - display: none; - position: absolute; - background-color: #f9f9f9; - min-width: 160px; - box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); - padding: 12px 16px; -} - -.dropdown:hover .dropdown-content { - display: block; -} +a { + color: #aaaAaa; +} + +.dropdown { + position: relative; + display: inline-block; +} + +.dropdown-content { + display: none; + position: absolute; + background-color: #f9f9f9; + min-width: 160px; + box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); + padding: 12px 16px; +} + +.dropdown:hover .dropdown-content { + display: block; +} diff --git a/docs/multiple-tests/with-config-file/src/test2.less b/docs/multiple-tests/with-config-file/src/test2.less index 1196f77c..eb0ab4af 100644 --- a/docs/multiple-tests/with-config-file/src/test2.less +++ b/docs/multiple-tests/with-config-file/src/test2.less @@ -1,21 +1,21 @@ -a { - color: #aaaAaa; - } - - .dropdown { - position: relative; - display: inline-block; - - .dropdown-content { - display: none; - position: absolute; - background-color: #f9f9f9; - min-width: 160px; - box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); - padding: 12px 16px; - } - - .dropdown:hover .dropdown-content { - display: block; - } - } +a { + color: #aaaAaa; + } + + .dropdown { + position: relative; + display: inline-block; + + .dropdown-content { + display: none; + position: absolute; + background-color: #f9f9f9; + min-width: 160px; + box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); + padding: 12px 16px; + } + + .dropdown:hover .dropdown-content { + display: block; + } + } diff --git a/docs/multiple-tests/with-config-file/src/test3.scss b/docs/multiple-tests/with-config-file/src/test3.scss index 0f130cc4..c7ecb9f7 100644 --- a/docs/multiple-tests/with-config-file/src/test3.scss +++ b/docs/multiple-tests/with-config-file/src/test3.scss @@ -1,21 +1,21 @@ -a { - color: #aaaAaa; -} - -.dropdown { - position: relative; - display: inline-block; - - .dropdown-content { - display: none; - position: absolute; - background-color: #f9f9f9; - min-width: 160px; - box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); - padding: 12px 16px; - } - - .dropdown:hover .dropdown-content { - display: block; - } -} +a { + color: #aaaAaa; +} + +.dropdown { + position: relative; + display: inline-block; + + .dropdown-content { + display: none; + position: absolute; + background-color: #f9f9f9; + min-width: 160px; + box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); + padding: 12px 16px; + } + + .dropdown:hover .dropdown-content { + display: block; + } +} diff --git a/docs/patterns.json b/docs/patterns.json index 031530fd..7e87727a 100644 --- a/docs/patterns.json +++ b/docs/patterns.json @@ -1,6 +1,6 @@ { "name" : "stylelint", - "version" : "15.10.3", + "version" : "16.3.1", "patterns" : [ { "patternId" : "alpha-value-notation", "level" : "Info", @@ -56,36 +56,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "at-rule-name-case", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "at-rule-name-case", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "at-rule-name-newline-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "at-rule-name-newline-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "at-rule-name-space-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "at-rule-name-space-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "at-rule-no-unknown", "level" : "Warning", @@ -116,76 +86,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "at-rule-semicolon-newline-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "at-rule-semicolon-newline-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "at-rule-semicolon-space-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "at-rule-semicolon-space-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "block-closing-brace-empty-line-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "block-closing-brace-empty-line-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "block-closing-brace-newline-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "block-closing-brace-newline-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "block-closing-brace-newline-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "block-closing-brace-newline-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "block-closing-brace-space-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "block-closing-brace-space-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "block-closing-brace-space-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "block-closing-brace-space-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "block-no-empty", "level" : "Warning", @@ -196,46 +96,6 @@ } ], "languages" : [ ], "enabled" : false - }, { - "patternId" : "block-opening-brace-newline-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "block-opening-brace-newline-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "block-opening-brace-newline-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "block-opening-brace-newline-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "block-opening-brace-space-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "block-opening-brace-space-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "block-opening-brace-space-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "block-opening-brace-space-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "color-function-notation", "level" : "Info", @@ -256,16 +116,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "color-hex-case", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "color-hex-case", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "color-hex-length", "level" : "Info", @@ -406,26 +256,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "declaration-bang-space-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "declaration-bang-space-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "declaration-bang-space-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "declaration-bang-space-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "declaration-block-no-duplicate-custom-properties", "level" : "Warning", @@ -468,46 +298,6 @@ } ], "languages" : [ ], "enabled" : false - }, { - "patternId" : "declaration-block-semicolon-newline-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "declaration-block-semicolon-newline-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "declaration-block-semicolon-newline-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "declaration-block-semicolon-newline-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "declaration-block-semicolon-space-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "declaration-block-semicolon-space-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "declaration-block-semicolon-space-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "declaration-block-semicolon-space-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "declaration-block-single-line-max-declarations", "level" : "Info", @@ -518,46 +308,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "declaration-block-trailing-semicolon", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "declaration-block-trailing-semicolon", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "declaration-colon-newline-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "declaration-colon-newline-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "declaration-colon-space-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "declaration-colon-space-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "declaration-colon-space-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "declaration-colon-space-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "declaration-empty-line-before", "level" : "Info", @@ -701,46 +451,6 @@ } ], "languages" : [ ], "enabled" : false - }, { - "patternId" : "function-comma-newline-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "function-comma-newline-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "function-comma-newline-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "function-comma-newline-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "function-comma-space-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "function-comma-space-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "function-comma-space-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "function-comma-space-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "function-disallowed-list", "level" : "Info", @@ -761,16 +471,6 @@ } ], "languages" : [ ], "enabled" : false - }, { - "patternId" : "function-max-empty-lines", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "function-max-empty-lines", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "function-name-case", "level" : "Info", @@ -791,26 +491,6 @@ } ], "languages" : [ ], "enabled" : false - }, { - "patternId" : "function-parentheses-newline-inside", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "function-parentheses-newline-inside", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "function-parentheses-space-inside", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "function-parentheses-space-inside", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "function-url-no-scheme-relative", "level" : "Info", @@ -851,16 +531,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "function-whitespace-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "function-whitespace-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "hue-degree-notation", "level" : "Info", @@ -881,16 +551,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "indentation", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "indentation", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "keyframe-block-no-duplicate-selectors", "level" : "Warning", @@ -946,31 +606,11 @@ "languages" : [ ], "enabled" : true }, { - "patternId" : "linebreaks", + "patternId" : "lightness-notation", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { - "name" : "linebreaks", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "max-empty-lines", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "max-empty-lines", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "max-line-length", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "max-line-length", + "name" : "lightness-notation", "default" : null } ], "languages" : [ ], @@ -985,26 +625,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "media-feature-colon-space-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "media-feature-colon-space-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "media-feature-colon-space-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "media-feature-colon-space-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "media-feature-name-allowed-list", "level" : "Info", @@ -1015,16 +635,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "media-feature-name-case", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "media-feature-name-case", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "media-feature-name-disallowed-list", "level" : "Info", @@ -1046,125 +656,55 @@ "languages" : [ ], "enabled" : false }, { - "patternId" : "media-feature-name-no-vendor-prefix", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "media-feature-name-no-vendor-prefix", - "default" : true - } ], - "languages" : [ ], - "enabled" : true - }, { - "patternId" : "media-feature-name-unit-allowed-list", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "media-feature-name-unit-allowed-list", - "default" : null - } ], - "languages" : [ ], - "enabled" : true - }, { - "patternId" : "media-feature-name-value-allowed-list", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "media-feature-name-value-allowed-list", - "default" : null - } ], - "languages" : [ ], - "enabled" : true - }, { - "patternId" : "media-feature-name-value-no-unknown", - "level" : "Warning", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "media-feature-name-value-no-unknown", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "media-feature-parentheses-space-inside", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "media-feature-parentheses-space-inside", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "media-feature-range-notation", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "media-feature-range-notation", - "default" : "context" - } ], - "languages" : [ ], - "enabled" : true - }, { - "patternId" : "media-feature-range-operator-space-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "media-feature-range-operator-space-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "media-feature-range-operator-space-before", + "patternId" : "media-feature-name-no-vendor-prefix", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { - "name" : "media-feature-range-operator-space-before", - "default" : null + "name" : "media-feature-name-no-vendor-prefix", + "default" : true } ], "languages" : [ ], - "enabled" : false + "enabled" : true }, { - "patternId" : "media-query-list-comma-newline-after", + "patternId" : "media-feature-name-unit-allowed-list", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { - "name" : "media-query-list-comma-newline-after", + "name" : "media-feature-name-unit-allowed-list", "default" : null } ], "languages" : [ ], - "enabled" : false + "enabled" : true }, { - "patternId" : "media-query-list-comma-newline-before", + "patternId" : "media-feature-name-value-allowed-list", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { - "name" : "media-query-list-comma-newline-before", + "name" : "media-feature-name-value-allowed-list", "default" : null } ], "languages" : [ ], - "enabled" : false + "enabled" : true }, { - "patternId" : "media-query-list-comma-space-after", - "level" : "Info", + "patternId" : "media-feature-name-value-no-unknown", + "level" : "Warning", "category" : "CodeStyle", "parameters" : [ { - "name" : "media-query-list-comma-space-after", + "name" : "media-feature-name-value-no-unknown", "default" : null } ], "languages" : [ ], "enabled" : false }, { - "patternId" : "media-query-list-comma-space-before", + "patternId" : "media-feature-range-notation", "level" : "Info", "category" : "CodeStyle", "parameters" : [ { - "name" : "media-query-list-comma-space-before", - "default" : null + "name" : "media-feature-range-notation", + "default" : "context" } ], "languages" : [ ], - "enabled" : false + "enabled" : true }, { "patternId" : "media-query-no-invalid", "level" : "Info", @@ -1215,16 +755,6 @@ } ], "languages" : [ ], "enabled" : false - }, { - "patternId" : "no-empty-first-line", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "no-empty-first-line", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "no-empty-source", "level" : "Warning", @@ -1235,26 +765,6 @@ } ], "languages" : [ ], "enabled" : false - }, { - "patternId" : "no-eol-whitespace", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "no-eol-whitespace", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "no-extra-semicolons", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "no-extra-semicolons", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "no-invalid-double-slash-comments", "level" : "Warning", @@ -1285,16 +795,6 @@ } ], "languages" : [ ], "enabled" : false - }, { - "patternId" : "no-missing-end-of-source-newline", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "no-missing-end-of-source-newline", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "no-unknown-animations", "level" : "Warning", @@ -1315,16 +815,6 @@ } ], "languages" : [ ], "enabled" : false - }, { - "patternId" : "number-leading-zero", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "number-leading-zero", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "number-max-precision", "level" : "Info", @@ -1335,16 +825,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "number-no-trailing-zeros", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "number-no-trailing-zeros", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "property-allowed-list", "level" : "Info", @@ -1355,16 +835,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "property-case", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "property-case", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "property-disallowed-list", "level" : "Info", @@ -1428,16 +898,6 @@ } ], "languages" : [ ], "enabled" : false - }, { - "patternId" : "selector-attribute-brackets-space-inside", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "selector-attribute-brackets-space-inside", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "selector-attribute-name-disallowed-list", "level" : "Info", @@ -1468,26 +928,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "selector-attribute-operator-space-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "selector-attribute-operator-space-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "selector-attribute-operator-space-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "selector-attribute-operator-space-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "selector-attribute-quotes", "level" : "Info", @@ -1530,36 +970,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "selector-combinator-space-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "selector-combinator-space-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "selector-combinator-space-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "selector-combinator-space-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "selector-descendant-combinator-no-non-space", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "selector-descendant-combinator-no-non-space", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "selector-disallowed-list", "level" : "Info", @@ -1582,46 +992,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "selector-list-comma-newline-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "selector-list-comma-newline-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "selector-list-comma-newline-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "selector-list-comma-newline-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "selector-list-comma-space-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "selector-list-comma-space-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "selector-list-comma-space-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "selector-list-comma-space-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "selector-max-attribute", "level" : "Info", @@ -1662,16 +1032,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "selector-max-empty-lines", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "selector-max-empty-lines", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "selector-max-id", "level" : "Info", @@ -1772,16 +1132,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "selector-pseudo-class-case", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "selector-pseudo-class-case", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "selector-pseudo-class-disallowed-list", "level" : "Info", @@ -1802,16 +1152,6 @@ } ], "languages" : [ ], "enabled" : false - }, { - "patternId" : "selector-pseudo-class-parentheses-space-inside", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "selector-pseudo-class-parentheses-space-inside", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "selector-pseudo-element-allowed-list", "level" : "Info", @@ -1822,16 +1162,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "selector-pseudo-element-case", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "selector-pseudo-element-case", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "selector-pseudo-element-colon-notation", "level" : "Info", @@ -1904,16 +1234,6 @@ } ], "languages" : [ ], "enabled" : false - }, { - "patternId" : "string-quotes", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "string-quotes", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "time-min-milliseconds", "level" : "Info", @@ -1924,16 +1244,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "unicode-bom", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "unicode-bom", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "unit-allowed-list", "level" : "Info", @@ -1944,16 +1254,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "unit-case", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "unit-case", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "unit-disallowed-list", "level" : "Info", @@ -1984,56 +1284,6 @@ } ], "languages" : [ ], "enabled" : true - }, { - "patternId" : "value-list-comma-newline-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "value-list-comma-newline-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "value-list-comma-newline-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "value-list-comma-newline-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "value-list-comma-space-after", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "value-list-comma-space-after", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "value-list-comma-space-before", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "value-list-comma-space-before", - "default" : null - } ], - "languages" : [ ], - "enabled" : false - }, { - "patternId" : "value-list-max-empty-lines", - "level" : "Info", - "category" : "CodeStyle", - "parameters" : [ { - "name" : "value-list-max-empty-lines", - "default" : null - } ], - "languages" : [ ], - "enabled" : false }, { "patternId" : "value-no-vendor-prefix", "level" : "Info", diff --git a/docs/tool-description.md b/docs/tool-description.md index 5b206b0b..f82e59db 100644 --- a/docs/tool-description.md +++ b/docs/tool-description.md @@ -1 +1 @@ -Stylelint is a modern linter that helps you avoid errors and enforce conventions in your styles. It includes over 160 built-in rules for CSS and CSS-like syntaxes like SCSS, Sass, and Less. [Learn more](https://github.com/stylelint/stylelint) +Stylelint is a modern linter that helps you avoid errors and enforce conventions in your styles. It includes over 160 built-in rules for CSS and CSS-like syntaxes like SCSS, Sass, and Less. [Learn more](https://github.com/stylelint/stylelint) diff --git a/package-lock.json b/package-lock.json index e3a51bd3..c60c93e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,29 +5,29 @@ "packages": { "": { "dependencies": { - "postcss": "^8.4.33", + "postcss": "^8.4.38", "postcss-less": "^6.0.0", - "postcss-safe-parser": "^6.0.0", + "postcss-safe-parser": "^7.0.0", "postcss-sass": "^0.5.0", - "postcss-scss": "^4.0.7", + "postcss-scss": "^4.0.9", "postcss-styled": "^0.34.0", - "postcss-styled-syntax": "^0.4.0", + "postcss-styled-syntax": "^0.6.4", "postcss-syntax": "^0.36.2", - "prettier": "^3.0.3", - "stylelint": "^15.10.3", - "stylelint-config-css-modules": "^4.3.0", - "stylelint-config-sass-guidelines": "^10.0.0", + "prettier": "^3.2.5", + "stylelint": "^16.3.1", + "stylelint-config-css-modules": "^4.4.0", + "stylelint-config-sass-guidelines": "^11.1.0", "stylelint-config-slds": "^1.0.8", - "stylelint-config-standard": "^34.0.0", - "stylelint-config-standard-scss": "^11.0.0", + "stylelint-config-standard": "^36.0.0", + "stylelint-config-standard-scss": "^13.1.0", "stylelint-config-styled-components": "^0.1.1", "stylelint-config-tailwindcss": "^0.0.7", - "stylelint-config-twbs-bootstrap": "^11.0.1", - "stylelint-declaration-strict-value": "^1.9.2", + "stylelint-config-twbs-bootstrap": "^14.1.0", + "stylelint-declaration-strict-value": "^1.10.4", "stylelint-no-px": "^1.0.1", - "stylelint-prettier": "^4.0.2", - "stylelint-scss": "^5.1.0", - "stylelint-selector-bem-pattern": "^3.0.1", + "stylelint-prettier": "^5.0.0", + "stylelint-scss": "^6.2.1", + "stylelint-selector-bem-pattern": "^4.0.0", "stylelint-suitcss": "^5.0.0" } }, @@ -85,9 +85,9 @@ } }, "node_modules/@csstools/css-parser-algorithms": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.3.1.tgz", - "integrity": "sha512-xrvsmVUtefWMWQsGgFffqWSK03pZ1vfDki4IVIIUxxDKnGBzqNgv0A7SB1oXtVNEkcVO8xi1ZrTL29HhSu5kGA==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.6.1.tgz", + "integrity": "sha512-ubEkAaTfVZa+WwGhs5jbo5Xfqpeaybr/RvWzvFxRs4jfq16wH8l8Ty/QEEpINxll4xhuGfdMbipRyz5QZh9+FA==", "funding": [ { "type": "github", @@ -102,13 +102,13 @@ "node": "^14 || ^16 || >=18" }, "peerDependencies": { - "@csstools/css-tokenizer": "^2.2.0" + "@csstools/css-tokenizer": "^2.2.4" } }, "node_modules/@csstools/css-tokenizer": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.2.0.tgz", - "integrity": "sha512-wErmsWCbsmig8sQKkM6pFhr/oPha1bHfvxsUY5CYSQxwyhA9Ulrs8EqCgClhg4Tgg2XapVstGqSVcz0xOYizZA==", + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.2.4.tgz", + "integrity": "sha512-PuWRAewQLbDhGeTvFuq2oClaSCKPIBmHyIobCV39JHRYN0byDcUWJl5baPeNUcqrjtdMNqFooE0FGl31I3JOqw==", "funding": [ { "type": "github", @@ -124,9 +124,9 @@ } }, "node_modules/@csstools/media-query-list-parser": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.4.tgz", - "integrity": "sha512-V/OUXYX91tAC1CDsiY+HotIcJR+vPtzrX8pCplCpT++i8ThZZsq5F5dzZh/bDM3WUOjrvC1ljed1oSJxMfjqhw==", + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.9.tgz", + "integrity": "sha512-qqGuFfbn4rUmyOB0u8CVISIp5FfJ5GAR3mBrZ9/TKndHakdnm6pY0L/fbLcpPnrzwCyyTEZl1nUcXAYHEWneTA==", "funding": [ { "type": "github", @@ -141,8 +141,8 @@ "node": "^14 || ^16 || >=18" }, "peerDependencies": { - "@csstools/css-parser-algorithms": "^2.3.1", - "@csstools/css-tokenizer": "^2.2.0" + "@csstools/css-parser-algorithms": "^2.6.1", + "@csstools/css-tokenizer": "^2.2.4" } }, "node_modules/@csstools/selector-specificity": { @@ -160,6 +160,15 @@ "postcss-selector-parser": "^6.0.10" } }, + "node_modules/@dual-bundle/import-meta-resolve": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.0.0.tgz", + "integrity": "sha512-ZKXyJeFAzcpKM2kk8ipoGIPUqx9BX52omTGnfwjJvxOCaZTM2wtDK7zN0aIgPRbT9XYAlha0HtmZ+XKteuh0Gw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", @@ -270,6 +279,68 @@ "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", "peer": true }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", @@ -356,6 +427,50 @@ "node": ">= 8" } }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@stylistic/stylelint-config": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stylistic/stylelint-config/-/stylelint-config-1.0.1.tgz", + "integrity": "sha512-JgFP88HZEyo34k9RpWVdcQJtLPrMxYE58IO3qypXhmvE/NmZohj+xjDtQ8UfaarnYsLecnldw57/GHum07Ctdw==", + "dependencies": { + "@stylistic/stylelint-plugin": "^2.0.0" + }, + "engines": { + "node": "^18.12 || >=20.9" + }, + "peerDependencies": { + "stylelint": "^16.0.2" + } + }, + "node_modules/@stylistic/stylelint-plugin": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@stylistic/stylelint-plugin/-/stylelint-plugin-2.1.1.tgz", + "integrity": "sha512-xqHTmQZN7EbnFDW7jw0rAsdFNO4IRqvXhrh3qhUlIwF/x09Zm7kgs/ADktHxsTJYcw346PpGihsB0t4pZhpeHw==", + "dependencies": { + "@csstools/css-parser-algorithms": "^2.5.0", + "@csstools/css-tokenizer": "^2.2.3", + "@csstools/media-query-list-parser": "^2.1.7", + "is-plain-object": "^5.0.0", + "postcss-selector-parser": "^6.0.15", + "postcss-value-parser": "^4.2.0", + "style-search": "^0.1.0", + "stylelint": "^16.2.1" + }, + "engines": { + "node": "^18.12 || >=20.9" + }, + "peerDependencies": { + "stylelint": "^16.0.2" + } + }, "node_modules/@types/json-schema": { "version": "7.0.12", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", @@ -769,7 +884,6 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "peer": true, "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -783,7 +897,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "peer": true, "dependencies": { "isexe": "^2.0.0" }, @@ -794,27 +907,14 @@ "node": ">= 8" } }, - "node_modules/css-color-names": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz", - "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=", - "engines": { - "node": "*" - } - }, "node_modules/css-functions-list": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.0.tgz", - "integrity": "sha512-d/jBMPyYybkkLVypgtGv12R+pIFw4/f/IHtCTxWpZc8ofTYOPigIgmA6vu5rMHartZC+WuXhBUHfnyNUIQSYrg==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.1.tgz", + "integrity": "sha512-Nj5YcaGgBtuUmn1D7oHqPW0c9iui7xsTsj5lIX8ZgevdfhmjFfKB3r8moHJtNJnctnYXJyYX5I1pp90HM4TPgQ==", "engines": { - "node": ">=12.22" + "node": ">=12 || >=16" } }, - "node_modules/css-shorthand-properties": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/css-shorthand-properties/-/css-shorthand-properties-1.1.1.tgz", - "integrity": "sha512-Md+Juc7M3uOdbAFwOYlTrccIZ7oCFuzrhKYQjdeUEW/sE1hv17Jp/Bws+ReOPpGVBTYCBoYo+G17V5Qo8QQ75A==" - }, "node_modules/css-tree": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz", @@ -827,21 +927,6 @@ "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" } }, - "node_modules/css-values": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/css-values/-/css-values-0.1.0.tgz", - "integrity": "sha1-Eot84QPU3AJ6gUpdWZXFR4HXtMY=", - "dependencies": { - "css-color-names": "0.0.4", - "ends-with": "^0.2.0", - "postcss-value-parser": "^3.3.0" - } - }, - "node_modules/css-values/node_modules/postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, "node_modules/cssesc": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", @@ -938,17 +1023,22 @@ "node": ">=6.0.0" } }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, - "node_modules/ends-with": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/ends-with/-/ends-with-0.2.0.tgz", - "integrity": "sha1-L52pjVelDP2kVxzkM5AAUA9Oa4o=", + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", "engines": { - "node": ">=0.10.0" + "node": ">=6" } }, "node_modules/error-ex": { @@ -1297,11 +1387,6 @@ "node": ">=4.0" } }, - "node_modules/estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" - }, "node_modules/esutils": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", @@ -1322,9 +1407,9 @@ "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==" }, "node_modules/fast-glob": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", - "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -1411,9 +1496,35 @@ } }, "node_modules/flatted": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.4.tgz", - "integrity": "sha512-8/sOawo8tJ4QOBX8YlQBMxL8+RLZfxMQOif9o0KUKTNTjMYElWPE0r/m5VNFxTRd0NSw8qSy8dajrwX4RYI1Hw==" + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==" + }, + "node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/foreground-child/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } }, "node_modules/fs.realpath": { "version": "1.0.0", @@ -1611,9 +1722,9 @@ } }, "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", "engines": { "node": ">= 4" } @@ -1766,6 +1877,23 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, + "node_modules/jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, "node_modules/jiti": { "version": "1.18.2", "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.18.2.tgz", @@ -1791,6 +1919,11 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==" + }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", @@ -1807,6 +1940,14 @@ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", "peer": true }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dependencies": { + "json-buffer": "3.0.1" + } + }, "node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -1816,9 +1957,9 @@ } }, "node_modules/known-css-properties": { - "version": "0.28.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.28.0.tgz", - "integrity": "sha512-9pSL5XB4J+ifHP0e0jmmC98OGC1nL8/JjS+fi6mnTlIf//yt/MfVLtKg7S6nCtj/8KTcWX7nRlY0XywoYY1ISQ==" + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.29.0.tgz", + "integrity": "sha512-Ne7wqW7/9Cz54PDt4I3tcV+hAyat8ypyOGzYRJQfdxnnjeWsTxt1cy8pjvvKeI5kfXuyvULyeeAvwvvtAX3ayQ==" }, "node_modules/levn": { "version": "0.4.1", @@ -1998,6 +2139,14 @@ "node": ">=0.10.0" } }, + "node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -2177,7 +2326,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "peer": true, "engines": { "node": ">=8" } @@ -2187,6 +2335,29 @@ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, + "node_modules/path-scurry": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "dependencies": { + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", + "engines": { + "node": "14 || >=16.14" + } + }, "node_modules/path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", @@ -2230,9 +2401,9 @@ } }, "node_modules/postcss": { - "version": "8.4.33", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz", - "integrity": "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==", + "version": "8.4.38", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", + "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", "funding": [ { "type": "opencollective", @@ -2250,7 +2421,7 @@ "dependencies": { "nanoid": "^3.3.7", "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" + "source-map-js": "^1.2.0" }, "engines": { "node": "^10 || ^12 || >=14" @@ -2383,18 +2554,28 @@ "integrity": "sha1-Kcy8fDfe36wwTp//C/FZaz9qDk4=" }, "node_modules/postcss-safe-parser": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz", - "integrity": "sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-7.0.0.tgz", + "integrity": "sha512-ovehqRNVCpuFzbXoTb4qLtyzK3xn3t/CUBxOs8LsnQjQrShaB4lKiHoVqY8ANaC0hBMHq5QVWk77rwGklFUDrg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss-safe-parser" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "engines": { - "node": ">=12.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "node": ">=18.0" }, "peerDependencies": { - "postcss": "^8.3.3" + "postcss": "^8.4.31" } }, "node_modules/postcss-sass": { @@ -2410,9 +2591,9 @@ } }, "node_modules/postcss-scss": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-4.0.7.tgz", - "integrity": "sha512-xPv2GseoyXPa58Nro7M73ZntttusuCmZdeOojUFR5PZDz2BR62vfYx1w9TyOnp1+nYFowgOMipsCBhxzVkAEPw==", + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-4.0.9.tgz", + "integrity": "sha512-AjKOeiwAitL/MXxQW2DliT28EKukvvbEWx3LBmJIRN8KfBGZbRTxNYW0kSqi1COiTZ57nZ9NW06S6ux//N1c9A==", "funding": [ { "type": "opencollective", @@ -2431,13 +2612,13 @@ "node": ">=12.0" }, "peerDependencies": { - "postcss": "^8.4.19" + "postcss": "^8.4.29" } }, "node_modules/postcss-selector-parser": { - "version": "6.0.13", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", - "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", + "version": "6.0.16", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz", + "integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==", "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -2464,12 +2645,14 @@ } }, "node_modules/postcss-styled-syntax": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/postcss-styled-syntax/-/postcss-styled-syntax-0.4.0.tgz", - "integrity": "sha512-LvG++K8LtIyX1Q1mNuZVQYmBo+SCwn90cEkMigo4/I0QwXrEiYt8nPeJ5rrI5Uuh+5w7hRfPyJKlvQdhVZBhUg==", + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/postcss-styled-syntax/-/postcss-styled-syntax-0.6.4.tgz", + "integrity": "sha512-uWiLn+9rKgIghUYmTHvXMR6MnyPULMe9Gv3bV537Fg4FH6CA6cn21WMjKss2Qb98LUhT847tKfnRGG3FhSOgUQ==", "dependencies": { - "@typescript-eslint/typescript-estree": "^5.47.0", - "estree-walker": "^2.0.2" + "typescript": "^5.3.3" + }, + "engines": { + "node": ">=14.17" }, "peerDependencies": { "postcss": "^8.4.21" @@ -2498,9 +2681,9 @@ } }, "node_modules/prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", + "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", "bin": { "prettier": "bin/prettier.cjs" }, @@ -2721,7 +2904,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "peer": true, "dependencies": { "shebang-regex": "^3.0.0" }, @@ -2733,19 +2915,10 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "peer": true, "engines": { "node": ">=8" } }, - "node_modules/shortcss": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/shortcss/-/shortcss-0.1.3.tgz", - "integrity": "sha1-7ip5BNgLf1UCyYQI9KLzE/qt+0g=", - "dependencies": { - "css-shorthand-properties": "^1.0.0" - } - }, "node_modules/signal-exit": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", @@ -2800,9 +2973,9 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "node_modules/source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", + "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", "engines": { "node": ">=0.10.0" } @@ -2848,6 +3021,20 @@ "node": ">=8" } }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -2859,6 +3046,18 @@ "node": ">=8" } }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-indent": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", @@ -2888,46 +3087,45 @@ "integrity": "sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=" }, "node_modules/stylelint": { - "version": "15.10.3", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.10.3.tgz", - "integrity": "sha512-aBQMMxYvFzJJwkmg+BUUg3YfPyeuCuKo2f+LOw7yYbU8AZMblibwzp9OV4srHVeQldxvSFdz0/Xu8blq2AesiA==", - "dependencies": { - "@csstools/css-parser-algorithms": "^2.3.1", - "@csstools/css-tokenizer": "^2.2.0", - "@csstools/media-query-list-parser": "^2.1.4", - "@csstools/selector-specificity": "^3.0.0", + "version": "16.3.1", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.3.1.tgz", + "integrity": "sha512-/JOwQnBvxEKOT2RtNgGpBVXnCSMBgKOL2k7w0K52htwCyJls4+cHvc4YZgXlVoAZS9QJd2DgYAiRnja96pTgxw==", + "dependencies": { + "@csstools/css-parser-algorithms": "^2.6.1", + "@csstools/css-tokenizer": "^2.2.4", + "@csstools/media-query-list-parser": "^2.1.9", + "@csstools/selector-specificity": "^3.0.2", + "@dual-bundle/import-meta-resolve": "^4.0.0", "balanced-match": "^2.0.0", "colord": "^2.9.3", - "cosmiconfig": "^8.2.0", - "css-functions-list": "^3.2.0", + "cosmiconfig": "^9.0.0", + "css-functions-list": "^3.2.1", "css-tree": "^2.3.1", "debug": "^4.3.4", - "fast-glob": "^3.3.1", + "fast-glob": "^3.3.2", "fastest-levenshtein": "^1.0.16", - "file-entry-cache": "^6.0.1", + "file-entry-cache": "^8.0.0", "global-modules": "^2.0.0", "globby": "^11.1.0", "globjoin": "^0.1.4", "html-tags": "^3.3.1", - "ignore": "^5.2.4", - "import-lazy": "^4.0.0", + "ignore": "^5.3.1", "imurmurhash": "^0.1.4", "is-plain-object": "^5.0.0", - "known-css-properties": "^0.28.0", + "known-css-properties": "^0.30.0", "mathml-tag-names": "^2.1.3", - "meow": "^10.1.5", + "meow": "^13.2.0", "micromatch": "^4.0.5", "normalize-path": "^3.0.0", "picocolors": "^1.0.0", - "postcss": "^8.4.27", + "postcss": "^8.4.38", "postcss-resolve-nested-selector": "^0.1.1", - "postcss-safe-parser": "^6.0.0", - "postcss-selector-parser": "^6.0.13", + "postcss-safe-parser": "^7.0.0", + "postcss-selector-parser": "^6.0.16", "postcss-value-parser": "^4.2.0", "resolve-from": "^5.0.0", "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "style-search": "^0.1.0", + "strip-ansi": "^7.1.0", "supports-hyperlinks": "^3.0.0", "svg-tags": "^1.0.0", "table": "^6.8.1", @@ -2937,7 +3135,7 @@ "stylelint": "bin/stylelint.mjs" }, "engines": { - "node": "^14.13.1 || >=16.0.0" + "node": ">=18.12.0" }, "funding": { "type": "opencollective", @@ -2945,50 +3143,53 @@ } }, "node_modules/stylelint-config-css-modules": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/stylelint-config-css-modules/-/stylelint-config-css-modules-4.3.0.tgz", - "integrity": "sha512-KvIvhzzjpcjHKkGSPkQCueoZJHrb6sZ6GCtrQb/J45HQTBVwJAeNYXaSZZK6ZQOC7NxJ4v5kLxpQLDiCK6zzgw==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/stylelint-config-css-modules/-/stylelint-config-css-modules-4.4.0.tgz", + "integrity": "sha512-J93MtxPjRzs/TjwbJ5y9SQy4iIqULXwL1CF1yx2tQCJfS/VZUcDAmoGOwqlLbhHXSQtZO5XQiA75NVWUR3KDCQ==", "optionalDependencies": { - "stylelint-scss": "^5.0.0 || ^6.0.0" + "stylelint-scss": "^6.0.0" }, "peerDependencies": { - "stylelint": "^14.5.1 || ^15.0.0" + "stylelint": "^14.5.1 || ^15.0.0 || ^16.0.0" } }, "node_modules/stylelint-config-recess-order": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recess-order/-/stylelint-config-recess-order-4.3.0.tgz", - "integrity": "sha512-EWVtxZ8oq4/meTrRNUDrS5TqMz6TX72JjKDwVQq0JJDXE+P/o7UuFw3wWV/0O9yvJfh/da6nJY71ZUn/wSfB4g==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recess-order/-/stylelint-config-recess-order-5.0.0.tgz", + "integrity": "sha512-D+/Got844O96No2mj/H2NhLjj555iKAy/Mea+JCerfKB9TBKQW3/IudSVkTCxE4QiRDLldfH15x6FH1D1Anjhw==", "dependencies": { - "stylelint-order": "6.x" + "stylelint-order": "^6.0.4" }, "peerDependencies": { - "stylelint": ">=15" + "stylelint": ">=16" } }, "node_modules/stylelint-config-recommended": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-13.0.0.tgz", - "integrity": "sha512-EH+yRj6h3GAe/fRiyaoO2F9l9Tgg50AOFhaszyfov9v6ayXJ1IkSHwTxd7lB48FmOeSGDPLjatjO11fJpmarkQ==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.0.tgz", + "integrity": "sha512-jSkx290CglS8StmrLp2TxAppIajzIBZKYm3IxT89Kg6fGlxbPiTiyH9PS5YUuVAFwaJLl1ikiXX0QWjI0jmgZQ==", "engines": { - "node": "^14.13.1 || >=16.0.0" + "node": ">=18.12.0" }, "peerDependencies": { - "stylelint": "^15.10.0" + "stylelint": "^16.0.0" } }, "node_modules/stylelint-config-recommended-scss": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-13.0.0.tgz", - "integrity": "sha512-7AmMIsHTsuwUQm7I+DD5BGeIgCvqYZ4BpeYJJpb1cUXQwrJAKjA+GBotFZgUEGP8lAM+wmd91ovzOi8xfAyWEw==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-14.0.0.tgz", + "integrity": "sha512-HDvpoOAQ1RpF+sPbDOT2Q2/YrBDEJDnUymmVmZ7mMCeNiFSdhRdyGEimBkz06wsN+HaFwUh249gDR+I9JR7Onw==", "dependencies": { - "postcss-scss": "^4.0.7", - "stylelint-config-recommended": "^13.0.0", - "stylelint-scss": "^5.1.0" + "postcss-scss": "^4.0.9", + "stylelint-config-recommended": "^14.0.0", + "stylelint-scss": "^6.0.0" + }, + "engines": { + "node": ">=18.12.0" }, "peerDependencies": { "postcss": "^8.3.3", - "stylelint": "^15.10.0" + "stylelint": "^16.0.2" }, "peerDependenciesMeta": { "postcss": { @@ -2997,33 +3198,19 @@ } }, "node_modules/stylelint-config-sass-guidelines": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-sass-guidelines/-/stylelint-config-sass-guidelines-10.0.0.tgz", - "integrity": "sha512-+Rr2Dd4b72CWA4qoj1Kk+y449nP/WJsrD0nzQAWkmPPIuyVcy2GMIcfNr0Z8JJOLjRvtlkKxa49FCNXMePBikQ==", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/stylelint-config-sass-guidelines/-/stylelint-config-sass-guidelines-11.1.0.tgz", + "integrity": "sha512-mVE3UmN8MlshK4Gb3eYk6f8tw9DkQ9yjMF4W9krlmpaNZpSXOdh13AL0sU7l/9l4Pnpt4KMobNNIRI0tJl56Cw==", "dependencies": { - "postcss-scss": "^4.0.6", - "stylelint-scss": "^4.4.0" + "postcss-scss": "^4.0.9", + "stylelint-scss": "^6.2.1" }, "engines": { - "node": "^14.13.1 || >=16.13.0 || >=18.0.0" + "node": ">=18.12.0" }, "peerDependencies": { "postcss": "^8.4.21", - "stylelint": "^15.2.0" - } - }, - "node_modules/stylelint-config-sass-guidelines/node_modules/stylelint-scss": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.7.0.tgz", - "integrity": "sha512-TSUgIeS0H3jqDZnby1UO1Qv3poi1N8wUYIJY6D1tuUq2MN3lwp/rITVo0wD+1SWTmRm0tNmGO0b7nKInnqF6Hg==", - "dependencies": { - "postcss-media-query-parser": "^0.2.3", - "postcss-resolve-nested-selector": "^0.1.1", - "postcss-selector-parser": "^6.0.11", - "postcss-value-parser": "^4.2.0" - }, - "peerDependencies": { - "stylelint": "^14.5.1 || ^15.0.0" + "stylelint": "^16.1.0" } }, "node_modules/stylelint-config-slds": { @@ -3032,30 +3219,33 @@ "integrity": "sha512-oqBKmbYkwPoqwJoa5xVlL4ZF6xBVQe3ZDLypA6LX7BOnvS3nmuvhXw9v61N4haR5TyaNSXl56ylWRZOVeFdgCA==" }, "node_modules/stylelint-config-standard": { - "version": "34.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-34.0.0.tgz", - "integrity": "sha512-u0VSZnVyW9VSryBG2LSO+OQTjN7zF9XJaAJRX/4EwkmU0R2jYwmBSN10acqZisDitS0CLiEiGjX7+Hrq8TAhfQ==", + "version": "36.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.0.tgz", + "integrity": "sha512-3Kjyq4d62bYFp/Aq8PMKDwlgUyPU4nacXsjDLWJdNPRUgpuxALu1KnlAHIj36cdtxViVhXexZij65yM0uNIHug==", "dependencies": { - "stylelint-config-recommended": "^13.0.0" + "stylelint-config-recommended": "^14.0.0" }, "engines": { - "node": "^14.13.1 || >=16.0.0" + "node": ">=18.12.0" }, "peerDependencies": { - "stylelint": "^15.10.0" + "stylelint": "^16.1.0" } }, "node_modules/stylelint-config-standard-scss": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard-scss/-/stylelint-config-standard-scss-11.0.0.tgz", - "integrity": "sha512-fGE79NBOLg09a9afqGH/guJulRULCaQWWv4cv1v2bMX92B+fGb0y56WqIguwvFcliPmmUXiAhKrrnXilIeXoHA==", + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/stylelint-config-standard-scss/-/stylelint-config-standard-scss-13.1.0.tgz", + "integrity": "sha512-Eo5w7/XvwGHWkeGLtdm2FZLOMYoZl1omP2/jgFCXyl2x5yNz7/8vv4Tj6slHvMSSUNTaGoam/GAZ0ZhukvalfA==", "dependencies": { - "stylelint-config-recommended-scss": "^13.0.0", - "stylelint-config-standard": "^34.0.0" + "stylelint-config-recommended-scss": "^14.0.0", + "stylelint-config-standard": "^36.0.0" + }, + "engines": { + "node": ">=18.12.0" }, "peerDependencies": { "postcss": "^8.3.3", - "stylelint": "^15.10.0" + "stylelint": "^16.3.1" }, "peerDependenciesMeta": { "postcss": { @@ -3078,9 +3268,9 @@ } }, "node_modules/stylelint-config-twbs-bootstrap": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/stylelint-config-twbs-bootstrap/-/stylelint-config-twbs-bootstrap-11.0.1.tgz", - "integrity": "sha512-kEdVrghfOi1jVr9yE78JKLIh+/jC4GVUsoZceXQH3/A71rcSbNw8zME2tauTrs0je/67Y61iZgwDXpuNRv6L2Q==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/stylelint-config-twbs-bootstrap/-/stylelint-config-twbs-bootstrap-14.1.0.tgz", + "integrity": "sha512-4pd1ddeLesZX2GQvQlelrFAUcgKo1GAFUSPR379s+hDUXrF+6JdUVpfUTfKq/k1U4a5RSbtUOXLS238rnqLPqg==", "funding": [ { "type": "github", @@ -3092,85 +3282,29 @@ } ], "dependencies": { - "stylelint-config-recess-order": "^4.2.0", - "stylelint-config-standard": "^33.0.0", - "stylelint-config-standard-scss": "^10.0.0", - "stylelint-scss": "^5.0.1", - "stylelint-stylistic": "^0.4.3" + "@stylistic/stylelint-config": "^1.0.1", + "@stylistic/stylelint-plugin": "^2.1.1", + "stylelint-config-recess-order": "^5.0.0", + "stylelint-config-standard": "^36.0.0", + "stylelint-config-standard-scss": "^13.0.0", + "stylelint-scss": "^6.2.1" }, "engines": { - "node": "^14.13.1 || >=16.0.0" - }, - "peerDependencies": { - "stylelint": "^15.5.0" - } - }, - "node_modules/stylelint-config-twbs-bootstrap/node_modules/stylelint-config-recommended": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-12.0.0.tgz", - "integrity": "sha512-x6x8QNARrGO2sG6iURkzqL+Dp+4bJorPMMRNPScdvaUK8PsynriOcMW7AFDKqkWAS5wbue/u8fUT/4ynzcmqdQ==", - "peerDependencies": { - "stylelint": "^15.5.0" - } - }, - "node_modules/stylelint-config-twbs-bootstrap/node_modules/stylelint-config-recommended-scss": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-12.0.0.tgz", - "integrity": "sha512-5Bb2mlGy6WLa30oNeKpZvavv2lowJUsUJO25+OA68GFTemlwd1zbFsL7q0bReKipOSU3sG47hKneZ6Nd+ctrFA==", - "dependencies": { - "postcss-scss": "^4.0.6", - "stylelint-config-recommended": "^12.0.0", - "stylelint-scss": "^5.0.0" - }, - "peerDependencies": { - "postcss": "^8.3.3", - "stylelint": "^15.5.0" - }, - "peerDependenciesMeta": { - "postcss": { - "optional": true - } - } - }, - "node_modules/stylelint-config-twbs-bootstrap/node_modules/stylelint-config-standard": { - "version": "33.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-33.0.0.tgz", - "integrity": "sha512-eyxnLWoXImUn77+ODIuW9qXBDNM+ALN68L3wT1lN2oNspZ7D9NVGlNHb2QCUn4xDug6VZLsh0tF8NyoYzkgTzg==", - "dependencies": { - "stylelint-config-recommended": "^12.0.0" - }, - "peerDependencies": { - "stylelint": "^15.5.0" - } - }, - "node_modules/stylelint-config-twbs-bootstrap/node_modules/stylelint-config-standard-scss": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard-scss/-/stylelint-config-standard-scss-10.0.0.tgz", - "integrity": "sha512-bChBEo1p3xUVWh/wenJI+josoMk21f2yuLDGzGjmKYcALfl2u3DFltY+n4UHswYiXghqXaA8mRh+bFy/q1hQlg==", - "dependencies": { - "stylelint-config-recommended-scss": "^12.0.0", - "stylelint-config-standard": "^33.0.0" + "node": ">=18.12.0" }, "peerDependencies": { - "postcss": "^8.3.3", - "stylelint": "^15.5.0" - }, - "peerDependenciesMeta": { - "postcss": { - "optional": true - } + "stylelint": "^16.1.0" } }, "node_modules/stylelint-declaration-strict-value": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/stylelint-declaration-strict-value/-/stylelint-declaration-strict-value-1.9.2.tgz", - "integrity": "sha512-Z/2yr7g4tq2iGOUWhZLzHL2g2GJYJGcPkfjDh++zI8ukLxW0tcLGJjo64XYCDjja6YcECPDUWbpN+OAoAtAYvw==", - "dependencies": { - "css-values": "^0.1.0", - "shortcss": "^0.1.3" + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/stylelint-declaration-strict-value/-/stylelint-declaration-strict-value-1.10.4.tgz", + "integrity": "sha512-unOEftKCOb78Zr+WStqyVj9V1rCdUo+PJI3vFPiHPdu+O9o71K9Mu+txc6VDF7gBXyTTMHbbjIvHk3VNzuixzQ==", + "engines": { + "node": ">=18.12.0" }, "peerDependencies": { - "stylelint": ">=7 <=15" + "stylelint": ">=7 <=16" } }, "node_modules/stylelint-no-px": { @@ -3185,71 +3319,65 @@ } }, "node_modules/stylelint-order": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-6.0.3.tgz", - "integrity": "sha512-1j1lOb4EU/6w49qZeT2SQVJXm0Ht+Qnq9GMfUa3pMwoyojIWfuA+JUDmoR97Bht1RLn4ei0xtLGy87M7d29B1w==", + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-6.0.4.tgz", + "integrity": "sha512-0UuKo4+s1hgQ/uAxlYU4h0o0HS4NiQDud0NAUNI0aa8FJdmYHA5ZZTFHiV5FpmE3071e9pZx5j0QpVJW5zOCUA==", "dependencies": { - "postcss": "^8.4.21", + "postcss": "^8.4.32", "postcss-sorting": "^8.0.2" }, "peerDependencies": { - "stylelint": "^14.0.0 || ^15.0.0" + "stylelint": "^14.0.0 || ^15.0.0 || ^16.0.1" } }, "node_modules/stylelint-prettier": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/stylelint-prettier/-/stylelint-prettier-4.0.2.tgz", - "integrity": "sha512-EoHnR2PiaWgpGtoI4VW7AzneMfwmwQsNwQ+3/E2k/a+ju5yO6rfPfop4vzPQKcJN4ZM1YbspEOPu88D8538sbg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/stylelint-prettier/-/stylelint-prettier-5.0.0.tgz", + "integrity": "sha512-RHfSlRJIsaVg5Br94gZVdWlz/rBTyQzZflNE6dXvSxt/GthWMY3gEHsWZEBaVGg7GM+XrtVSp4RznFlB7i0oyw==", "dependencies": { "prettier-linter-helpers": "^1.0.0" }, "engines": { - "node": "^14.17.0 || >=16.0.0" + "node": ">=18.12.0" }, "peerDependencies": { "prettier": ">=3.0.0", - "stylelint": ">=15.8.0" + "stylelint": ">=16.0.0" } }, "node_modules/stylelint-scss": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-5.1.0.tgz", - "integrity": "sha512-E+KlQFXv1Euha43qw3q+wKBSli557wxbbo6/39DWhRNXlUa9Cz+FYrcgz+PT6ag0l6UisCYjAGCNhoSl4FcwlA==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.2.1.tgz", + "integrity": "sha512-ZoGLbVb1keZYRVGQlhB8G6sZOoNqw61whzzzGFWp05N12ErqLFfBv3JPrXiMLZaW98sBS7K/vUQhRnvUj4vwdw==", "dependencies": { + "known-css-properties": "^0.29.0", "postcss-media-query-parser": "^0.2.3", "postcss-resolve-nested-selector": "^0.1.1", - "postcss-selector-parser": "^6.0.13", + "postcss-selector-parser": "^6.0.15", "postcss-value-parser": "^4.2.0" }, + "engines": { + "node": ">=18.12.0" + }, "peerDependencies": { - "stylelint": "^14.5.1 || ^15.0.0" + "stylelint": "^16.0.2" } }, "node_modules/stylelint-selector-bem-pattern": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/stylelint-selector-bem-pattern/-/stylelint-selector-bem-pattern-3.0.1.tgz", - "integrity": "sha512-eh0tyyVyS62IOVzyi5oN0BKLJTHnolMWIqzpe0n3Wk26HxZegp/PiVKSUpK7vzVIAdAROemhypfMaH/xZorZrg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/stylelint-selector-bem-pattern/-/stylelint-selector-bem-pattern-4.0.0.tgz", + "integrity": "sha512-nPo3Vi/xl5s9yEZ2GEFxsdzeq3GJI0f70Cqc6kwn5zbCDkmb2p0S48Mr1O8F/DrXV6kIbQyPbft3Cmmtk42QMQ==", "dependencies": { "eslint-plugin-jest": "^27.2.2", "lodash": ">=4.17.21", "postcss": "^8.4.24", - "postcss-bem-linter": "^4.0.1", - "stylelint": ">=15.9.0" - } - }, - "node_modules/stylelint-stylistic": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/stylelint-stylistic/-/stylelint-stylistic-0.4.3.tgz", - "integrity": "sha512-WphmneK3MRrm5ixvRPWy7+c9+EQUh0FPvNMXW/N9VD85vyqtpxUejpD+mxubVVht0fRgidcqBxtW3s3tU2Ujhw==", - "dependencies": { - "is-plain-object": "^5.0.0", - "postcss": "^8.4.21", - "postcss-media-query-parser": "^0.2.3", - "postcss-value-parser": "^4.2.0", - "style-search": "^0.1.0" + "postcss-bem-linter": "^4.0.1" + }, + "engines": { + "node": ">=18.12.0" }, "peerDependencies": { - "stylelint": "^15.0.0" + "stylelint": "^16.2.1" } }, "node_modules/stylelint-suitcss": { @@ -3278,6 +3406,21 @@ "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.26.0.tgz", "integrity": "sha512-5FZRzrZzNTBruuurWpvZnvP9pum+fe0HcK8z/ooo+U+Hmp4vtbyp1/QDsqmufirXy4egGzbaH/y2uCZf+6W5Kg==" }, + "node_modules/stylelint-suitcss/node_modules/postcss-safe-parser": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz", + "integrity": "sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==", + "engines": { + "node": ">=12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.3.3" + } + }, "node_modules/stylelint-suitcss/node_modules/stylelint": { "version": "14.16.1", "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-14.16.1.tgz", @@ -3369,9 +3512,9 @@ } }, "node_modules/stylelint/node_modules/@csstools/selector-specificity": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.0.tgz", - "integrity": "sha512-hBI9tfBtuPIi885ZsZ32IMEU/5nlZH/KOVYJCOh7gyMxaVLGmLedYqFN6Ui1LXkI8JlC8IsuC0rF0btcRZKd5g==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.3.tgz", + "integrity": "sha512-KEPNw4+WW5AVEIyzC80rTbWEUatTW2lXpN8+8ILC8PiPeWPjwUzrPZDIOZ2wwqDmeqOYTdSGyL3+vE5GC3FB3Q==", "funding": [ { "type": "github", @@ -3389,248 +3532,159 @@ "postcss-selector-parser": "^6.0.13" } }, - "node_modules/stylelint/node_modules/camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "node_modules/stylelint/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "engines": { - "node": ">=10" + "node": ">=12" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, - "node_modules/stylelint/node_modules/camelcase-keys": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-7.0.2.tgz", - "integrity": "sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==", + "node_modules/stylelint/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dependencies": { - "camelcase": "^6.3.0", - "map-obj": "^4.1.0", - "quick-lru": "^5.1.1", - "type-fest": "^1.2.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "balanced-match": "^1.0.0" } }, + "node_modules/stylelint/node_modules/brace-expansion/node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, "node_modules/stylelint/node_modules/cosmiconfig": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.2.0.tgz", - "integrity": "sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", + "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", "dependencies": { - "import-fresh": "^3.2.1", + "env-paths": "^2.2.1", + "import-fresh": "^3.3.0", "js-yaml": "^4.1.0", - "parse-json": "^5.0.0", - "path-type": "^4.0.0" + "parse-json": "^5.2.0" }, "engines": { "node": ">=14" }, "funding": { "url": "https://github.com/sponsors/d-fischer" - } - }, - "node_modules/stylelint/node_modules/decamelize": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-5.0.1.tgz", - "integrity": "sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/stylelint/node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/stylelint/node_modules/indent-string": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", - "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", - "engines": { - "node": ">=12" + "peerDependencies": { + "typescript": ">=4.9.5" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/stylelint/node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "node_modules/stylelint/node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "dependencies": { - "p-locate": "^5.0.0" + "flat-cache": "^4.0.0" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=16.0.0" } }, - "node_modules/stylelint/node_modules/meow": { - "version": "10.1.5", - "resolved": "https://registry.npmjs.org/meow/-/meow-10.1.5.tgz", - "integrity": "sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==", + "node_modules/stylelint/node_modules/flat-cache": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.0.tgz", + "integrity": "sha512-EryKbCE/wxpxKniQlyas6PY1I9vwtF3uCBweX+N8KYTCn3Y12RTGtQAJ/bd5pl7kxUAc8v/R3Ake/N17OZiFqA==", "dependencies": { - "@types/minimist": "^1.2.2", - "camelcase-keys": "^7.0.0", - "decamelize": "^5.0.0", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^3.0.2", - "read-pkg-up": "^8.0.0", - "redent": "^4.0.0", - "trim-newlines": "^4.0.2", - "type-fest": "^1.2.2", - "yargs-parser": "^20.2.9" + "flatted": "^3.2.9", + "keyv": "^4.5.4", + "rimraf": "^5.0.5" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=16" } }, - "node_modules/stylelint/node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "node_modules/stylelint/node_modules/glob": { + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "dependencies": { - "yocto-queue": "^0.1.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/stylelint/node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "dependencies": { - "p-limit": "^3.0.2" + "bin": { + "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=10" + "node": ">=16 || 14 >=14.17" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/stylelint/node_modules/quick-lru": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", - "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "node_modules/stylelint/node_modules/known-css-properties": { + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.30.0.tgz", + "integrity": "sha512-VSWXYUnsPu9+WYKkfmJyLKtIvaRJi1kXUqVmBACORXZQxT5oZDsoZ2vQP+bQFDnWtpI/4eq3MLoRMjI2fnLzTQ==" }, - "node_modules/stylelint/node_modules/read-pkg": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-6.0.0.tgz", - "integrity": "sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==", - "dependencies": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^3.0.2", - "parse-json": "^5.2.0", - "type-fest": "^1.0.1" - }, + "node_modules/stylelint/node_modules/meow": { + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz", + "integrity": "sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==", "engines": { - "node": ">=12" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/stylelint/node_modules/read-pkg-up": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-8.0.0.tgz", - "integrity": "sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==", + "node_modules/stylelint/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dependencies": { - "find-up": "^5.0.0", - "read-pkg": "^6.0.0", - "type-fest": "^1.0.1" + "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=12" + "node": ">=16 || 14 >=14.17" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/stylelint/node_modules/redent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-4.0.0.tgz", - "integrity": "sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag==", + "node_modules/stylelint/node_modules/rimraf": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.5.tgz", + "integrity": "sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==", "dependencies": { - "indent-string": "^5.0.0", - "strip-indent": "^4.0.0" + "glob": "^10.3.7" + }, + "bin": { + "rimraf": "dist/esm/bin.mjs" }, "engines": { - "node": ">=12" + "node": ">=14" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/stylelint/node_modules/strip-indent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-4.0.0.tgz", - "integrity": "sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==", + "node_modules/stylelint/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dependencies": { - "min-indent": "^1.0.1" + "ansi-regex": "^6.0.1" }, "engines": { "node": ">=12" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/stylelint/node_modules/trim-newlines": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-4.1.1.tgz", - "integrity": "sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/stylelint/node_modules/type-fest": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", - "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, "node_modules/sucrase": { @@ -3890,10 +3944,9 @@ } }, "node_modules/typescript": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.5.tgz", - "integrity": "sha512-FOH+WN/DQjUvN6WgW+c4Ml3yi0PH+a/8q+kNIfRehv1wLhWONedw85iu+vQ39Wp49IzTJEsZ2lyLXpBF7mkF1g==", - "peer": true, + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -3940,6 +3993,126 @@ "which": "bin/which" } }, + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "node_modules/wrap-ansi/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -3993,6 +4166,7 @@ "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "peer": true, "engines": { "node": ">=10" }, @@ -4038,20 +4212,20 @@ } }, "@csstools/css-parser-algorithms": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.3.1.tgz", - "integrity": "sha512-xrvsmVUtefWMWQsGgFffqWSK03pZ1vfDki4IVIIUxxDKnGBzqNgv0A7SB1oXtVNEkcVO8xi1ZrTL29HhSu5kGA==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.6.1.tgz", + "integrity": "sha512-ubEkAaTfVZa+WwGhs5jbo5Xfqpeaybr/RvWzvFxRs4jfq16wH8l8Ty/QEEpINxll4xhuGfdMbipRyz5QZh9+FA==", "requires": {} }, "@csstools/css-tokenizer": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.2.0.tgz", - "integrity": "sha512-wErmsWCbsmig8sQKkM6pFhr/oPha1bHfvxsUY5CYSQxwyhA9Ulrs8EqCgClhg4Tgg2XapVstGqSVcz0xOYizZA==" + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.2.4.tgz", + "integrity": "sha512-PuWRAewQLbDhGeTvFuq2oClaSCKPIBmHyIobCV39JHRYN0byDcUWJl5baPeNUcqrjtdMNqFooE0FGl31I3JOqw==" }, "@csstools/media-query-list-parser": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.4.tgz", - "integrity": "sha512-V/OUXYX91tAC1CDsiY+HotIcJR+vPtzrX8pCplCpT++i8ThZZsq5F5dzZh/bDM3WUOjrvC1ljed1oSJxMfjqhw==", + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.9.tgz", + "integrity": "sha512-qqGuFfbn4rUmyOB0u8CVISIp5FfJ5GAR3mBrZ9/TKndHakdnm6pY0L/fbLcpPnrzwCyyTEZl1nUcXAYHEWneTA==", "requires": {} }, "@csstools/selector-specificity": { @@ -4060,6 +4234,11 @@ "integrity": "sha512-+OJ9konv95ClSTOJCmMZqpd5+YGsB2S+x6w3E1oaM8UuR5j8nTNHYSz8c9BEPGDOCMQYIEEGlVPj/VY64iTbGw==", "requires": {} }, + "@dual-bundle/import-meta-resolve": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.0.0.tgz", + "integrity": "sha512-ZKXyJeFAzcpKM2kk8ipoGIPUqx9BX52omTGnfwjJvxOCaZTM2wtDK7zN0aIgPRbT9XYAlha0HtmZ+XKteuh0Gw==" + }, "@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", @@ -4140,6 +4319,49 @@ "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", "peer": true }, + "@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "requires": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==" + }, + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "requires": { + "ansi-regex": "^6.0.1" + } + } + } + }, "@jridgewell/gen-mapping": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", @@ -4210,6 +4432,35 @@ "fastq": "^1.6.0" } }, + "@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "optional": true + }, + "@stylistic/stylelint-config": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stylistic/stylelint-config/-/stylelint-config-1.0.1.tgz", + "integrity": "sha512-JgFP88HZEyo34k9RpWVdcQJtLPrMxYE58IO3qypXhmvE/NmZohj+xjDtQ8UfaarnYsLecnldw57/GHum07Ctdw==", + "requires": { + "@stylistic/stylelint-plugin": "^2.0.0" + } + }, + "@stylistic/stylelint-plugin": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@stylistic/stylelint-plugin/-/stylelint-plugin-2.1.1.tgz", + "integrity": "sha512-xqHTmQZN7EbnFDW7jw0rAsdFNO4IRqvXhrh3qhUlIwF/x09Zm7kgs/ADktHxsTJYcw346PpGihsB0t4pZhpeHw==", + "requires": { + "@csstools/css-parser-algorithms": "^2.5.0", + "@csstools/css-tokenizer": "^2.2.3", + "@csstools/media-query-list-parser": "^2.1.7", + "is-plain-object": "^5.0.0", + "postcss-selector-parser": "^6.0.15", + "postcss-value-parser": "^4.2.0", + "style-search": "^0.1.0", + "stylelint": "^16.2.1" + } + }, "@types/json-schema": { "version": "7.0.12", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", @@ -4514,7 +4765,6 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "peer": true, "requires": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -4525,27 +4775,16 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "peer": true, "requires": { "isexe": "^2.0.0" } } } }, - "css-color-names": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz", - "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=" - }, "css-functions-list": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.0.tgz", - "integrity": "sha512-d/jBMPyYybkkLVypgtGv12R+pIFw4/f/IHtCTxWpZc8ofTYOPigIgmA6vu5rMHartZC+WuXhBUHfnyNUIQSYrg==" - }, - "css-shorthand-properties": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/css-shorthand-properties/-/css-shorthand-properties-1.1.1.tgz", - "integrity": "sha512-Md+Juc7M3uOdbAFwOYlTrccIZ7oCFuzrhKYQjdeUEW/sE1hv17Jp/Bws+ReOPpGVBTYCBoYo+G17V5Qo8QQ75A==" + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.1.tgz", + "integrity": "sha512-Nj5YcaGgBtuUmn1D7oHqPW0c9iui7xsTsj5lIX8ZgevdfhmjFfKB3r8moHJtNJnctnYXJyYX5I1pp90HM4TPgQ==" }, "css-tree": { "version": "2.3.1", @@ -4556,23 +4795,6 @@ "source-map-js": "^1.0.1" } }, - "css-values": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/css-values/-/css-values-0.1.0.tgz", - "integrity": "sha1-Eot84QPU3AJ6gUpdWZXFR4HXtMY=", - "requires": { - "css-color-names": "0.0.4", - "ends-with": "^0.2.0", - "postcss-value-parser": "^3.3.0" - }, - "dependencies": { - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - } - } - }, "cssesc": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", @@ -4642,15 +4864,20 @@ "esutils": "^2.0.2" } }, + "eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, - "ends-with": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/ends-with/-/ends-with-0.2.0.tgz", - "integrity": "sha1-L52pjVelDP2kVxzkM5AAUA9Oa4o=" + "env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==" }, "error-ex": { "version": "1.3.2", @@ -4887,11 +5114,6 @@ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" }, - "estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" - }, "esutils": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", @@ -4909,9 +5131,9 @@ "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==" }, "fast-glob": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", - "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", "requires": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -4980,9 +5202,25 @@ } }, "flatted": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.4.tgz", - "integrity": "sha512-8/sOawo8tJ4QOBX8YlQBMxL8+RLZfxMQOif9o0KUKTNTjMYElWPE0r/m5VNFxTRd0NSw8qSy8dajrwX4RYI1Hw==" + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", + "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==" + }, + "foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "dependencies": { + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + } + } }, "fs.realpath": { "version": "1.0.0", @@ -5121,9 +5359,9 @@ "integrity": "sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==" }, "ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==" + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==" }, "import-fresh": { "version": "3.3.0", @@ -5236,6 +5474,15 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, + "jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "requires": { + "@isaacs/cliui": "^8.0.2", + "@pkgjs/parseargs": "^0.11.0" + } + }, "jiti": { "version": "1.18.2", "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.18.2.tgz", @@ -5255,6 +5502,11 @@ "argparse": "^2.0.1" } }, + "json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==" + }, "json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", @@ -5271,15 +5523,23 @@ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", "peer": true }, + "keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "requires": { + "json-buffer": "3.0.1" + } + }, "kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" }, "known-css-properties": { - "version": "0.28.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.28.0.tgz", - "integrity": "sha512-9pSL5XB4J+ifHP0e0jmmC98OGC1nL8/JjS+fi6mnTlIf//yt/MfVLtKg7S6nCtj/8KTcWX7nRlY0XywoYY1ISQ==" + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.29.0.tgz", + "integrity": "sha512-Ne7wqW7/9Cz54PDt4I3tcV+hAyat8ypyOGzYRJQfdxnnjeWsTxt1cy8pjvvKeI5kfXuyvULyeeAvwvvtAX3ayQ==" }, "levn": { "version": "0.4.1", @@ -5422,6 +5682,11 @@ } } }, + "minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==" + }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -5552,14 +5817,29 @@ "path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "peer": true + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" }, "path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, + "path-scurry": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "requires": { + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", + "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==" + } + } + }, "path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", @@ -5588,13 +5868,13 @@ "peer": true }, "postcss": { - "version": "8.4.33", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz", - "integrity": "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==", + "version": "8.4.38", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", + "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", "requires": { "nanoid": "^3.3.7", "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" + "source-map-js": "^1.2.0" } }, "postcss-bem-linter": { @@ -5670,9 +5950,9 @@ "integrity": "sha1-Kcy8fDfe36wwTp//C/FZaz9qDk4=" }, "postcss-safe-parser": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz", - "integrity": "sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-7.0.0.tgz", + "integrity": "sha512-ovehqRNVCpuFzbXoTb4qLtyzK3xn3t/CUBxOs8LsnQjQrShaB4lKiHoVqY8ANaC0hBMHq5QVWk77rwGklFUDrg==", "requires": {} }, "postcss-sass": { @@ -5685,15 +5965,15 @@ } }, "postcss-scss": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-4.0.7.tgz", - "integrity": "sha512-xPv2GseoyXPa58Nro7M73ZntttusuCmZdeOojUFR5PZDz2BR62vfYx1w9TyOnp1+nYFowgOMipsCBhxzVkAEPw==", + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-4.0.9.tgz", + "integrity": "sha512-AjKOeiwAitL/MXxQW2DliT28EKukvvbEWx3LBmJIRN8KfBGZbRTxNYW0kSqi1COiTZ57nZ9NW06S6ux//N1c9A==", "requires": {} }, "postcss-selector-parser": { - "version": "6.0.13", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", - "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", + "version": "6.0.16", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz", + "integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==", "requires": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -5712,12 +5992,11 @@ "requires": {} }, "postcss-styled-syntax": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/postcss-styled-syntax/-/postcss-styled-syntax-0.4.0.tgz", - "integrity": "sha512-LvG++K8LtIyX1Q1mNuZVQYmBo+SCwn90cEkMigo4/I0QwXrEiYt8nPeJ5rrI5Uuh+5w7hRfPyJKlvQdhVZBhUg==", + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/postcss-styled-syntax/-/postcss-styled-syntax-0.6.4.tgz", + "integrity": "sha512-uWiLn+9rKgIghUYmTHvXMR6MnyPULMe9Gv3bV537Fg4FH6CA6cn21WMjKss2Qb98LUhT847tKfnRGG3FhSOgUQ==", "requires": { - "@typescript-eslint/typescript-estree": "^5.47.0", - "estree-walker": "^2.0.2" + "typescript": "^5.3.3" } }, "postcss-syntax": { @@ -5738,9 +6017,9 @@ "peer": true }, "prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==" + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", + "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==" }, "prettier-linter-helpers": { "version": "1.0.0", @@ -5901,7 +6180,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "peer": true, "requires": { "shebang-regex": "^3.0.0" } @@ -5909,16 +6187,7 @@ "shebang-regex": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "peer": true - }, - "shortcss": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/shortcss/-/shortcss-0.1.3.tgz", - "integrity": "sha1-7ip5BNgLf1UCyYQI9KLzE/qt+0g=", - "requires": { - "css-shorthand-properties": "^1.0.0" - } + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" }, "signal-exit": { "version": "3.0.7", @@ -5964,9 +6233,9 @@ } }, "source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", + "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==" }, "spdx-correct": { "version": "3.1.1", @@ -6006,6 +6275,16 @@ "strip-ansi": "^6.0.1" } }, + "string-width-cjs": { + "version": "npm:string-width@4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -6014,6 +6293,14 @@ "ansi-regex": "^5.0.1" } }, + "strip-ansi-cjs": { + "version": "npm:strip-ansi@6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, "strip-indent": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", @@ -6034,46 +6321,45 @@ "integrity": "sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=" }, "stylelint": { - "version": "15.10.3", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-15.10.3.tgz", - "integrity": "sha512-aBQMMxYvFzJJwkmg+BUUg3YfPyeuCuKo2f+LOw7yYbU8AZMblibwzp9OV4srHVeQldxvSFdz0/Xu8blq2AesiA==", - "requires": { - "@csstools/css-parser-algorithms": "^2.3.1", - "@csstools/css-tokenizer": "^2.2.0", - "@csstools/media-query-list-parser": "^2.1.4", - "@csstools/selector-specificity": "^3.0.0", + "version": "16.3.1", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.3.1.tgz", + "integrity": "sha512-/JOwQnBvxEKOT2RtNgGpBVXnCSMBgKOL2k7w0K52htwCyJls4+cHvc4YZgXlVoAZS9QJd2DgYAiRnja96pTgxw==", + "requires": { + "@csstools/css-parser-algorithms": "^2.6.1", + "@csstools/css-tokenizer": "^2.2.4", + "@csstools/media-query-list-parser": "^2.1.9", + "@csstools/selector-specificity": "^3.0.2", + "@dual-bundle/import-meta-resolve": "^4.0.0", "balanced-match": "^2.0.0", "colord": "^2.9.3", - "cosmiconfig": "^8.2.0", - "css-functions-list": "^3.2.0", + "cosmiconfig": "^9.0.0", + "css-functions-list": "^3.2.1", "css-tree": "^2.3.1", "debug": "^4.3.4", - "fast-glob": "^3.3.1", + "fast-glob": "^3.3.2", "fastest-levenshtein": "^1.0.16", - "file-entry-cache": "^6.0.1", + "file-entry-cache": "^8.0.0", "global-modules": "^2.0.0", "globby": "^11.1.0", "globjoin": "^0.1.4", "html-tags": "^3.3.1", - "ignore": "^5.2.4", - "import-lazy": "^4.0.0", + "ignore": "^5.3.1", "imurmurhash": "^0.1.4", "is-plain-object": "^5.0.0", - "known-css-properties": "^0.28.0", + "known-css-properties": "^0.30.0", "mathml-tag-names": "^2.1.3", - "meow": "^10.1.5", + "meow": "^13.2.0", "micromatch": "^4.0.5", "normalize-path": "^3.0.0", "picocolors": "^1.0.0", - "postcss": "^8.4.27", + "postcss": "^8.4.38", "postcss-resolve-nested-selector": "^0.1.1", - "postcss-safe-parser": "^6.0.0", - "postcss-selector-parser": "^6.0.13", + "postcss-safe-parser": "^7.0.0", + "postcss-selector-parser": "^6.0.16", "postcss-value-parser": "^4.2.0", "resolve-from": "^5.0.0", "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "style-search": "^0.1.0", + "strip-ansi": "^7.1.0", "supports-hyperlinks": "^3.0.0", "svg-tags": "^1.0.0", "table": "^6.8.1", @@ -6081,207 +6367,147 @@ }, "dependencies": { "@csstools/selector-specificity": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.0.tgz", - "integrity": "sha512-hBI9tfBtuPIi885ZsZ32IMEU/5nlZH/KOVYJCOh7gyMxaVLGmLedYqFN6Ui1LXkI8JlC8IsuC0rF0btcRZKd5g==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.3.tgz", + "integrity": "sha512-KEPNw4+WW5AVEIyzC80rTbWEUatTW2lXpN8+8ILC8PiPeWPjwUzrPZDIOZ2wwqDmeqOYTdSGyL3+vE5GC3FB3Q==", "requires": {} }, - "camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==" + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==" }, - "camelcase-keys": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-7.0.2.tgz", - "integrity": "sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==", + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "requires": { - "camelcase": "^6.3.0", - "map-obj": "^4.1.0", - "quick-lru": "^5.1.1", - "type-fest": "^1.2.1" + "balanced-match": "^1.0.0" + }, + "dependencies": { + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + } } }, "cosmiconfig": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.2.0.tgz", - "integrity": "sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", + "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", "requires": { - "import-fresh": "^3.2.1", + "env-paths": "^2.2.1", + "import-fresh": "^3.3.0", "js-yaml": "^4.1.0", - "parse-json": "^5.0.0", - "path-type": "^4.0.0" - } - }, - "decamelize": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-5.0.1.tgz", - "integrity": "sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==" - }, - "find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "requires": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - } - }, - "indent-string": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", - "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==" - }, - "locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "requires": { - "p-locate": "^5.0.0" + "parse-json": "^5.2.0" } }, - "meow": { - "version": "10.1.5", - "resolved": "https://registry.npmjs.org/meow/-/meow-10.1.5.tgz", - "integrity": "sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==", + "file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "requires": { - "@types/minimist": "^1.2.2", - "camelcase-keys": "^7.0.0", - "decamelize": "^5.0.0", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^3.0.2", - "read-pkg-up": "^8.0.0", - "redent": "^4.0.0", - "trim-newlines": "^4.0.2", - "type-fest": "^1.2.2", - "yargs-parser": "^20.2.9" + "flat-cache": "^4.0.0" } }, - "p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "flat-cache": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.0.tgz", + "integrity": "sha512-EryKbCE/wxpxKniQlyas6PY1I9vwtF3uCBweX+N8KYTCn3Y12RTGtQAJ/bd5pl7kxUAc8v/R3Ake/N17OZiFqA==", "requires": { - "yocto-queue": "^0.1.0" + "flatted": "^3.2.9", + "keyv": "^4.5.4", + "rimraf": "^5.0.5" } }, - "p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "glob": { + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "requires": { - "p-limit": "^3.0.2" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" } }, - "quick-lru": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", - "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==" + "known-css-properties": { + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.30.0.tgz", + "integrity": "sha512-VSWXYUnsPu9+WYKkfmJyLKtIvaRJi1kXUqVmBACORXZQxT5oZDsoZ2vQP+bQFDnWtpI/4eq3MLoRMjI2fnLzTQ==" }, - "read-pkg": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-6.0.0.tgz", - "integrity": "sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==", - "requires": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^3.0.2", - "parse-json": "^5.2.0", - "type-fest": "^1.0.1" - } + "meow": { + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz", + "integrity": "sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==" }, - "read-pkg-up": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-8.0.0.tgz", - "integrity": "sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==", + "minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "requires": { - "find-up": "^5.0.0", - "read-pkg": "^6.0.0", - "type-fest": "^1.0.1" + "brace-expansion": "^2.0.1" } }, - "redent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-4.0.0.tgz", - "integrity": "sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag==", + "rimraf": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.5.tgz", + "integrity": "sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==", "requires": { - "indent-string": "^5.0.0", - "strip-indent": "^4.0.0" + "glob": "^10.3.7" } }, - "strip-indent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-4.0.0.tgz", - "integrity": "sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==", + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "requires": { - "min-indent": "^1.0.1" + "ansi-regex": "^6.0.1" } - }, - "trim-newlines": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-4.1.1.tgz", - "integrity": "sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==" - }, - "type-fest": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", - "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==" } } }, "stylelint-config-css-modules": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/stylelint-config-css-modules/-/stylelint-config-css-modules-4.3.0.tgz", - "integrity": "sha512-KvIvhzzjpcjHKkGSPkQCueoZJHrb6sZ6GCtrQb/J45HQTBVwJAeNYXaSZZK6ZQOC7NxJ4v5kLxpQLDiCK6zzgw==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/stylelint-config-css-modules/-/stylelint-config-css-modules-4.4.0.tgz", + "integrity": "sha512-J93MtxPjRzs/TjwbJ5y9SQy4iIqULXwL1CF1yx2tQCJfS/VZUcDAmoGOwqlLbhHXSQtZO5XQiA75NVWUR3KDCQ==", "requires": { - "stylelint-scss": "^5.0.0 || ^6.0.0" + "stylelint-scss": "^6.0.0" } }, "stylelint-config-recess-order": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recess-order/-/stylelint-config-recess-order-4.3.0.tgz", - "integrity": "sha512-EWVtxZ8oq4/meTrRNUDrS5TqMz6TX72JjKDwVQq0JJDXE+P/o7UuFw3wWV/0O9yvJfh/da6nJY71ZUn/wSfB4g==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recess-order/-/stylelint-config-recess-order-5.0.0.tgz", + "integrity": "sha512-D+/Got844O96No2mj/H2NhLjj555iKAy/Mea+JCerfKB9TBKQW3/IudSVkTCxE4QiRDLldfH15x6FH1D1Anjhw==", "requires": { - "stylelint-order": "6.x" + "stylelint-order": "^6.0.4" } }, "stylelint-config-recommended": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-13.0.0.tgz", - "integrity": "sha512-EH+yRj6h3GAe/fRiyaoO2F9l9Tgg50AOFhaszyfov9v6ayXJ1IkSHwTxd7lB48FmOeSGDPLjatjO11fJpmarkQ==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.0.tgz", + "integrity": "sha512-jSkx290CglS8StmrLp2TxAppIajzIBZKYm3IxT89Kg6fGlxbPiTiyH9PS5YUuVAFwaJLl1ikiXX0QWjI0jmgZQ==", "requires": {} }, "stylelint-config-recommended-scss": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-13.0.0.tgz", - "integrity": "sha512-7AmMIsHTsuwUQm7I+DD5BGeIgCvqYZ4BpeYJJpb1cUXQwrJAKjA+GBotFZgUEGP8lAM+wmd91ovzOi8xfAyWEw==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-14.0.0.tgz", + "integrity": "sha512-HDvpoOAQ1RpF+sPbDOT2Q2/YrBDEJDnUymmVmZ7mMCeNiFSdhRdyGEimBkz06wsN+HaFwUh249gDR+I9JR7Onw==", "requires": { - "postcss-scss": "^4.0.7", - "stylelint-config-recommended": "^13.0.0", - "stylelint-scss": "^5.1.0" + "postcss-scss": "^4.0.9", + "stylelint-config-recommended": "^14.0.0", + "stylelint-scss": "^6.0.0" } }, "stylelint-config-sass-guidelines": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-sass-guidelines/-/stylelint-config-sass-guidelines-10.0.0.tgz", - "integrity": "sha512-+Rr2Dd4b72CWA4qoj1Kk+y449nP/WJsrD0nzQAWkmPPIuyVcy2GMIcfNr0Z8JJOLjRvtlkKxa49FCNXMePBikQ==", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/stylelint-config-sass-guidelines/-/stylelint-config-sass-guidelines-11.1.0.tgz", + "integrity": "sha512-mVE3UmN8MlshK4Gb3eYk6f8tw9DkQ9yjMF4W9krlmpaNZpSXOdh13AL0sU7l/9l4Pnpt4KMobNNIRI0tJl56Cw==", "requires": { - "postcss-scss": "^4.0.6", - "stylelint-scss": "^4.4.0" - }, - "dependencies": { - "stylelint-scss": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-4.7.0.tgz", - "integrity": "sha512-TSUgIeS0H3jqDZnby1UO1Qv3poi1N8wUYIJY6D1tuUq2MN3lwp/rITVo0wD+1SWTmRm0tNmGO0b7nKInnqF6Hg==", - "requires": { - "postcss-media-query-parser": "^0.2.3", - "postcss-resolve-nested-selector": "^0.1.1", - "postcss-selector-parser": "^6.0.11", - "postcss-value-parser": "^4.2.0" - } - } + "postcss-scss": "^4.0.9", + "stylelint-scss": "^6.2.1" } }, "stylelint-config-slds": { @@ -6290,20 +6516,20 @@ "integrity": "sha512-oqBKmbYkwPoqwJoa5xVlL4ZF6xBVQe3ZDLypA6LX7BOnvS3nmuvhXw9v61N4haR5TyaNSXl56ylWRZOVeFdgCA==" }, "stylelint-config-standard": { - "version": "34.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-34.0.0.tgz", - "integrity": "sha512-u0VSZnVyW9VSryBG2LSO+OQTjN7zF9XJaAJRX/4EwkmU0R2jYwmBSN10acqZisDitS0CLiEiGjX7+Hrq8TAhfQ==", + "version": "36.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.0.tgz", + "integrity": "sha512-3Kjyq4d62bYFp/Aq8PMKDwlgUyPU4nacXsjDLWJdNPRUgpuxALu1KnlAHIj36cdtxViVhXexZij65yM0uNIHug==", "requires": { - "stylelint-config-recommended": "^13.0.0" + "stylelint-config-recommended": "^14.0.0" } }, "stylelint-config-standard-scss": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard-scss/-/stylelint-config-standard-scss-11.0.0.tgz", - "integrity": "sha512-fGE79NBOLg09a9afqGH/guJulRULCaQWWv4cv1v2bMX92B+fGb0y56WqIguwvFcliPmmUXiAhKrrnXilIeXoHA==", + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/stylelint-config-standard-scss/-/stylelint-config-standard-scss-13.1.0.tgz", + "integrity": "sha512-Eo5w7/XvwGHWkeGLtdm2FZLOMYoZl1omP2/jgFCXyl2x5yNz7/8vv4Tj6slHvMSSUNTaGoam/GAZ0ZhukvalfA==", "requires": { - "stylelint-config-recommended-scss": "^13.0.0", - "stylelint-config-standard": "^34.0.0" + "stylelint-config-recommended-scss": "^14.0.0", + "stylelint-config-standard": "^36.0.0" } }, "stylelint-config-styled-components": { @@ -6318,60 +6544,23 @@ "requires": {} }, "stylelint-config-twbs-bootstrap": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/stylelint-config-twbs-bootstrap/-/stylelint-config-twbs-bootstrap-11.0.1.tgz", - "integrity": "sha512-kEdVrghfOi1jVr9yE78JKLIh+/jC4GVUsoZceXQH3/A71rcSbNw8zME2tauTrs0je/67Y61iZgwDXpuNRv6L2Q==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/stylelint-config-twbs-bootstrap/-/stylelint-config-twbs-bootstrap-14.1.0.tgz", + "integrity": "sha512-4pd1ddeLesZX2GQvQlelrFAUcgKo1GAFUSPR379s+hDUXrF+6JdUVpfUTfKq/k1U4a5RSbtUOXLS238rnqLPqg==", "requires": { - "stylelint-config-recess-order": "^4.2.0", - "stylelint-config-standard": "^33.0.0", - "stylelint-config-standard-scss": "^10.0.0", - "stylelint-scss": "^5.0.1", - "stylelint-stylistic": "^0.4.3" - }, - "dependencies": { - "stylelint-config-recommended": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-12.0.0.tgz", - "integrity": "sha512-x6x8QNARrGO2sG6iURkzqL+Dp+4bJorPMMRNPScdvaUK8PsynriOcMW7AFDKqkWAS5wbue/u8fUT/4ynzcmqdQ==", - "requires": {} - }, - "stylelint-config-recommended-scss": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-12.0.0.tgz", - "integrity": "sha512-5Bb2mlGy6WLa30oNeKpZvavv2lowJUsUJO25+OA68GFTemlwd1zbFsL7q0bReKipOSU3sG47hKneZ6Nd+ctrFA==", - "requires": { - "postcss-scss": "^4.0.6", - "stylelint-config-recommended": "^12.0.0", - "stylelint-scss": "^5.0.0" - } - }, - "stylelint-config-standard": { - "version": "33.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-33.0.0.tgz", - "integrity": "sha512-eyxnLWoXImUn77+ODIuW9qXBDNM+ALN68L3wT1lN2oNspZ7D9NVGlNHb2QCUn4xDug6VZLsh0tF8NyoYzkgTzg==", - "requires": { - "stylelint-config-recommended": "^12.0.0" - } - }, - "stylelint-config-standard-scss": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard-scss/-/stylelint-config-standard-scss-10.0.0.tgz", - "integrity": "sha512-bChBEo1p3xUVWh/wenJI+josoMk21f2yuLDGzGjmKYcALfl2u3DFltY+n4UHswYiXghqXaA8mRh+bFy/q1hQlg==", - "requires": { - "stylelint-config-recommended-scss": "^12.0.0", - "stylelint-config-standard": "^33.0.0" - } - } + "@stylistic/stylelint-config": "^1.0.1", + "@stylistic/stylelint-plugin": "^2.1.1", + "stylelint-config-recess-order": "^5.0.0", + "stylelint-config-standard": "^36.0.0", + "stylelint-config-standard-scss": "^13.0.0", + "stylelint-scss": "^6.2.1" } }, "stylelint-declaration-strict-value": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/stylelint-declaration-strict-value/-/stylelint-declaration-strict-value-1.9.2.tgz", - "integrity": "sha512-Z/2yr7g4tq2iGOUWhZLzHL2g2GJYJGcPkfjDh++zI8ukLxW0tcLGJjo64XYCDjja6YcECPDUWbpN+OAoAtAYvw==", - "requires": { - "css-values": "^0.1.0", - "shortcss": "^0.1.3" - } + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/stylelint-declaration-strict-value/-/stylelint-declaration-strict-value-1.10.4.tgz", + "integrity": "sha512-unOEftKCOb78Zr+WStqyVj9V1rCdUo+PJI3vFPiHPdu+O9o71K9Mu+txc6VDF7gBXyTTMHbbjIvHk3VNzuixzQ==", + "requires": {} }, "stylelint-no-px": { "version": "1.0.1", @@ -6382,55 +6571,43 @@ } }, "stylelint-order": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-6.0.3.tgz", - "integrity": "sha512-1j1lOb4EU/6w49qZeT2SQVJXm0Ht+Qnq9GMfUa3pMwoyojIWfuA+JUDmoR97Bht1RLn4ei0xtLGy87M7d29B1w==", + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/stylelint-order/-/stylelint-order-6.0.4.tgz", + "integrity": "sha512-0UuKo4+s1hgQ/uAxlYU4h0o0HS4NiQDud0NAUNI0aa8FJdmYHA5ZZTFHiV5FpmE3071e9pZx5j0QpVJW5zOCUA==", "requires": { - "postcss": "^8.4.21", + "postcss": "^8.4.32", "postcss-sorting": "^8.0.2" } }, "stylelint-prettier": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/stylelint-prettier/-/stylelint-prettier-4.0.2.tgz", - "integrity": "sha512-EoHnR2PiaWgpGtoI4VW7AzneMfwmwQsNwQ+3/E2k/a+ju5yO6rfPfop4vzPQKcJN4ZM1YbspEOPu88D8538sbg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/stylelint-prettier/-/stylelint-prettier-5.0.0.tgz", + "integrity": "sha512-RHfSlRJIsaVg5Br94gZVdWlz/rBTyQzZflNE6dXvSxt/GthWMY3gEHsWZEBaVGg7GM+XrtVSp4RznFlB7i0oyw==", "requires": { "prettier-linter-helpers": "^1.0.0" } }, "stylelint-scss": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-5.1.0.tgz", - "integrity": "sha512-E+KlQFXv1Euha43qw3q+wKBSli557wxbbo6/39DWhRNXlUa9Cz+FYrcgz+PT6ag0l6UisCYjAGCNhoSl4FcwlA==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.2.1.tgz", + "integrity": "sha512-ZoGLbVb1keZYRVGQlhB8G6sZOoNqw61whzzzGFWp05N12ErqLFfBv3JPrXiMLZaW98sBS7K/vUQhRnvUj4vwdw==", "requires": { + "known-css-properties": "^0.29.0", "postcss-media-query-parser": "^0.2.3", "postcss-resolve-nested-selector": "^0.1.1", - "postcss-selector-parser": "^6.0.13", + "postcss-selector-parser": "^6.0.15", "postcss-value-parser": "^4.2.0" } }, "stylelint-selector-bem-pattern": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/stylelint-selector-bem-pattern/-/stylelint-selector-bem-pattern-3.0.1.tgz", - "integrity": "sha512-eh0tyyVyS62IOVzyi5oN0BKLJTHnolMWIqzpe0n3Wk26HxZegp/PiVKSUpK7vzVIAdAROemhypfMaH/xZorZrg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/stylelint-selector-bem-pattern/-/stylelint-selector-bem-pattern-4.0.0.tgz", + "integrity": "sha512-nPo3Vi/xl5s9yEZ2GEFxsdzeq3GJI0f70Cqc6kwn5zbCDkmb2p0S48Mr1O8F/DrXV6kIbQyPbft3Cmmtk42QMQ==", "requires": { "eslint-plugin-jest": "^27.2.2", "lodash": ">=4.17.21", "postcss": "^8.4.24", - "postcss-bem-linter": "^4.0.1", - "stylelint": ">=15.9.0" - } - }, - "stylelint-stylistic": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/stylelint-stylistic/-/stylelint-stylistic-0.4.3.tgz", - "integrity": "sha512-WphmneK3MRrm5ixvRPWy7+c9+EQUh0FPvNMXW/N9VD85vyqtpxUejpD+mxubVVht0fRgidcqBxtW3s3tU2Ujhw==", - "requires": { - "is-plain-object": "^5.0.0", - "postcss": "^8.4.21", - "postcss-media-query-parser": "^0.2.3", - "postcss-value-parser": "^4.2.0", - "style-search": "^0.1.0" + "postcss-bem-linter": "^4.0.1" } }, "stylelint-suitcss": { @@ -6453,6 +6630,12 @@ "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.26.0.tgz", "integrity": "sha512-5FZRzrZzNTBruuurWpvZnvP9pum+fe0HcK8z/ooo+U+Hmp4vtbyp1/QDsqmufirXy4egGzbaH/y2uCZf+6W5Kg==" }, + "postcss-safe-parser": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz", + "integrity": "sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==", + "requires": {} + }, "stylelint": { "version": "14.16.1", "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-14.16.1.tgz", @@ -6724,10 +6907,9 @@ "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==" }, "typescript": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.5.tgz", - "integrity": "sha512-FOH+WN/DQjUvN6WgW+c4Ml3yi0PH+a/8q+kNIfRehv1wLhWONedw85iu+vQ39Wp49IzTJEsZ2lyLXpBF7mkF1g==", - "peer": true + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==" }, "uri-js": { "version": "4.4.1", @@ -6764,6 +6946,84 @@ "isexe": "^2.0.0" } }, + "wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "requires": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==" + }, + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==" + }, + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "requires": { + "ansi-regex": "^6.0.1" + } + } + } + }, + "wrap-ansi-cjs": { + "version": "npm:wrap-ansi@7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + } + } + }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -6803,7 +7063,8 @@ "yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==" + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "peer": true } } } diff --git a/package.json b/package.json index 9ed67a2b..74605075 100644 --- a/package.json +++ b/package.json @@ -1,32 +1,34 @@ { "scripts": { - "dockerBuild": "docker build -t codacy-stylelint-base .", - "generateDocs": "sbt doc-generator/run", - "test": "sbt scalafmtCheckAll scalafmtSbtCheck doc-generator/run stage" + "build:docker": "docker build -t codacy-stylelint-base .", + "build:docs": "sbt doc-generator/run", + "test": "sbt scalafmtCheckAll scalafmtSbtCheck doc-generator/run stage", + "preupgrade": "npx npm-check-updates -u", + "upgrade": "npm install --omit=dev" }, "dependencies": { "postcss": "^8.4.33", "postcss-less": "^6.0.0", - "postcss-safe-parser": "^6.0.0", + "postcss-safe-parser": "^7.0.0", "postcss-sass": "^0.5.0", - "postcss-scss": "^4.0.7", + "postcss-scss": "^4.0.9", "postcss-styled": "^0.34.0", - "postcss-styled-syntax": "^0.4.0", + "postcss-styled-syntax": "^0.6.4", "postcss-syntax": "^0.36.2", - "prettier": "^3.0.3", - "stylelint": "^15.10.3", - "stylelint-config-css-modules": "^4.3.0", - "stylelint-config-sass-guidelines": "^10.0.0", + "prettier": "^3.2.3", + "stylelint": "^16.1.0", + "stylelint-config-css-modules": "^4.4.0", + "stylelint-config-sass-guidelines": "^11.0.0", "stylelint-config-slds": "^1.0.8", - "stylelint-config-standard": "^34.0.0", - "stylelint-config-standard-scss": "^11.0.0", + "stylelint-config-standard": "^36.0.0", + "stylelint-config-standard-scss": "^13.0.0", "stylelint-config-styled-components": "^0.1.1", "stylelint-config-tailwindcss": "^0.0.7", - "stylelint-config-twbs-bootstrap": "^11.0.1", - "stylelint-declaration-strict-value": "^1.9.2", + "stylelint-config-twbs-bootstrap": "^13.0.0", + "stylelint-declaration-strict-value": "^1.10.4", "stylelint-no-px": "^1.0.1", - "stylelint-prettier": "^4.0.2", - "stylelint-scss": "^5.1.0", + "stylelint-prettier": "^5.0.0", + "stylelint-scss": "^6.0.0", "stylelint-selector-bem-pattern": "^3.0.1", "stylelint-suitcss": "^5.0.0" } diff --git a/project/plugins.sbt b/project/plugins.sbt index 24022fc4..30f521ee 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,5 +1,5 @@ resolvers += Resolver.jcenterRepo -addSbtPlugin("com.codacy" % "codacy-sbt-plugin" % "25.1.1") +addSbtPlugin("com.codacy" % "codacy-sbt-plugin" % "25.2.0") addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.9") From 39986512576e858875cc5788dde4a6db77ebb2e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Pires?= Date: Wed, 19 Jun 2024 14:04:50 +0100 Subject: [PATCH 2/8] bump stylelint and packages --- Dockerfile | 15 +- README.md | 3 +- build.sbt | 7 +- docs/description/alpha-value-notation.md | 4 +- docs/description/annotation-no-unknown.md | 2 +- docs/description/at-rule-allowed-list.md | 2 +- docs/description/at-rule-disallowed-list.md | 2 +- docs/description/at-rule-empty-line-before.md | 2 +- docs/description/at-rule-no-unknown.md | 2 +- docs/description/at-rule-no-vendor-prefix.md | 4 +- .../at-rule-property-required-list.md | 2 +- docs/description/color-function-notation.md | 4 +- docs/description/color-hex-alpha.md | 2 +- docs/description/color-hex-length.md | 4 +- docs/description/color-no-hex.md | 2 +- docs/description/color-no-invalid-hex.md | 2 +- docs/description/comment-empty-line-before.md | 2 +- docs/description/comment-pattern.md | 2 +- docs/description/comment-whitespace-inside.md | 2 +- .../comment-word-disallowed-list.md | 2 +- docs/description/custom-media-pattern.md | 2 +- .../custom-property-empty-line-before.md | 2 +- ...custom-property-no-missing-var-function.md | 2 +- docs/description/custom-property-pattern.md | 2 +- ...on-block-no-duplicate-custom-properties.md | 2 +- ...claration-block-no-duplicate-properties.md | 4 +- ...-block-no-redundant-longhand-properties.md | 58 +- ...n-block-no-shorthand-property-overrides.md | 2 +- ...tion-block-single-line-max-declarations.md | 2 +- .../declaration-empty-line-before.md | 4 +- .../declaration-property-max-values.md | 2 +- .../declaration-property-unit-allowed-list.md | 2 +- ...claration-property-unit-disallowed-list.md | 2 +- ...declaration-property-value-allowed-list.md | 2 +- ...laration-property-value-disallowed-list.md | 2 +- .../declaration-property-value-no-unknown.md | 8 +- docs/description/description.json | 21 +- docs/description/font-family-name-quotes.md | 2 +- docs/description/font-weight-notation.md | 2 +- docs/description/function-allowed-list.md | 2 +- .../function-calc-no-unspaced-operator.md | 9 +- docs/description/function-disallowed-list.md | 2 +- docs/description/function-name-case.md | 4 +- docs/description/function-no-unknown.md | 2 +- docs/description/function-url-quotes.md | 2 +- .../function-url-scheme-allowed-list.md | 2 +- .../function-url-scheme-disallowed-list.md | 2 +- docs/description/hue-degree-notation.md | 4 +- docs/description/import-notation.md | 2 +- .../keyframe-block-no-duplicate-selectors.md | 2 +- .../description/keyframe-selector-notation.md | 4 +- docs/description/keyframes-name-pattern.md | 2 +- docs/description/length-zero-no-unit.md | 2 +- docs/description/lightness-notation.md | 4 +- docs/description/max-nesting-depth.md | 2 +- .../media-feature-name-allowed-list.md | 2 +- .../media-feature-name-disallowed-list.md | 2 +- .../media-feature-name-no-unknown.md | 2 +- .../media-feature-name-no-vendor-prefix.md | 2 +- .../media-feature-name-value-allowed-list.md | 2 +- .../media-feature-name-value-no-unknown.md | 4 +- .../media-feature-range-notation.md | 4 +- docs/description/media-query-no-invalid.md | 6 +- docs/description/no-descending-specificity.md | 2 +- .../no-duplicate-at-import-rules.md | 2 +- docs/description/no-duplicate-selectors.md | 2 +- docs/description/no-unknown-animations.md | 2 +- docs/description/no-unknown-custom-media.md | 50 + .../no-unknown-custom-properties.md | 2 +- docs/description/number-max-precision.md | 2 +- docs/description/property-allowed-list.md | 2 +- docs/description/property-disallowed-list.md | 2 +- docs/description/property-no-unknown.md | 2 +- docs/description/property-no-vendor-prefix.md | 4 +- docs/description/rule-empty-line-before.md | 2 +- .../rule-selector-property-disallowed-list.md | 24 +- .../selector-anb-no-unmatchable.md | 2 +- ...selector-attribute-name-disallowed-list.md | 2 +- ...elector-attribute-operator-allowed-list.md | 2 +- ...ctor-attribute-operator-disallowed-list.md | 2 +- docs/description/selector-attribute-quotes.md | 2 +- docs/description/selector-class-pattern.md | 2 +- .../selector-combinator-allowed-list.md | 2 +- .../selector-combinator-disallowed-list.md | 2 +- docs/description/selector-disallowed-list.md | 2 +- docs/description/selector-id-pattern.md | 2 +- docs/description/selector-max-attribute.md | 2 +- docs/description/selector-max-class.md | 2 +- docs/description/selector-max-combinators.md | 2 +- .../selector-max-compound-selectors.md | 2 +- docs/description/selector-max-id.md | 2 +- docs/description/selector-max-pseudo-class.md | 2 +- docs/description/selector-max-specificity.md | 16 +- docs/description/selector-max-type.md | 2 +- docs/description/selector-max-universal.md | 2 +- docs/description/selector-nested-pattern.md | 2 +- .../selector-no-qualifying-type.md | 2 +- docs/description/selector-no-vendor-prefix.md | 4 +- docs/description/selector-not-notation.md | 4 +- .../selector-pseudo-class-allowed-list.md | 2 +- .../selector-pseudo-class-disallowed-list.md | 2 +- .../selector-pseudo-class-no-unknown.md | 2 +- .../selector-pseudo-element-allowed-list.md | 2 +- .../selector-pseudo-element-colon-notation.md | 2 +- ...selector-pseudo-element-disallowed-list.md | 2 +- .../selector-pseudo-element-no-unknown.md | 2 +- docs/description/selector-type-case.md | 4 +- docs/description/selector-type-no-unknown.md | 2 +- .../shorthand-property-no-redundant-values.md | 4 +- docs/description/time-min-milliseconds.md | 2 +- docs/description/unit-allowed-list.md | 2 +- docs/description/unit-disallowed-list.md | 2 +- docs/description/unit-no-unknown.md | 2 +- docs/description/value-keyword-case.md | 4 +- docs/description/value-no-vendor-prefix.md | 24 +- docs/patterns.json | 12 +- package-lock.json | 986 ++++-------------- package.json | 18 +- project/build.properties | 2 +- project/plugins.sbt | 4 +- .../scala/codacy/stylelint/Stylelint.scala | 5 +- 121 files changed, 537 insertions(+), 973 deletions(-) create mode 100644 docs/description/no-unknown-custom-media.md diff --git a/Dockerfile b/Dockerfile index 28566616..559ee652 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,15 @@ -FROM alpine:3.19 +FROM node:lts-alpine3.20 WORKDIR /workdir COPY package*.json ./ -RUN adduser -u 2004 -D docker &&\ - apk --no-cache add openjdk11-jre-headless bash nodejs npm &&\ - npm install --omit=dev &&\ - apk del npm +COPY --chmod=0755 target/universal/stage/bin/codacy-stylelint ./bin/codacy-stylelint COPY docs /docs -COPY target/universal/stage/ /workdir/ -RUN chmod +x /workdir/bin/codacy-stylelint + +RUN adduser -u 2004 -D docker +RUN apk --no-cache add openjdk11-jre-headless bash +RUN npm install + USER docker + WORKDIR /src ENTRYPOINT ["/workdir/bin/codacy-stylelint"] diff --git a/README.md b/README.md index e2459201..08f1fb92 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # codacy-stylelint -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/80607506ff8c4a7f826bbe0b643ba16d)](https://www.codacy.com/gh/codacy/codacy-stylelint?utm_source=github.com&utm_medium=referral&utm_content=codacy/codacy-stylelint&utm_campaign=Badge_Grade) -[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/80607506ff8c4a7f826bbe0b643ba16d)](https://www.codacy.com/gh/codacy/codacy-stylelint?utm_source=github.com&utm_medium=referral&utm_content=codacy/codacy-stylelint&utm_campaign=Badge_Coverage) +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/80607506ff8c4a7f826bbe0b643ba16d)](https://app.codacy.com/gh/codacy/codacy-stylelint?utm_source=github.com&utm_medium=referral&utm_content=codacy/codacy-stylelint&utm_campaign=Badge_Grade) [![CircleCI](https://circleci.com/gh/codacy/codacy-stylelint.svg?style=svg)](https://circleci.com/gh/codacy/codacy-stylelint) Docker engine to allow Codacy to have [stylelint](https://github.com/stylelint/stylelint) support. diff --git a/build.sbt b/build.sbt index 8db22b79..6f527a4a 100644 --- a/build.sbt +++ b/build.sbt @@ -1,7 +1,8 @@ -ThisBuild / scalaVersion := "2.13.11" +ThisBuild / scalaVersion := "2.13.13" -ThisBuild / libraryDependencies += "com.codacy" %% "codacy-engine-scala-seed" % "6.1.2" -ThisBuild / libraryDependencies += "com.github.pathikrit" %% "better-files" % "3.9.2" +ThisBuild / libraryDependencies ++= Seq( + "com.codacy" %% "codacy-engine-scala-seed" % "6.1.3", + "com.github.pathikrit" %% "better-files" % "3.9.2") name := "codacy-stylelint" diff --git a/docs/description/alpha-value-notation.md b/docs/description/alpha-value-notation.md index e67f3970..e2b60b16 100644 --- a/docs/description/alpha-value-notation.md +++ b/docs/description/alpha-value-notation.md @@ -9,9 +9,9 @@ Specify percentage or number notation for alpha-values. * This notation */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/annotation-no-unknown.md b/docs/description/annotation-no-unknown.md index 8748c337..d6b1fec3 100644 --- a/docs/description/annotation-no-unknown.md +++ b/docs/description/annotation-no-unknown.md @@ -11,7 +11,7 @@ a { color: green !imprtant; } This rule considers annotations defined in the CSS Specifications, up to and including Editor's Drafts, to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/at-rule-allowed-list.md b/docs/description/at-rule-allowed-list.md index 13f2ced5..cb6e9308 100644 --- a/docs/description/at-rule-allowed-list.md +++ b/docs/description/at-rule-allowed-list.md @@ -9,7 +9,7 @@ Specify a list of allowed at-rules. * At-rules like this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/at-rule-disallowed-list.md b/docs/description/at-rule-disallowed-list.md index cc1af1b8..7a14dc2e 100644 --- a/docs/description/at-rule-disallowed-list.md +++ b/docs/description/at-rule-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed at-rules. * At-rules like this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/at-rule-empty-line-before.md b/docs/description/at-rule-empty-line-before.md index 3d769637..57f225b8 100644 --- a/docs/description/at-rule-empty-line-before.md +++ b/docs/description/at-rule-empty-line-before.md @@ -16,7 +16,7 @@ This rule ignores: - at-rules that are the very first node in the source - `@import` in Less. -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/at-rule-no-unknown.md b/docs/description/at-rule-no-unknown.md index 31b7e593..b881d6f3 100644 --- a/docs/description/at-rule-no-unknown.md +++ b/docs/description/at-rule-no-unknown.md @@ -11,7 +11,7 @@ Disallow unknown at-rules. This rule considers at-rules defined in the CSS Specifications, up to and including Editor's Drafts, to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/at-rule-no-vendor-prefix.md b/docs/description/at-rule-no-vendor-prefix.md index 3ccb57b2..a5d9cc8a 100644 --- a/docs/description/at-rule-no-vendor-prefix.md +++ b/docs/description/at-rule-no-vendor-prefix.md @@ -11,9 +11,9 @@ Disallow vendor prefixes for at-rules. This rule ignores non-standard vendor-prefixed at-rules that aren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer). -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate at-rules produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate at-rules produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/at-rule-property-required-list.md b/docs/description/at-rule-property-required-list.md index a25a2232..838f40a3 100644 --- a/docs/description/at-rule-property-required-list.md +++ b/docs/description/at-rule-property-required-list.md @@ -9,7 +9,7 @@ Specify a list of required properties for an at-rule. * At-rule and required property names */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/color-function-notation.md b/docs/description/color-function-notation.md index 19b340cf..89451f56 100644 --- a/docs/description/color-function-notation.md +++ b/docs/description/color-function-notation.md @@ -13,9 +13,9 @@ Modern color-functions use a comma-free syntax because functions in CSS are used For legacy reasons, `rgb()` and `hsl()` also supports an alternate syntax that separates all of its arguments with commas. Also for legacy reasons, the `rgba()` and `hsla()` functions exist using the same comma-based syntax. -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix some of the problems reported by this rule when the primary option is `"modern"`. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix some of the problems reported by this rule when the primary option is `"modern"`. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/color-hex-alpha.md b/docs/description/color-hex-alpha.md index dab89834..695cc59c 100644 --- a/docs/description/color-hex-alpha.md +++ b/docs/description/color-hex-alpha.md @@ -9,7 +9,7 @@ a { color: #fffa } * This alpha channel */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/color-hex-length.md b/docs/description/color-hex-length.md index cd1ad6bd..fd709eda 100644 --- a/docs/description/color-hex-length.md +++ b/docs/description/color-hex-length.md @@ -9,9 +9,9 @@ a { color: #fff } * This hex color */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/color-no-hex.md b/docs/description/color-no-hex.md index 03d7f4ce..86841dc9 100644 --- a/docs/description/color-no-hex.md +++ b/docs/description/color-no-hex.md @@ -9,7 +9,7 @@ a { color: #333 } * This hex color */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/color-no-invalid-hex.md b/docs/description/color-no-invalid-hex.md index 35895a52..e006f217 100644 --- a/docs/description/color-no-invalid-hex.md +++ b/docs/description/color-no-invalid-hex.md @@ -11,7 +11,7 @@ a { color: #y3 } Longhand hex colors can be either 6 or 8 (with alpha channel) hexadecimal characters. And their shorthand variants are 3 and 4 characters respectively. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/comment-empty-line-before.md b/docs/description/comment-empty-line-before.md index b64a1d31..87bdd653 100644 --- a/docs/description/comment-empty-line-before.md +++ b/docs/description/comment-empty-line-before.md @@ -18,7 +18,7 @@ This rule ignores: - single-line comments with `//` (when you're using a custom syntax that supports them) - comments within selector and value lists -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/comment-pattern.md b/docs/description/comment-pattern.md index 6bfbd6b3..c1107a3c 100644 --- a/docs/description/comment-pattern.md +++ b/docs/description/comment-pattern.md @@ -9,7 +9,7 @@ Specify a pattern for comments. * The pattern of this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/comment-whitespace-inside.md b/docs/description/comment-whitespace-inside.md index cccfdf7c..3b5f3546 100644 --- a/docs/description/comment-whitespace-inside.md +++ b/docs/description/comment-whitespace-inside.md @@ -14,7 +14,7 @@ Any number of asterisks are allowed at the beginning or end of the comment. So ` > [!WARNING] > Comments within _selector and value lists_ are currently ignored. -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/comment-word-disallowed-list.md b/docs/description/comment-word-disallowed-list.md index 3223fc2f..05021501 100644 --- a/docs/description/comment-word-disallowed-list.md +++ b/docs/description/comment-word-disallowed-list.md @@ -12,7 +12,7 @@ Specify a list of disallowed words within comments. > [!WARNING] > Comments within _selector and value lists_ are currently ignored. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/custom-media-pattern.md b/docs/description/custom-media-pattern.md index 4e4ea03d..080158fb 100644 --- a/docs/description/custom-media-pattern.md +++ b/docs/description/custom-media-pattern.md @@ -9,7 +9,7 @@ Specify a pattern for custom media query names. * The pattern of this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/custom-property-empty-line-before.md b/docs/description/custom-property-empty-line-before.md index 2d431416..301f1d4e 100644 --- a/docs/description/custom-property-empty-line-before.md +++ b/docs/description/custom-property-empty-line-before.md @@ -13,7 +13,7 @@ a { * This line */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/custom-property-no-missing-var-function.md b/docs/description/custom-property-no-missing-var-function.md index 062dc926..ebdbb49d 100644 --- a/docs/description/custom-property-no-missing-var-function.md +++ b/docs/description/custom-property-no-missing-var-function.md @@ -15,7 +15,7 @@ This rule has the following limitations: - It only reports custom properties that are defined within the same source. - It does not check properties that can contain author-defined identifiers, e.g. `transition-property`. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/custom-property-pattern.md b/docs/description/custom-property-pattern.md index 36604d01..20e91257 100644 --- a/docs/description/custom-property-pattern.md +++ b/docs/description/custom-property-pattern.md @@ -9,7 +9,7 @@ a { --foo-: 1px; } * The pattern of this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-block-no-duplicate-custom-properties.md b/docs/description/declaration-block-no-duplicate-custom-properties.md index fc9cd9d7..8c0f21f8 100644 --- a/docs/description/declaration-block-no-duplicate-custom-properties.md +++ b/docs/description/declaration-block-no-duplicate-custom-properties.md @@ -11,7 +11,7 @@ a { --custom-property: pink; --custom-property: orange; } This rule is case-sensitive. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-block-no-duplicate-properties.md b/docs/description/declaration-block-no-duplicate-properties.md index d7aa29e8..7edde46d 100644 --- a/docs/description/declaration-block-no-duplicate-properties.md +++ b/docs/description/declaration-block-no-duplicate-properties.md @@ -11,9 +11,9 @@ a { color: pink; color: orange; } This rule ignores variables (`$sass`, `@less`, `--custom-property`). -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-block-no-redundant-longhand-properties.md b/docs/description/declaration-block-no-redundant-longhand-properties.md index e41c7fe9..c8e601e6 100644 --- a/docs/description/declaration-block-no-redundant-longhand-properties.md +++ b/docs/description/declaration-block-no-redundant-longhand-properties.md @@ -89,9 +89,9 @@ This rule complains when the following shorthand properties can be used: Flexbox-related properties can be ignored using `ignoreShorthands: ["/flex/"]` (see below). -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options @@ -174,6 +174,60 @@ a { ## Optional secondary options +### `ignoreLonghands: ["string"]` + +Given: + + +```json +["text-decoration-thickness", "background-size", "background-origin", "background-clip"] +``` + +The following patterns are considered problems: + + +```css +a { + text-decoration-line: underline; + text-decoration-style: solid; + text-decoration-color: purple; +} +``` + + +```css +a { + background-repeat: repeat; + background-attachment: scroll; + background-position: 0% 0%; + background-color: transparent; + background-image: none; + background-size: contain; + background-origin: border-box; + background-clip: text; +} +``` + +The following patterns are _not_ considered problems: + + +```css +a { + text-decoration: underline solid purple; + text-decoration-thickness: 1px; +} +``` + + +```css +a { + background: none 0% 0% repeat scroll transparent; + background-size: contain; + background-origin: border-box; + background-clip: text; +} +``` + ### `ignoreShorthands: ["/regex/", /regex/, "string"]` Given: diff --git a/docs/description/declaration-block-no-shorthand-property-overrides.md b/docs/description/declaration-block-no-shorthand-property-overrides.md index 2a93d0a4..ca61904c 100644 --- a/docs/description/declaration-block-no-shorthand-property-overrides.md +++ b/docs/description/declaration-block-no-shorthand-property-overrides.md @@ -11,7 +11,7 @@ a { background-repeat: repeat; background: green; } In almost every case, this is just an authorial oversight. For more about this behavior, see [MDN's documentation of shorthand properties](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties). -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-block-single-line-max-declarations.md b/docs/description/declaration-block-single-line-max-declarations.md index 7924105f..e0fb8172 100644 --- a/docs/description/declaration-block-single-line-max-declarations.md +++ b/docs/description/declaration-block-single-line-max-declarations.md @@ -9,7 +9,7 @@ a { color: pink; top: 0; } * The number of these declarations */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-empty-line-before.md b/docs/description/declaration-empty-line-before.md index a5a074ea..f04d384d 100644 --- a/docs/description/declaration-empty-line-before.md +++ b/docs/description/declaration-empty-line-before.md @@ -13,9 +13,9 @@ a { * This line */ ``` -This rule only applies to standard property declarations. Use the [`custom-property-empty-line-before`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/custom-property-empty-line-before/README.md) rule for custom property declarations. +This rule only applies to standard property declarations. Use the [`custom-property-empty-line-before`](https://github.com/stylelint/stylelint/tree/16.6.1/lib/rules/custom-property-empty-line-before/README.md) rule for custom property declarations. -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/declaration-property-max-values.md b/docs/description/declaration-property-max-values.md index e8402f83..6521fdf1 100644 --- a/docs/description/declaration-property-max-values.md +++ b/docs/description/declaration-property-max-values.md @@ -2,7 +2,7 @@ Limit the number of values for a list of properties within declarations. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-property-unit-allowed-list.md b/docs/description/declaration-property-unit-allowed-list.md index 357901d1..96c16573 100644 --- a/docs/description/declaration-property-unit-allowed-list.md +++ b/docs/description/declaration-property-unit-allowed-list.md @@ -9,7 +9,7 @@ a { width: 100px; } * These properties and these units */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-property-unit-disallowed-list.md b/docs/description/declaration-property-unit-disallowed-list.md index d1037b6d..9df0cc80 100644 --- a/docs/description/declaration-property-unit-disallowed-list.md +++ b/docs/description/declaration-property-unit-disallowed-list.md @@ -9,7 +9,7 @@ a { width: 100px; } * These properties and these units */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-property-value-allowed-list.md b/docs/description/declaration-property-value-allowed-list.md index fe41681d..6cf37b7c 100644 --- a/docs/description/declaration-property-value-allowed-list.md +++ b/docs/description/declaration-property-value-allowed-list.md @@ -9,7 +9,7 @@ a { text-transform: uppercase; } * These properties and these values */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-property-value-disallowed-list.md b/docs/description/declaration-property-value-disallowed-list.md index 10fc5cb5..73c7e1cd 100644 --- a/docs/description/declaration-property-value-disallowed-list.md +++ b/docs/description/declaration-property-value-disallowed-list.md @@ -9,7 +9,7 @@ a { text-transform: uppercase; } * These properties and these values */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/declaration-property-value-no-unknown.md b/docs/description/declaration-property-value-no-unknown.md index 3a70094c..648fae93 100644 --- a/docs/description/declaration-property-value-no-unknown.md +++ b/docs/description/declaration-property-value-no-unknown.md @@ -17,10 +17,10 @@ This rule is experimental with some false negatives that we'll patch in minor re It sometimes overlaps with: -- [`color-no-invalid-hex`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/color-no-invalid-hex/README.md) -- [`function-no-unknown`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/function-no-unknown/README.md) -- [`string-no-newline`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/string-no-newline/README.md) -- [`unit-no-unknown`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/unit-no-unknown/README.md) +- [`color-no-invalid-hex`](https://github.com/stylelint/stylelint/tree/16.6.1/lib/rules/color-no-invalid-hex/README.md) +- [`function-no-unknown`](https://github.com/stylelint/stylelint/tree/16.6.1/lib/rules/function-no-unknown/README.md) +- [`string-no-newline`](https://github.com/stylelint/stylelint/tree/16.6.1/lib/rules/string-no-newline/README.md) +- [`unit-no-unknown`](https://github.com/stylelint/stylelint/tree/16.6.1/lib/rules/unit-no-unknown/README.md) If duplicate problems are flagged, you can turn off the corresponding rule. diff --git a/docs/description/description.json b/docs/description/description.json index deeda5eb..00b1fc27 100644 --- a/docs/description/description.json +++ b/docs/description/description.json @@ -145,6 +145,13 @@ "name" : "selector-max-id", "description" : "selector-max-id" } ] +}, { + "patternId" : "no-unknown-custom-media", + "title" : "Disallow unknown custom media queries.", + "parameters" : [ { + "name" : "no-unknown-custom-media", + "description" : "no-unknown-custom-media" + } ] }, { "patternId" : "property-disallowed-list", "title" : "Specify a list of disallowed properties.", @@ -320,6 +327,13 @@ "name" : "selector-pseudo-class-no-unknown", "description" : "selector-pseudo-class-no-unknown" } ] +}, { + "patternId" : "function-calc-no-unspaced-operator", + "title" : "Disallow invalid unspaced operator within math functions, such as `calc()` or `min()`.", + "parameters" : [ { + "name" : "function-calc-no-unspaced-operator", + "description" : "function-calc-no-unspaced-operator" + } ] }, { "patternId" : "number-max-precision", "title" : "Limit the number of decimal places allowed in numbers.", @@ -572,13 +586,6 @@ "name" : "media-feature-name-value-allowed-list", "description" : "media-feature-name-value-allowed-list" } ] -}, { - "patternId" : "function-calc-no-unspaced-operator", - "title" : "Disallow invalid unspaced operator within `calc` functions.", - "parameters" : [ { - "name" : "function-calc-no-unspaced-operator", - "description" : "function-calc-no-unspaced-operator" - } ] }, { "patternId" : "no-descending-specificity", "title" : "Disallow selectors of lower specificity from coming after overriding selectors of higher specificity.", diff --git a/docs/description/font-family-name-quotes.md b/docs/description/font-family-name-quotes.md index 6266ec47..4ab8533e 100644 --- a/docs/description/font-family-name-quotes.md +++ b/docs/description/font-family-name-quotes.md @@ -13,7 +13,7 @@ This rule checks the `font` and `font-family` properties. This rule ignores `$sass`, `@less`, and `var(--custom-property)` variable syntaxes. -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. ## Options diff --git a/docs/description/font-weight-notation.md b/docs/description/font-weight-notation.md index 16756e8e..2a56e049 100644 --- a/docs/description/font-weight-notation.md +++ b/docs/description/font-weight-notation.md @@ -19,7 +19,7 @@ a { font: italic small-caps 600 16px/3 cursive; } This rule ignores `$sass`, `@less`, and `var(--custom-property)` variable syntaxes. -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/function-allowed-list.md b/docs/description/function-allowed-list.md index dfeb396c..e341bdc4 100644 --- a/docs/description/function-allowed-list.md +++ b/docs/description/function-allowed-list.md @@ -9,7 +9,7 @@ a { transform: scale(1); } * This function */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/function-calc-no-unspaced-operator.md b/docs/description/function-calc-no-unspaced-operator.md index 14c8bd7e..bfaa2198 100644 --- a/docs/description/function-calc-no-unspaced-operator.md +++ b/docs/description/function-calc-no-unspaced-operator.md @@ -1,6 +1,6 @@ # function-calc-no-unspaced-operator -Disallow invalid unspaced operator within `calc` functions. +Disallow invalid unspaced operator within [math functions](https://www.w3.org/TR/css-values-4/#calc-syntax), such as `calc()` or `min()`. ```css @@ -11,7 +11,7 @@ a { top: calc(1px + 2px); } This rule checks that there is a single whitespace or a newline plus indentation before the `+` or `-` operator, and a single whitespace or a newline after that operator. -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options @@ -29,6 +29,11 @@ a { top: calc(1px+2px); } a { top: calc(1px+ 2px); } ``` + +```css +a { transform: rotate(atan(-2+1)); } +``` + The following patterns are _not_ considered problems: diff --git a/docs/description/function-disallowed-list.md b/docs/description/function-disallowed-list.md index 1be0a044..8ac25449 100644 --- a/docs/description/function-disallowed-list.md +++ b/docs/description/function-disallowed-list.md @@ -9,7 +9,7 @@ a { transform: scale(1); } * This function */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/function-name-case.md b/docs/description/function-name-case.md index 82314d37..de92d2ae 100644 --- a/docs/description/function-name-case.md +++ b/docs/description/function-name-case.md @@ -11,9 +11,9 @@ a { width: calc(5% - 10em); } Camel case function names, e.g. `translateX`, are accounted for when the `lower` option is used. -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/function-no-unknown.md b/docs/description/function-no-unknown.md index 12ec2d14..9627e16b 100644 --- a/docs/description/function-no-unknown.md +++ b/docs/description/function-no-unknown.md @@ -13,7 +13,7 @@ This rule considers functions defined in the CSS Specifications to be known. This rule ignores double-dashed custom functions, e.g. `--custom-function()`. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/function-url-quotes.md b/docs/description/function-url-quotes.md index 1bd29081..f18aab48 100644 --- a/docs/description/function-url-quotes.md +++ b/docs/description/function-url-quotes.md @@ -9,7 +9,7 @@ a { background: url("x.jpg") } * These quotes */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. ## Options diff --git a/docs/description/function-url-scheme-allowed-list.md b/docs/description/function-url-scheme-allowed-list.md index 02ca65c2..f9dc008f 100644 --- a/docs/description/function-url-scheme-allowed-list.md +++ b/docs/description/function-url-scheme-allowed-list.md @@ -16,7 +16,7 @@ This rule ignores: - URL arguments without an existing URL scheme - URL arguments with variables or variable interpolation (`$sass`, `@less`, `--custom-property`, `#{$var}`, `@{var}`, `$(var)`) -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/function-url-scheme-disallowed-list.md b/docs/description/function-url-scheme-disallowed-list.md index b13cafca..b394baef 100644 --- a/docs/description/function-url-scheme-disallowed-list.md +++ b/docs/description/function-url-scheme-disallowed-list.md @@ -16,7 +16,7 @@ This rule ignores: - URL arguments without an existing URL scheme - URL arguments with variables or variable interpolation (`$sass`, `@less`, `--custom-property`, `#{$var}`, `@{var}`, `$(var)`) -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/hue-degree-notation.md b/docs/description/hue-degree-notation.md index c94a046d..90c1fb58 100644 --- a/docs/description/hue-degree-notation.md +++ b/docs/description/hue-degree-notation.md @@ -11,9 +11,9 @@ Specify number or angle notation for degree hues. Because hues are so often given in degrees, a hue can also be given as a number, which is interpreted as a number of degrees. -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/import-notation.md b/docs/description/import-notation.md index 88501091..22c548e3 100644 --- a/docs/description/import-notation.md +++ b/docs/description/import-notation.md @@ -9,7 +9,7 @@ Specify string or URL notation for `@import` rules. * This notation */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/keyframe-block-no-duplicate-selectors.md b/docs/description/keyframe-block-no-duplicate-selectors.md index 59c98386..5100ed70 100644 --- a/docs/description/keyframe-block-no-duplicate-selectors.md +++ b/docs/description/keyframe-block-no-duplicate-selectors.md @@ -11,7 +11,7 @@ Disallow duplicate selectors within keyframe blocks. This rule is case-insensitive. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/keyframe-selector-notation.md b/docs/description/keyframe-selector-notation.md index 84408eb3..404d293d 100644 --- a/docs/description/keyframe-selector-notation.md +++ b/docs/description/keyframe-selector-notation.md @@ -11,9 +11,9 @@ Specify keyword or percentage notation for keyframe selectors. The keyword `from` is equivalent to the value `0%`. The keyword `to` is equivalent to the value `100%`. -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/keyframes-name-pattern.md b/docs/description/keyframes-name-pattern.md index 4963e522..f98ad8b5 100644 --- a/docs/description/keyframes-name-pattern.md +++ b/docs/description/keyframes-name-pattern.md @@ -9,7 +9,7 @@ Specify a pattern for keyframe names. * The pattern of this */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/length-zero-no-unit.md b/docs/description/length-zero-no-unit.md index eb5d68d5..00785bff 100644 --- a/docs/description/length-zero-no-unit.md +++ b/docs/description/length-zero-no-unit.md @@ -13,7 +13,7 @@ _Lengths_ refer to distance measurements. A length is a _dimension_, which is a This rule ignores lengths within math functions (e.g. `calc`). -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/lightness-notation.md b/docs/description/lightness-notation.md index 57ede77e..5c25d66d 100644 --- a/docs/description/lightness-notation.md +++ b/docs/description/lightness-notation.md @@ -11,9 +11,9 @@ Specify number or percentage notation for lightness. This rule supports `oklch`, `oklab`, `lch` and `lab` functions. -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/max-nesting-depth.md b/docs/description/max-nesting-depth.md index 68343d38..1ff2584a 100644 --- a/docs/description/max-nesting-depth.md +++ b/docs/description/max-nesting-depth.md @@ -48,7 +48,7 @@ a { This rule integrates into Stylelint's core the functionality of the (now deprecated) plugin [`stylelint-statement-max-nesting-depth`](https://github.com/davidtheclark/stylelint-statement-max-nesting-depth). -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-name-allowed-list.md b/docs/description/media-feature-name-allowed-list.md index e4c4a17e..2739746c 100644 --- a/docs/description/media-feature-name-allowed-list.md +++ b/docs/description/media-feature-name-allowed-list.md @@ -9,7 +9,7 @@ Specify a list of allowed media feature names. * This media feature name */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-name-disallowed-list.md b/docs/description/media-feature-name-disallowed-list.md index b4b1be90..8e274495 100644 --- a/docs/description/media-feature-name-disallowed-list.md +++ b/docs/description/media-feature-name-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed media feature names. * This media feature name */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-name-no-unknown.md b/docs/description/media-feature-name-no-unknown.md index 4bb394cb..5d402de1 100644 --- a/docs/description/media-feature-name-no-unknown.md +++ b/docs/description/media-feature-name-no-unknown.md @@ -13,7 +13,7 @@ This rule considers media feature names defined in the CSS Specifications, up to This rule ignores vendor-prefixed media feature names. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-name-no-vendor-prefix.md b/docs/description/media-feature-name-no-vendor-prefix.md index 0fbd546d..57dac7b4 100644 --- a/docs/description/media-feature-name-no-vendor-prefix.md +++ b/docs/description/media-feature-name-no-vendor-prefix.md @@ -11,7 +11,7 @@ Disallow vendor prefixes for media feature names. This rule ignores non-standard vendor-prefixed media feature names that aren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer). -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate media feature names produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate media feature names produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. ## Options diff --git a/docs/description/media-feature-name-value-allowed-list.md b/docs/description/media-feature-name-value-allowed-list.md index aa7d1582..030561d8 100644 --- a/docs/description/media-feature-name-value-allowed-list.md +++ b/docs/description/media-feature-name-value-allowed-list.md @@ -9,7 +9,7 @@ Specify a list of allowed media feature name and value pairs. * These features and values */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-name-value-no-unknown.md b/docs/description/media-feature-name-value-no-unknown.md index afbbc577..a19d7faa 100644 --- a/docs/description/media-feature-name-value-no-unknown.md +++ b/docs/description/media-feature-name-value-no-unknown.md @@ -17,11 +17,11 @@ This rule is experimental with some false negatives that we'll patch in minor re It sometimes overlaps with: -- [`unit-no-unknown`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/unit-no-unknown/README.md) +- [`unit-no-unknown`](https://github.com/stylelint/stylelint/tree/16.6.1/lib/rules/unit-no-unknown/README.md) If duplicate problems are flagged, you can turn off the corresponding rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/media-feature-range-notation.md b/docs/description/media-feature-range-notation.md index 54cf233e..e7f5d9c4 100644 --- a/docs/description/media-feature-range-notation.md +++ b/docs/description/media-feature-range-notation.md @@ -13,9 +13,9 @@ Media features of the range type can be written using prefixes or the more moder Because `min-` and `max-` both equate to range comparisons that include the value, they may be [limiting in certain situations](https://drafts.csswg.org/mediaqueries/#mq-min-max). -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix some of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix some of the problems reported by this rule. ## Options diff --git a/docs/description/media-query-no-invalid.md b/docs/description/media-query-no-invalid.md index b739d781..46159f90 100644 --- a/docs/description/media-query-no-invalid.md +++ b/docs/description/media-query-no-invalid.md @@ -15,10 +15,10 @@ This rule is only appropriate for CSS. You should not turn it on for CSS-like la It works well with other rules that validate feature names and values: -- [`media-feature-name-no-unknown`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/media-feature-name-no-unknown/README.md) -- [`media-feature-name-value-no-unknown`](https://github.com/stylelint/stylelint/tree/16.3.1/lib/rules/media-feature-name-value-no-unknown/README.md) +- [`media-feature-name-no-unknown`](https://github.com/stylelint/stylelint/tree/16.6.1/lib/rules/media-feature-name-no-unknown/README.md) +- [`media-feature-name-value-no-unknown`](https://github.com/stylelint/stylelint/tree/16.6.1/lib/rules/media-feature-name-value-no-unknown/README.md) -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/no-descending-specificity.md b/docs/description/no-descending-specificity.md index 7c1a48c7..07cf9c69 100644 --- a/docs/description/no-descending-specificity.md +++ b/docs/description/no-descending-specificity.md @@ -17,7 +17,7 @@ This rule enforces that practice _as best it can_, reporting fewer errors than i We recommend turning this rule off if you use a lot of nesting. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## How it works diff --git a/docs/description/no-duplicate-at-import-rules.md b/docs/description/no-duplicate-at-import-rules.md index eb968b12..4ab6125b 100644 --- a/docs/description/no-duplicate-at-import-rules.md +++ b/docs/description/no-duplicate-at-import-rules.md @@ -10,7 +10,7 @@ Disallow duplicate `@import` rules. * These are duplicates */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/no-duplicate-selectors.md b/docs/description/no-duplicate-selectors.md index f8bcbe45..a3080163 100644 --- a/docs/description/no-duplicate-selectors.md +++ b/docs/description/no-duplicate-selectors.md @@ -22,7 +22,7 @@ The same selector _is_ allowed to repeat in the following circumstances: This rule resolves nested selectors. So `a b {} a { & b {} }` counts as a problem, because the resolved selectors end up with a duplicate. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/no-unknown-animations.md b/docs/description/no-unknown-animations.md index e399d633..f63990bd 100644 --- a/docs/description/no-unknown-animations.md +++ b/docs/description/no-unknown-animations.md @@ -15,7 +15,7 @@ a { animation: fancy-slide 2s linear; } This rule considers the identifiers of `@keyframes` rules defined within the same source to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/no-unknown-custom-media.md b/docs/description/no-unknown-custom-media.md new file mode 100644 index 00000000..7ef5efc9 --- /dev/null +++ b/docs/description/no-unknown-custom-media.md @@ -0,0 +1,50 @@ +# no-unknown-custom-media + +Disallow unknown custom media queries. + + +```css +@custom-media --sm (min-width: 40rem); +/** ↑ +* This custom media query name */ + +@media (--sm) {} +/** ↑ +* And this one */ +``` + +This rule considers custom media queries defined **within the same source** to be known. + +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. + +## Options + +### `true` + +The following patterns are considered problems: + + +```css +@media (--sm) {} + +@media (--sm), (max-height: 40rem) {} +``` + +The following patterns are _not_ considered problems: + + +```css +@custom-media --sm (min-width: 40rem); + +@media (--sm), (max-height: 40rem) {} +``` + +> [!NOTE] +> The `@custom-media` name can be used before its declaration + + +```css +@media (--lg) {} + +@custom-media --lg (min-width: 60rem); +``` diff --git a/docs/description/no-unknown-custom-properties.md b/docs/description/no-unknown-custom-properties.md index 19be83ad..22b0c3e4 100644 --- a/docs/description/no-unknown-custom-properties.md +++ b/docs/description/no-unknown-custom-properties.md @@ -15,7 +15,7 @@ a { color: var(--foo, var(--bar)); } This rule considers custom properties defined within the same source to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/number-max-precision.md b/docs/description/number-max-precision.md index eabf7bba..0905c2d8 100644 --- a/docs/description/number-max-precision.md +++ b/docs/description/number-max-precision.md @@ -9,7 +9,7 @@ a { top: 3.245634px; } * This decimal place */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/property-allowed-list.md b/docs/description/property-allowed-list.md index 83e638c8..1f4f3b0a 100644 --- a/docs/description/property-allowed-list.md +++ b/docs/description/property-allowed-list.md @@ -11,7 +11,7 @@ a { display: block; } This rule ignores variables (`$sass`, `@less`, `--custom-property`). -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/property-disallowed-list.md b/docs/description/property-disallowed-list.md index 9672dc04..cded9fc4 100644 --- a/docs/description/property-disallowed-list.md +++ b/docs/description/property-disallowed-list.md @@ -9,7 +9,7 @@ a { text-rendering: optimizeLegibility; } * This property */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/property-no-unknown.md b/docs/description/property-no-unknown.md index 1eaff018..d965a13e 100644 --- a/docs/description/property-no-unknown.md +++ b/docs/description/property-no-unknown.md @@ -18,7 +18,7 @@ This rule ignores: Use option `checkPrefixed` described below to turn on checking of vendor-prefixed properties. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/property-no-vendor-prefix.md b/docs/description/property-no-vendor-prefix.md index fdecf712..877a1ca3 100644 --- a/docs/description/property-no-vendor-prefix.md +++ b/docs/description/property-no-vendor-prefix.md @@ -11,9 +11,9 @@ a { -webkit-transform: scale(1); } This rule ignores non-standard vendor-prefixed properties that aren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer). -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate properties produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate properties produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/rule-empty-line-before.md b/docs/description/rule-empty-line-before.md index 01572480..5415a0d2 100644 --- a/docs/description/rule-empty-line-before.md +++ b/docs/description/rule-empty-line-before.md @@ -13,7 +13,7 @@ b {} /* ↑ */ This rule ignores rules that are the very first node in a source. -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/rule-selector-property-disallowed-list.md b/docs/description/rule-selector-property-disallowed-list.md index 37b1c81f..0b1ed949 100644 --- a/docs/description/rule-selector-property-disallowed-list.md +++ b/docs/description/rule-selector-property-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed properties for selectors within rules. * Selector and property name */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options @@ -61,3 +61,25 @@ a { padding-top: 0px; } ```css html[data-foo] { color: red; } ``` + +## Optional secondary options + +### `ignore: ["keyframe-selectors"]` + +Ignore keyframe selectors. + +Given: + +```json +[{ "/^[a-z]+$/": ["opacity"] }, { "ignore": ["keyframe-selectors"] }] +``` + +The following pattern is _not_ considered a problem: + + +```css +@keyframes fade-in { + from { opacity: 0; } + to { opacity: 1; } +} +``` diff --git a/docs/description/selector-anb-no-unmatchable.md b/docs/description/selector-anb-no-unmatchable.md index bd1ea44b..3053b105 100644 --- a/docs/description/selector-anb-no-unmatchable.md +++ b/docs/description/selector-anb-no-unmatchable.md @@ -11,7 +11,7 @@ a:nth-child(0n+0) {} [An+B selectors](https://www.w3.org/TR/css-syntax-3/#anb-microsyntax) are one-indexed. Selectors that always evaluate to `0` will not match any elements. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-attribute-name-disallowed-list.md b/docs/description/selector-attribute-name-disallowed-list.md index 4f833f33..3889f7cb 100644 --- a/docs/description/selector-attribute-name-disallowed-list.md +++ b/docs/description/selector-attribute-name-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed attribute names. * This name */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-attribute-operator-allowed-list.md b/docs/description/selector-attribute-operator-allowed-list.md index 80ca92b9..80e561f1 100644 --- a/docs/description/selector-attribute-operator-allowed-list.md +++ b/docs/description/selector-attribute-operator-allowed-list.md @@ -9,7 +9,7 @@ Specify a list of allowed attribute operators. * This operator */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-attribute-operator-disallowed-list.md b/docs/description/selector-attribute-operator-disallowed-list.md index 671a49b1..2f33d4a7 100644 --- a/docs/description/selector-attribute-operator-disallowed-list.md +++ b/docs/description/selector-attribute-operator-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed attribute operators. * This operator */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-attribute-quotes.md b/docs/description/selector-attribute-quotes.md index 8a5f7d67..804131a9 100644 --- a/docs/description/selector-attribute-quotes.md +++ b/docs/description/selector-attribute-quotes.md @@ -9,7 +9,7 @@ Require or disallow quotes for attribute values. * These quotes */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix most of the problems reported by this rule. ## Options diff --git a/docs/description/selector-class-pattern.md b/docs/description/selector-class-pattern.md index b920db68..b32b01b2 100644 --- a/docs/description/selector-class-pattern.md +++ b/docs/description/selector-class-pattern.md @@ -13,7 +13,7 @@ This rule ignores non-outputting Less mixin definitions and called Less mixins. Escaped selectors (e.g. `.u-size-11\/12\@sm`) are parsed as escaped twice (e.g. `.u-size-11\\/12\\@sm`). Your RegExp should account for that. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-combinator-allowed-list.md b/docs/description/selector-combinator-allowed-list.md index 9f6ee2f0..b2e262b1 100644 --- a/docs/description/selector-combinator-allowed-list.md +++ b/docs/description/selector-combinator-allowed-list.md @@ -13,7 +13,7 @@ This rule normalizes the whitespace descendant combinator to be a single space. This rule ignores [reference combinators](https://www.w3.org/TR/selectors4/#idref-combinators) e.g. `/for/`. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-combinator-disallowed-list.md b/docs/description/selector-combinator-disallowed-list.md index 80345e18..32db8ddf 100644 --- a/docs/description/selector-combinator-disallowed-list.md +++ b/docs/description/selector-combinator-disallowed-list.md @@ -13,7 +13,7 @@ This rule normalizes the whitespace descendant combinator to be a single space. This rule ignores [reference combinators](https://www.w3.org/TR/selectors4/#idref-combinators) e.g. `/for/`. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-disallowed-list.md b/docs/description/selector-disallowed-list.md index 06f31199..4df7a6f2 100644 --- a/docs/description/selector-disallowed-list.md +++ b/docs/description/selector-disallowed-list.md @@ -9,7 +9,7 @@ Specify a list of disallowed selectors. * This is selector */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-id-pattern.md b/docs/description/selector-id-pattern.md index 254dd5a0..30bf5d90 100644 --- a/docs/description/selector-id-pattern.md +++ b/docs/description/selector-id-pattern.md @@ -9,7 +9,7 @@ Specify a pattern for ID selectors. * These ID selectors */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-attribute.md b/docs/description/selector-max-attribute.md index e06aa8db..f92948b9 100644 --- a/docs/description/selector-max-attribute.md +++ b/docs/description/selector-max-attribute.md @@ -13,7 +13,7 @@ This rule resolves nested selectors before counting the number of attribute sele The `:not()` pseudo-class is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-class.md b/docs/description/selector-max-class.md index 008e9b4e..ca9849eb 100644 --- a/docs/description/selector-max-class.md +++ b/docs/description/selector-max-class.md @@ -14,7 +14,7 @@ This rule resolves nested selectors before counting the number of classes in a s The `:not()` pseudo-class is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-combinators.md b/docs/description/selector-max-combinators.md index cc367cdb..64ccf732 100644 --- a/docs/description/selector-max-combinators.md +++ b/docs/description/selector-max-combinators.md @@ -11,7 +11,7 @@ Limit the number of combinators in a selector. This rule resolves nested selectors before counting the number of combinators selectors. Each selector in a [selector list](https://www.w3.org/TR/selectors4/#selector-list) is evaluated separately. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-compound-selectors.md b/docs/description/selector-max-compound-selectors.md index 28495952..b5a2adbe 100644 --- a/docs/description/selector-max-compound-selectors.md +++ b/docs/description/selector-max-compound-selectors.md @@ -17,7 +17,7 @@ This rule resolves nested selectors before counting the depth of a selector. Eac > [!WARNING] > The `:not()` pseudo-class is considered one compound selector irrespective to the complexity of the selector inside it. The rule _does_ process that inner selector, but does so separately, independent of the main selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-id.md b/docs/description/selector-max-id.md index 63e21144..35daec3b 100644 --- a/docs/description/selector-max-id.md +++ b/docs/description/selector-max-id.md @@ -13,7 +13,7 @@ This rule resolves nested selectors before counting the number of ID selectors. The `:not()` pseudo-class is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-pseudo-class.md b/docs/description/selector-max-pseudo-class.md index dc675d84..58d4c739 100644 --- a/docs/description/selector-max-pseudo-class.md +++ b/docs/description/selector-max-pseudo-class.md @@ -14,7 +14,7 @@ This rule resolves nested selectors before counting the number of pseudo-classes The content of the `:not()` pseudo-class is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-specificity.md b/docs/description/selector-max-specificity.md index e64d7953..4180e4ad 100644 --- a/docs/description/selector-max-specificity.md +++ b/docs/description/selector-max-specificity.md @@ -15,7 +15,7 @@ This rule ignores selectors with variable interpolation (`#{$var}`, `@{var}`, `$ This rule resolves nested selectors before counting the specificity of a selector. Each selector in a [selector list](https://www.w3.org/TR/selectors4/#selector-list) is evaluated separately. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options @@ -100,7 +100,7 @@ Given: [ "0,2,0", { - "ignoreSelectors": [":global", ":local", "/^my-/"] + "ignoreSelectors": [":host", ":host-context", "/^my-/"] } ] ``` @@ -109,17 +109,17 @@ The following patterns are _not_ considered problems: ```css -:global(.foo) .bar {} +:host(.foo) .bar {} ``` ```css -:local(.foo.bar) {} +:host-context(.foo.bar) {} ``` ```css -:local(.foo, :global(.bar).baz) {} +:host-context(.foo, :host(.bar).baz) {} ``` @@ -131,17 +131,17 @@ The following patterns are considered problems: ```css -:global(.foo) .bar.baz {} +:host(.foo) .bar.baz {} ``` ```css -:local(.foo.bar.baz) {} +:host-context(.foo.bar.baz) {} ``` ```css -:local(.foo, :global(.bar), .foo.bar.baz) {} +:host-context(.foo, :host(.bar), .foo.bar.baz) {} ``` diff --git a/docs/description/selector-max-type.md b/docs/description/selector-max-type.md index 91db0847..a97327c7 100644 --- a/docs/description/selector-max-type.md +++ b/docs/description/selector-max-type.md @@ -13,7 +13,7 @@ This rule resolves nested selectors before counting the number of type selectors The `:not()` pseudo-class is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-max-universal.md b/docs/description/selector-max-universal.md index 884a5ed9..6f3ab198 100644 --- a/docs/description/selector-max-universal.md +++ b/docs/description/selector-max-universal.md @@ -13,7 +13,7 @@ This rule resolves nested selectors before counting the number of universal sele The logical combinations pseudo-class (e.g. `:not`, `:has`) is also evaluated separately. The rule processes the argument as if it were an independent selector, and the result does not count toward the total for the entire selector. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-nested-pattern.md b/docs/description/selector-nested-pattern.md index 089db723..bd707e5c 100644 --- a/docs/description/selector-nested-pattern.md +++ b/docs/description/selector-nested-pattern.md @@ -14,7 +14,7 @@ Specify a pattern for the selectors of rules nested within rules. Non-standard selectors (e.g. selectors with Sass or Less interpolation) and selectors of rules nested within at-rules are ignored. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-no-qualifying-type.md b/docs/description/selector-no-qualifying-type.md index 6382aa9a..8f904377 100644 --- a/docs/description/selector-no-qualifying-type.md +++ b/docs/description/selector-no-qualifying-type.md @@ -11,7 +11,7 @@ Disallow qualifying a selector by type. A type selector is "qualifying" when it is compounded with (chained to) another selector (e.g. `a.foo`, `a#foo`). This rule does not regulate type selectors that are combined with other selectors via a combinator (e.g. `a > .foo`, `a #foo`). -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-no-vendor-prefix.md b/docs/description/selector-no-vendor-prefix.md index f956f214..a656157f 100644 --- a/docs/description/selector-no-vendor-prefix.md +++ b/docs/description/selector-no-vendor-prefix.md @@ -11,9 +11,9 @@ input::-moz-placeholder {} This rule ignores non-standard vendor-prefixed selectors that aren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer). -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate selectors produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate selectors produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-not-notation.md b/docs/description/selector-not-notation.md index ead03158..5e1b80c2 100644 --- a/docs/description/selector-not-notation.md +++ b/docs/description/selector-not-notation.md @@ -16,9 +16,9 @@ Use: - `"complex"` to author modern Selectors Level 4 CSS - `"simple"` for backwards compatibility with older browsers -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) option can automatically fix most of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) option can automatically fix most of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-class-allowed-list.md b/docs/description/selector-pseudo-class-allowed-list.md index bd9a179d..9937bda4 100644 --- a/docs/description/selector-pseudo-class-allowed-list.md +++ b/docs/description/selector-pseudo-class-allowed-list.md @@ -11,7 +11,7 @@ Specify a list of allowed pseudo-class selectors. This rule ignores selectors that use variable interpolation e.g. `:#{$variable} {}`. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-class-disallowed-list.md b/docs/description/selector-pseudo-class-disallowed-list.md index 76ac4ffc..9b1f4d01 100644 --- a/docs/description/selector-pseudo-class-disallowed-list.md +++ b/docs/description/selector-pseudo-class-disallowed-list.md @@ -11,7 +11,7 @@ Specify a list of disallowed pseudo-class selectors. This rule ignores selectors that use variable interpolation e.g. `:#{$variable} {}`. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-class-no-unknown.md b/docs/description/selector-pseudo-class-no-unknown.md index 539aa614..b7921e79 100644 --- a/docs/description/selector-pseudo-class-no-unknown.md +++ b/docs/description/selector-pseudo-class-no-unknown.md @@ -13,7 +13,7 @@ This rule considers pseudo-class selectors defined in the CSS Specifications, up This rule ignores vendor-prefixed pseudo-class selectors. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-element-allowed-list.md b/docs/description/selector-pseudo-element-allowed-list.md index de565770..48e12d8f 100644 --- a/docs/description/selector-pseudo-element-allowed-list.md +++ b/docs/description/selector-pseudo-element-allowed-list.md @@ -14,7 +14,7 @@ This rule ignores: - CSS2 pseudo-elements i.e. those prefixed with a single colon - selectors that use variable interpolation e.g. `::#{$variable} {}` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-element-colon-notation.md b/docs/description/selector-pseudo-element-colon-notation.md index d928a9d0..43d5a07c 100644 --- a/docs/description/selector-pseudo-element-colon-notation.md +++ b/docs/description/selector-pseudo-element-colon-notation.md @@ -13,7 +13,7 @@ The `::` notation was chosen for _pseudo-elements_ to establish a discrimination However, for compatibility with existing style sheets, user agents also accept the previous one-colon notation for _pseudo-elements_ introduced in CSS levels 1 and 2 (namely, `:first-line`, `:first-letter`, `:before` and `:after`). -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options diff --git a/docs/description/selector-pseudo-element-disallowed-list.md b/docs/description/selector-pseudo-element-disallowed-list.md index 150ea513..e3b04062 100644 --- a/docs/description/selector-pseudo-element-disallowed-list.md +++ b/docs/description/selector-pseudo-element-disallowed-list.md @@ -14,7 +14,7 @@ This rule ignores: - CSS2 pseudo-elements i.e. those prefixed with a single colon - selectors that use variable interpolation e.g. `::#{$variable} {}` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-pseudo-element-no-unknown.md b/docs/description/selector-pseudo-element-no-unknown.md index fd3d282a..717b9b51 100644 --- a/docs/description/selector-pseudo-element-no-unknown.md +++ b/docs/description/selector-pseudo-element-no-unknown.md @@ -13,7 +13,7 @@ This rule considers pseudo-element selectors defined in the CSS Specifications, This rule ignores vendor-prefixed pseudo-element selectors. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-type-case.md b/docs/description/selector-type-case.md index 80ad0dd2..8930c2e3 100644 --- a/docs/description/selector-type-case.md +++ b/docs/description/selector-type-case.md @@ -9,9 +9,9 @@ Specify lowercase or uppercase for type selectors. * This is type selector */ ``` -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/selector-type-no-unknown.md b/docs/description/selector-type-no-unknown.md index be9ab50b..80830ed8 100644 --- a/docs/description/selector-type-no-unknown.md +++ b/docs/description/selector-type-no-unknown.md @@ -11,7 +11,7 @@ Disallow unknown type selectors. This rule considers tags defined in the HTML, SVG, and MathML specifications to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/shorthand-property-no-redundant-values.md b/docs/description/shorthand-property-no-redundant-values.md index 5923c0fa..2fe164b4 100644 --- a/docs/description/shorthand-property-no-redundant-values.md +++ b/docs/description/shorthand-property-no-redundant-values.md @@ -24,9 +24,9 @@ This rule checks the following shorthand properties: - `grid-gap` - `inset` -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/time-min-milliseconds.md b/docs/description/time-min-milliseconds.md index 0fe7edf1..58aaff0d 100644 --- a/docs/description/time-min-milliseconds.md +++ b/docs/description/time-min-milliseconds.md @@ -11,7 +11,7 @@ a { animation: slip-n-slide 150ms linear; } This rule checks positive numbers in `transition-duration`, `transition-delay`, `animation-duration`, `animation-delay`, and those times as they manifest in the `transition` and `animation` shorthands. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/unit-allowed-list.md b/docs/description/unit-allowed-list.md index 5acbea7a..fc1c2c27 100644 --- a/docs/description/unit-allowed-list.md +++ b/docs/description/unit-allowed-list.md @@ -9,7 +9,7 @@ a { width: 100px; } * These units */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/unit-disallowed-list.md b/docs/description/unit-disallowed-list.md index 237451d4..6d35c25c 100644 --- a/docs/description/unit-disallowed-list.md +++ b/docs/description/unit-disallowed-list.md @@ -9,7 +9,7 @@ a { width: 100px; } * These units */ ``` -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/unit-no-unknown.md b/docs/description/unit-no-unknown.md index 73ccdc3d..c80444df 100644 --- a/docs/description/unit-no-unknown.md +++ b/docs/description/unit-no-unknown.md @@ -11,7 +11,7 @@ a { width: 100pixels; } This rule considers units defined in the CSS Specifications, up to and including Editor's Drafts, to be known. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/value-keyword-case.md b/docs/description/value-keyword-case.md index 6b33d409..1aa61bce 100644 --- a/docs/description/value-keyword-case.md +++ b/docs/description/value-keyword-case.md @@ -11,9 +11,9 @@ Specify lowercase or uppercase for keywords values. This rule ignores [``](https://developer.mozilla.org/en/docs/Web/CSS/custom-ident) of known properties. Keyword values which are paired with non-properties (e.g. `$vars` and custom properties), and do not conform to the primary option, can be ignored using the `ignoreKeywords: []` secondary option. -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options diff --git a/docs/description/value-no-vendor-prefix.md b/docs/description/value-no-vendor-prefix.md index 8780e0bb..0f9eddf6 100644 --- a/docs/description/value-no-vendor-prefix.md +++ b/docs/description/value-no-vendor-prefix.md @@ -9,11 +9,11 @@ a { display: -webkit-flex; } * This prefix */ ``` -This rule ignores non-standard vendor-prefixed values that aren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer). +This rule does not fix vendor-prefixed values that weren't handled by [Autoprefixer](https://github.com/postcss/autoprefixer) version 10.2.5. Exceptions may be added on a case by case basis. -The [`fix` option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate values produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. +The [`fix` option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/options.md#fix) can automatically fix all of the problems reported by this rule. However, it will not remove duplicate values produced when the prefixes are removed. You can use [Autoprefixer](https://github.com/postcss/autoprefixer) itself, with the [`add` option off and the `remove` option on](https://github.com/postcss/autoprefixer#options), in these situations. -The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.3.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. +The [`message` secondary option](https://github.com/stylelint/stylelint/tree/16.6.1/docs/user-guide/configure.md#message) can accept the arguments of this rule. ## Options @@ -55,22 +55,32 @@ a { background: linear-gradient(bottom, #000, #fff); } ## Optional secondary options -### `ignoreValues: ["string"]` +### `ignoreValues: ["/regex/", /regex/, "string"]` Given: ```json -["grab", "max-content"] +["grab", "max-content", "/^-moz-all$/"] ``` The following patterns are _not_ considered problems: ```css -cursor: -webkit-grab; +a { cursor: -webkit-grab; } ``` ```css -.foo { max-width: -moz-max-content; } +a { max-width: -moz-max-content; } +``` + + +```css +a { -moz-user-select: -moz-all; } ``` + +> [!WARNING] +> An _exact_ match comparison will be performed for non-regex strings in the next major version. +> If you want to keep the legacy behavior, please consider using a regex instead. +> E.g. `[/^(-webkit-|-moz-)?max-content$/]`. diff --git a/docs/patterns.json b/docs/patterns.json index 7e87727a..d00d7ac0 100644 --- a/docs/patterns.json +++ b/docs/patterns.json @@ -1,6 +1,6 @@ { "name" : "stylelint", - "version" : "16.3.1", + "version" : "16.6.1", "patterns" : [ { "patternId" : "alpha-value-notation", "level" : "Info", @@ -805,6 +805,16 @@ } ], "languages" : [ ], "enabled" : false + }, { + "patternId" : "no-unknown-custom-media", + "level" : "Info", + "category" : "CodeStyle", + "parameters" : [ { + "name" : "no-unknown-custom-media", + "default" : null + } ], + "languages" : [ ], + "enabled" : false }, { "patternId" : "no-unknown-custom-properties", "level" : "Warning", diff --git a/package-lock.json b/package-lock.json index c60c93e0..8e975632 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,8 +13,8 @@ "postcss-styled": "^0.34.0", "postcss-styled-syntax": "^0.6.4", "postcss-syntax": "^0.36.2", - "prettier": "^3.2.5", - "stylelint": "^16.3.1", + "prettier": "^3.3.2", + "stylelint": "^16.6.1", "stylelint-config-css-modules": "^4.4.0", "stylelint-config-sass-guidelines": "^11.1.0", "stylelint-config-slds": "^1.0.8", @@ -24,9 +24,9 @@ "stylelint-config-tailwindcss": "^0.0.7", "stylelint-config-twbs-bootstrap": "^14.1.0", "stylelint-declaration-strict-value": "^1.10.4", - "stylelint-no-px": "^1.0.1", + "stylelint-no-px": "^2.0.0", "stylelint-prettier": "^5.0.0", - "stylelint-scss": "^6.2.1", + "stylelint-scss": "^6.3.1", "stylelint-selector-bem-pattern": "^4.0.0", "stylelint-suitcss": "^5.0.0" } @@ -85,9 +85,9 @@ } }, "node_modules/@csstools/css-parser-algorithms": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.6.1.tgz", - "integrity": "sha512-ubEkAaTfVZa+WwGhs5jbo5Xfqpeaybr/RvWzvFxRs4jfq16wH8l8Ty/QEEpINxll4xhuGfdMbipRyz5QZh9+FA==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.6.3.tgz", + "integrity": "sha512-xI/tL2zxzEbESvnSxwFgwvy5HS00oCXxL4MLs6HUiDcYfwowsoQaABKxUElp1ARITrINzBnsECOc1q0eg2GOrA==", "funding": [ { "type": "github", @@ -102,13 +102,13 @@ "node": "^14 || ^16 || >=18" }, "peerDependencies": { - "@csstools/css-tokenizer": "^2.2.4" + "@csstools/css-tokenizer": "^2.3.1" } }, "node_modules/@csstools/css-tokenizer": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.2.4.tgz", - "integrity": "sha512-PuWRAewQLbDhGeTvFuq2oClaSCKPIBmHyIobCV39JHRYN0byDcUWJl5baPeNUcqrjtdMNqFooE0FGl31I3JOqw==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.3.1.tgz", + "integrity": "sha512-iMNHTyxLbBlWIfGtabT157LH9DUx9X8+Y3oymFEuMj8HNc+rpE3dPFGFgHjpKfjeFDjLjYIAIhXPGvS2lKxL9g==", "funding": [ { "type": "github", @@ -124,9 +124,9 @@ } }, "node_modules/@csstools/media-query-list-parser": { - "version": "2.1.9", - "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.9.tgz", - "integrity": "sha512-qqGuFfbn4rUmyOB0u8CVISIp5FfJ5GAR3mBrZ9/TKndHakdnm6pY0L/fbLcpPnrzwCyyTEZl1nUcXAYHEWneTA==", + "version": "2.1.11", + "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.11.tgz", + "integrity": "sha512-uox5MVhvNHqitPP+SynrB1o8oPxPMt2JLgp5ghJOWf54WGQ5OKu47efne49r1SWqs3wRP8xSWjnO9MBKxhB1dA==", "funding": [ { "type": "github", @@ -141,8 +141,8 @@ "node": "^14 || ^16 || >=18" }, "peerDependencies": { - "@csstools/css-parser-algorithms": "^2.6.1", - "@csstools/css-tokenizer": "^2.2.4" + "@csstools/css-parser-algorithms": "^2.6.3", + "@csstools/css-tokenizer": "^2.3.1" } }, "node_modules/@csstools/selector-specificity": { @@ -161,9 +161,9 @@ } }, "node_modules/@dual-bundle/import-meta-resolve": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.0.0.tgz", - "integrity": "sha512-ZKXyJeFAzcpKM2kk8ipoGIPUqx9BX52omTGnfwjJvxOCaZTM2wtDK7zN0aIgPRbT9XYAlha0HtmZ+XKteuh0Gw==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz", + "integrity": "sha512-+nxncfwHM5SgAtrVzgpzJOI1ol0PkumhVo469KCf9lUi21IGcY90G98VuHm9VRrUypmAzawAHO9bs6hqeADaVg==", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -279,68 +279,6 @@ "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", "peer": true }, - "node_modules/@isaacs/cliui": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", - "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", - "dependencies": { - "string-width": "^5.1.2", - "string-width-cjs": "npm:string-width@^4.2.0", - "strip-ansi": "^7.0.1", - "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", - "wrap-ansi": "^8.1.0", - "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/@isaacs/cliui/node_modules/emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - }, - "node_modules/@isaacs/cliui/node_modules/string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@isaacs/cliui/node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", @@ -427,15 +365,6 @@ "node": ">= 8" } }, - "node_modules/@pkgjs/parseargs": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", - "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", - "optional": true, - "engines": { - "node": ">=14" - } - }, "node_modules/@stylistic/stylelint-config": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@stylistic/stylelint-config/-/stylelint-config-1.0.1.tgz", @@ -745,11 +674,11 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -884,6 +813,7 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "peer": true, "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -897,6 +827,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "peer": true, "dependencies": { "isexe": "^2.0.0" }, @@ -908,9 +839,9 @@ } }, "node_modules/css-functions-list": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.1.tgz", - "integrity": "sha512-Nj5YcaGgBtuUmn1D7oHqPW0c9iui7xsTsj5lIX8ZgevdfhmjFfKB3r8moHJtNJnctnYXJyYX5I1pp90HM4TPgQ==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.2.tgz", + "integrity": "sha512-c+N0v6wbKVxTu5gOBBFkr9BEdBWaqqjQeiJ8QvSRIJOf+UxlJh930m8e6/WNeODIK0mYLFkoONrnj16i2EcvfQ==", "engines": { "node": ">=12 || >=16" } @@ -1023,11 +954,6 @@ "node": ">=6.0.0" } }, - "node_modules/eastasianwidth": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" - }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -1461,9 +1387,9 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -1496,35 +1422,9 @@ } }, "node_modules/flatted": { - "version": "3.2.9", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", - "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==" - }, - "node_modules/foreground-child": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", - "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", - "dependencies": { - "cross-spawn": "^7.0.0", - "signal-exit": "^4.0.1" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/foreground-child/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", + "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==" }, "node_modules/fs.realpath": { "version": "1.0.0", @@ -1877,23 +1777,6 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, - "node_modules/jackspeak": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", - "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", - "dependencies": { - "@isaacs/cliui": "^8.0.2" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - }, - "optionalDependencies": { - "@pkgjs/parseargs": "^0.11.0" - } - }, "node_modules/jiti": { "version": "1.18.2", "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.18.2.tgz", @@ -1957,9 +1840,9 @@ } }, "node_modules/known-css-properties": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.29.0.tgz", - "integrity": "sha512-Ne7wqW7/9Cz54PDt4I3tcV+hAyat8ypyOGzYRJQfdxnnjeWsTxt1cy8pjvvKeI5kfXuyvULyeeAvwvvtAX3ayQ==" + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.31.0.tgz", + "integrity": "sha512-sBPIUGTNF0czz0mwGGUoKKJC8Q7On1GPbCSFPfyEsfHb2DyBG0Y4QtV+EVWpINSaiGKZblDNuF5AezxSgOhesQ==" }, "node_modules/levn": { "version": "0.4.1", @@ -2080,11 +1963,11 @@ } }, "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", + "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", "dependencies": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" }, "engines": { @@ -2139,14 +2022,6 @@ "node": ">=0.10.0" } }, - "node_modules/minipass": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", - "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -2326,6 +2201,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "peer": true, "engines": { "node": ">=8" } @@ -2335,29 +2211,6 @@ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, - "node_modules/path-scurry": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", - "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", - "dependencies": { - "lru-cache": "^9.1.1 || ^10.0.0", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", - "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==", - "engines": { - "node": "14 || >=16.14" - } - }, "node_modules/path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", @@ -2367,9 +2220,9 @@ } }, "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==" }, "node_modules/picomatch": { "version": "2.3.1", @@ -2616,9 +2469,9 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.0.16", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz", - "integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz", + "integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==", "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -2681,9 +2534,9 @@ } }, "node_modules/prettier": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", - "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.2.tgz", + "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==", "bin": { "prettier": "bin/prettier.cjs" }, @@ -2904,6 +2757,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "peer": true, "dependencies": { "shebang-regex": "^3.0.0" }, @@ -2915,6 +2769,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "peer": true, "engines": { "node": ">=8" } @@ -3021,20 +2876,6 @@ "node": ">=8" } }, - "node_modules/string-width-cjs": { - "name": "string-width", - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -3046,18 +2887,6 @@ "node": ">=8" } }, - "node_modules/strip-ansi-cjs": { - "name": "strip-ansi", - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/strip-indent": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", @@ -3087,24 +2916,34 @@ "integrity": "sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=" }, "node_modules/stylelint": { - "version": "16.3.1", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.3.1.tgz", - "integrity": "sha512-/JOwQnBvxEKOT2RtNgGpBVXnCSMBgKOL2k7w0K52htwCyJls4+cHvc4YZgXlVoAZS9QJd2DgYAiRnja96pTgxw==", - "dependencies": { - "@csstools/css-parser-algorithms": "^2.6.1", - "@csstools/css-tokenizer": "^2.2.4", - "@csstools/media-query-list-parser": "^2.1.9", - "@csstools/selector-specificity": "^3.0.2", - "@dual-bundle/import-meta-resolve": "^4.0.0", + "version": "16.6.1", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.6.1.tgz", + "integrity": "sha512-yNgz2PqWLkhH2hw6X9AweV9YvoafbAD5ZsFdKN9BvSDVwGvPh+AUIrn7lYwy1S7IHmtFin75LLfX1m0D2tHu8Q==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/stylelint" + }, + { + "type": "github", + "url": "https://github.com/sponsors/stylelint" + } + ], + "dependencies": { + "@csstools/css-parser-algorithms": "^2.6.3", + "@csstools/css-tokenizer": "^2.3.1", + "@csstools/media-query-list-parser": "^2.1.11", + "@csstools/selector-specificity": "^3.1.1", + "@dual-bundle/import-meta-resolve": "^4.1.0", "balanced-match": "^2.0.0", "colord": "^2.9.3", "cosmiconfig": "^9.0.0", - "css-functions-list": "^3.2.1", + "css-functions-list": "^3.2.2", "css-tree": "^2.3.1", "debug": "^4.3.4", "fast-glob": "^3.3.2", "fastest-levenshtein": "^1.0.16", - "file-entry-cache": "^8.0.0", + "file-entry-cache": "^9.0.0", "global-modules": "^2.0.0", "globby": "^11.1.0", "globjoin": "^0.1.4", @@ -3112,23 +2951,23 @@ "ignore": "^5.3.1", "imurmurhash": "^0.1.4", "is-plain-object": "^5.0.0", - "known-css-properties": "^0.30.0", + "known-css-properties": "^0.31.0", "mathml-tag-names": "^2.1.3", "meow": "^13.2.0", - "micromatch": "^4.0.5", + "micromatch": "^4.0.7", "normalize-path": "^3.0.0", - "picocolors": "^1.0.0", + "picocolors": "^1.0.1", "postcss": "^8.4.38", "postcss-resolve-nested-selector": "^0.1.1", "postcss-safe-parser": "^7.0.0", - "postcss-selector-parser": "^6.0.16", + "postcss-selector-parser": "^6.1.0", "postcss-value-parser": "^4.2.0", "resolve-from": "^5.0.0", "string-width": "^4.2.3", "strip-ansi": "^7.1.0", "supports-hyperlinks": "^3.0.0", "svg-tags": "^1.0.0", - "table": "^6.8.1", + "table": "^6.8.2", "write-file-atomic": "^5.0.1" }, "bin": { @@ -3136,10 +2975,6 @@ }, "engines": { "node": ">=18.12.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/stylelint" } }, "node_modules/stylelint-config-css-modules": { @@ -3308,14 +3143,15 @@ } }, "node_modules/stylelint-no-px": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/stylelint-no-px/-/stylelint-no-px-1.0.1.tgz", - "integrity": "sha512-33+Gd5WFeSvEiOV8IwWMVgjzYieFg/Q4ETKeZkahSYl2V7+WMtgNT32IYYEspN402ZJv16bOciwEnG1GY2qrPA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/stylelint-no-px/-/stylelint-no-px-2.0.0.tgz", + "integrity": "sha512-uuiKhXIlLATtetsqvGG0tx8LUlqKDKI4BzYUeEp2mrJD7gb0AazPPtEHdRMrMeEJGwnRcPyiOYvAZ29In4m+1g==", "dependencies": { - "postcss-value-parser": "^3.3.0 || ^4.0.2" + "postcss-less": "^6.0.0", + "postcss-value-parser": "^4.2.0" }, "peerDependencies": { - "stylelint": ">= 8" + "stylelint": ">= 16" } }, "node_modules/stylelint-order": { @@ -3346,14 +3182,14 @@ } }, "node_modules/stylelint-scss": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.2.1.tgz", - "integrity": "sha512-ZoGLbVb1keZYRVGQlhB8G6sZOoNqw61whzzzGFWp05N12ErqLFfBv3JPrXiMLZaW98sBS7K/vUQhRnvUj4vwdw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.3.1.tgz", + "integrity": "sha512-w/czBoWUZxJNk5fBRPODcXSN4qcPv3WHjTSSpFovVY+TE3MZTMR0yRlbmaDYrm8tTWHvpwQAuEBZ0lk2wwkboQ==", "dependencies": { - "known-css-properties": "^0.29.0", + "known-css-properties": "^0.31.0", "postcss-media-query-parser": "^0.2.3", "postcss-resolve-nested-selector": "^0.1.1", - "postcss-selector-parser": "^6.0.15", + "postcss-selector-parser": "^6.1.0", "postcss-value-parser": "^4.2.0" }, "engines": { @@ -3512,9 +3348,9 @@ } }, "node_modules/stylelint/node_modules/@csstools/selector-specificity": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.3.tgz", - "integrity": "sha512-KEPNw4+WW5AVEIyzC80rTbWEUatTW2lXpN8+8ILC8PiPeWPjwUzrPZDIOZ2wwqDmeqOYTdSGyL3+vE5GC3FB3Q==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.1.1.tgz", + "integrity": "sha512-a7cxGcJ2wIlMFLlh8z2ONm+715QkPHiyJcxwQlKOz/03GPw1COpfhcmC9wm4xlZfp//jWHNNMwzjtqHXVWU9KA==", "funding": [ { "type": "github", @@ -3543,19 +3379,6 @@ "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, - "node_modules/stylelint/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/stylelint/node_modules/brace-expansion/node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, "node_modules/stylelint/node_modules/cosmiconfig": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", @@ -3582,55 +3405,28 @@ } }, "node_modules/stylelint/node_modules/file-entry-cache": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", - "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-9.0.0.tgz", + "integrity": "sha512-6MgEugi8p2tiUhqO7GnPsmbCCzj0YRCwwaTbpGRyKZesjRSzkqkAE9fPp7V2yMs5hwfgbQLgdvSSkGNg1s5Uvw==", "dependencies": { - "flat-cache": "^4.0.0" + "flat-cache": "^5.0.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18" } }, "node_modules/stylelint/node_modules/flat-cache": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.0.tgz", - "integrity": "sha512-EryKbCE/wxpxKniQlyas6PY1I9vwtF3uCBweX+N8KYTCn3Y12RTGtQAJ/bd5pl7kxUAc8v/R3Ake/N17OZiFqA==", - "dependencies": { - "flatted": "^3.2.9", - "keyv": "^4.5.4", - "rimraf": "^5.0.5" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/stylelint/node_modules/glob": { - "version": "10.3.10", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", - "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-5.0.0.tgz", + "integrity": "sha512-JrqFmyUl2PnPi1OvLyTVHnQvwQ0S+e6lGSwu8OkAZlSaNIZciTY2H/cOOROxsBA1m/LZNHDsqAgDZt6akWcjsQ==", "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^2.3.5", - "minimatch": "^9.0.1", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", - "path-scurry": "^1.10.1" - }, - "bin": { - "glob": "dist/esm/bin.mjs" + "flatted": "^3.3.1", + "keyv": "^4.5.4" }, "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": ">=18" } }, - "node_modules/stylelint/node_modules/known-css-properties": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.30.0.tgz", - "integrity": "sha512-VSWXYUnsPu9+WYKkfmJyLKtIvaRJi1kXUqVmBACORXZQxT5oZDsoZ2vQP+bQFDnWtpI/4eq3MLoRMjI2fnLzTQ==" - }, "node_modules/stylelint/node_modules/meow": { "version": "13.2.0", "resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz", @@ -3642,37 +3438,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/stylelint/node_modules/minimatch": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/stylelint/node_modules/rimraf": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.5.tgz", - "integrity": "sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==", - "dependencies": { - "glob": "^10.3.7" - }, - "bin": { - "rimraf": "dist/esm/bin.mjs" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/stylelint/node_modules/strip-ansi": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", @@ -3788,9 +3553,9 @@ "integrity": "sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=" }, "node_modules/table": { - "version": "6.8.1", - "resolved": "https://registry.npmjs.org/table/-/table-6.8.1.tgz", - "integrity": "sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==", + "version": "6.8.2", + "resolved": "https://registry.npmjs.org/table/-/table-6.8.2.tgz", + "integrity": "sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA==", "dependencies": { "ajv": "^8.0.1", "lodash.truncate": "^4.4.2", @@ -3993,126 +3758,6 @@ "which": "bin/which" } }, - "node_modules/wrap-ansi": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", - "dependencies": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi-cjs": { - "name": "wrap-ansi", - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - }, - "node_modules/wrap-ansi/node_modules/string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -4212,20 +3857,20 @@ } }, "@csstools/css-parser-algorithms": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.6.1.tgz", - "integrity": "sha512-ubEkAaTfVZa+WwGhs5jbo5Xfqpeaybr/RvWzvFxRs4jfq16wH8l8Ty/QEEpINxll4xhuGfdMbipRyz5QZh9+FA==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.6.3.tgz", + "integrity": "sha512-xI/tL2zxzEbESvnSxwFgwvy5HS00oCXxL4MLs6HUiDcYfwowsoQaABKxUElp1ARITrINzBnsECOc1q0eg2GOrA==", "requires": {} }, "@csstools/css-tokenizer": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.2.4.tgz", - "integrity": "sha512-PuWRAewQLbDhGeTvFuq2oClaSCKPIBmHyIobCV39JHRYN0byDcUWJl5baPeNUcqrjtdMNqFooE0FGl31I3JOqw==" + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.3.1.tgz", + "integrity": "sha512-iMNHTyxLbBlWIfGtabT157LH9DUx9X8+Y3oymFEuMj8HNc+rpE3dPFGFgHjpKfjeFDjLjYIAIhXPGvS2lKxL9g==" }, "@csstools/media-query-list-parser": { - "version": "2.1.9", - "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.9.tgz", - "integrity": "sha512-qqGuFfbn4rUmyOB0u8CVISIp5FfJ5GAR3mBrZ9/TKndHakdnm6pY0L/fbLcpPnrzwCyyTEZl1nUcXAYHEWneTA==", + "version": "2.1.11", + "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.11.tgz", + "integrity": "sha512-uox5MVhvNHqitPP+SynrB1o8oPxPMt2JLgp5ghJOWf54WGQ5OKu47efne49r1SWqs3wRP8xSWjnO9MBKxhB1dA==", "requires": {} }, "@csstools/selector-specificity": { @@ -4235,9 +3880,9 @@ "requires": {} }, "@dual-bundle/import-meta-resolve": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.0.0.tgz", - "integrity": "sha512-ZKXyJeFAzcpKM2kk8ipoGIPUqx9BX52omTGnfwjJvxOCaZTM2wtDK7zN0aIgPRbT9XYAlha0HtmZ+XKteuh0Gw==" + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz", + "integrity": "sha512-+nxncfwHM5SgAtrVzgpzJOI1ol0PkumhVo469KCf9lUi21IGcY90G98VuHm9VRrUypmAzawAHO9bs6hqeADaVg==" }, "@eslint-community/eslint-utils": { "version": "4.4.0", @@ -4319,49 +3964,6 @@ "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", "peer": true }, - "@isaacs/cliui": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", - "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", - "requires": { - "string-width": "^5.1.2", - "string-width-cjs": "npm:string-width@^4.2.0", - "strip-ansi": "^7.0.1", - "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", - "wrap-ansi": "^8.1.0", - "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==" - }, - "emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - }, - "string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "requires": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - } - }, - "strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "requires": { - "ansi-regex": "^6.0.1" - } - } - } - }, "@jridgewell/gen-mapping": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", @@ -4432,12 +4034,6 @@ "fastq": "^1.6.0" } }, - "@pkgjs/parseargs": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", - "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", - "optional": true - }, "@stylistic/stylelint-config": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@stylistic/stylelint-config/-/stylelint-config-1.0.1.tgz", @@ -4661,11 +4257,11 @@ } }, "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "requires": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" } }, "callsites": { @@ -4765,6 +4361,7 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "peer": true, "requires": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -4775,6 +4372,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "peer": true, "requires": { "isexe": "^2.0.0" } @@ -4782,9 +4380,9 @@ } }, "css-functions-list": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.1.tgz", - "integrity": "sha512-Nj5YcaGgBtuUmn1D7oHqPW0c9iui7xsTsj5lIX8ZgevdfhmjFfKB3r8moHJtNJnctnYXJyYX5I1pp90HM4TPgQ==" + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.2.tgz", + "integrity": "sha512-c+N0v6wbKVxTu5gOBBFkr9BEdBWaqqjQeiJ8QvSRIJOf+UxlJh930m8e6/WNeODIK0mYLFkoONrnj16i2EcvfQ==" }, "css-tree": { "version": "2.3.1", @@ -4864,11 +4462,6 @@ "esutils": "^2.0.2" } }, - "eastasianwidth": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" - }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -5176,9 +4769,9 @@ } }, "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "requires": { "to-regex-range": "^5.0.1" } @@ -5202,25 +4795,9 @@ } }, "flatted": { - "version": "3.2.9", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", - "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==" - }, - "foreground-child": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", - "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", - "requires": { - "cross-spawn": "^7.0.0", - "signal-exit": "^4.0.1" - }, - "dependencies": { - "signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" - } - } + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", + "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==" }, "fs.realpath": { "version": "1.0.0", @@ -5474,15 +5051,6 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, - "jackspeak": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", - "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", - "requires": { - "@isaacs/cliui": "^8.0.2", - "@pkgjs/parseargs": "^0.11.0" - } - }, "jiti": { "version": "1.18.2", "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.18.2.tgz", @@ -5537,9 +5105,9 @@ "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" }, "known-css-properties": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.29.0.tgz", - "integrity": "sha512-Ne7wqW7/9Cz54PDt4I3tcV+hAyat8ypyOGzYRJQfdxnnjeWsTxt1cy8pjvvKeI5kfXuyvULyeeAvwvvtAX3ayQ==" + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.31.0.tgz", + "integrity": "sha512-sBPIUGTNF0czz0mwGGUoKKJC8Q7On1GPbCSFPfyEsfHb2DyBG0Y4QtV+EVWpINSaiGKZblDNuF5AezxSgOhesQ==" }, "levn": { "version": "0.4.1", @@ -5639,11 +5207,11 @@ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" }, "micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", + "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", "requires": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" } }, @@ -5682,11 +5250,6 @@ } } }, - "minipass": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", - "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==" - }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -5817,38 +5380,23 @@ "path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "peer": true }, "path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, - "path-scurry": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", - "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", - "requires": { - "lru-cache": "^9.1.1 || ^10.0.0", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" - }, - "dependencies": { - "lru-cache": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz", - "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==" - } - } - }, "path-type": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" }, "picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==" }, "picomatch": { "version": "2.3.1", @@ -5971,9 +5519,9 @@ "requires": {} }, "postcss-selector-parser": { - "version": "6.0.16", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz", - "integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz", + "integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==", "requires": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -6017,9 +5565,9 @@ "peer": true }, "prettier": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", - "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==" + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.2.tgz", + "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==" }, "prettier-linter-helpers": { "version": "1.0.0", @@ -6180,6 +5728,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "peer": true, "requires": { "shebang-regex": "^3.0.0" } @@ -6187,7 +5736,8 @@ "shebang-regex": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "peer": true }, "signal-exit": { "version": "3.0.7", @@ -6275,16 +5825,6 @@ "strip-ansi": "^6.0.1" } }, - "string-width-cjs": { - "version": "npm:string-width@4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - } - }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -6293,14 +5833,6 @@ "ansi-regex": "^5.0.1" } }, - "strip-ansi-cjs": { - "version": "npm:strip-ansi@6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "requires": { - "ansi-regex": "^5.0.1" - } - }, "strip-indent": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", @@ -6321,24 +5853,24 @@ "integrity": "sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI=" }, "stylelint": { - "version": "16.3.1", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.3.1.tgz", - "integrity": "sha512-/JOwQnBvxEKOT2RtNgGpBVXnCSMBgKOL2k7w0K52htwCyJls4+cHvc4YZgXlVoAZS9QJd2DgYAiRnja96pTgxw==", - "requires": { - "@csstools/css-parser-algorithms": "^2.6.1", - "@csstools/css-tokenizer": "^2.2.4", - "@csstools/media-query-list-parser": "^2.1.9", - "@csstools/selector-specificity": "^3.0.2", - "@dual-bundle/import-meta-resolve": "^4.0.0", + "version": "16.6.1", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.6.1.tgz", + "integrity": "sha512-yNgz2PqWLkhH2hw6X9AweV9YvoafbAD5ZsFdKN9BvSDVwGvPh+AUIrn7lYwy1S7IHmtFin75LLfX1m0D2tHu8Q==", + "requires": { + "@csstools/css-parser-algorithms": "^2.6.3", + "@csstools/css-tokenizer": "^2.3.1", + "@csstools/media-query-list-parser": "^2.1.11", + "@csstools/selector-specificity": "^3.1.1", + "@dual-bundle/import-meta-resolve": "^4.1.0", "balanced-match": "^2.0.0", "colord": "^2.9.3", "cosmiconfig": "^9.0.0", - "css-functions-list": "^3.2.1", + "css-functions-list": "^3.2.2", "css-tree": "^2.3.1", "debug": "^4.3.4", "fast-glob": "^3.3.2", "fastest-levenshtein": "^1.0.16", - "file-entry-cache": "^8.0.0", + "file-entry-cache": "^9.0.0", "global-modules": "^2.0.0", "globby": "^11.1.0", "globjoin": "^0.1.4", @@ -6346,30 +5878,30 @@ "ignore": "^5.3.1", "imurmurhash": "^0.1.4", "is-plain-object": "^5.0.0", - "known-css-properties": "^0.30.0", + "known-css-properties": "^0.31.0", "mathml-tag-names": "^2.1.3", "meow": "^13.2.0", - "micromatch": "^4.0.5", + "micromatch": "^4.0.7", "normalize-path": "^3.0.0", - "picocolors": "^1.0.0", + "picocolors": "^1.0.1", "postcss": "^8.4.38", "postcss-resolve-nested-selector": "^0.1.1", "postcss-safe-parser": "^7.0.0", - "postcss-selector-parser": "^6.0.16", + "postcss-selector-parser": "^6.1.0", "postcss-value-parser": "^4.2.0", "resolve-from": "^5.0.0", "string-width": "^4.2.3", "strip-ansi": "^7.1.0", "supports-hyperlinks": "^3.0.0", "svg-tags": "^1.0.0", - "table": "^6.8.1", + "table": "^6.8.2", "write-file-atomic": "^5.0.1" }, "dependencies": { "@csstools/selector-specificity": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.3.tgz", - "integrity": "sha512-KEPNw4+WW5AVEIyzC80rTbWEUatTW2lXpN8+8ILC8PiPeWPjwUzrPZDIOZ2wwqDmeqOYTdSGyL3+vE5GC3FB3Q==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.1.1.tgz", + "integrity": "sha512-a7cxGcJ2wIlMFLlh8z2ONm+715QkPHiyJcxwQlKOz/03GPw1COpfhcmC9wm4xlZfp//jWHNNMwzjtqHXVWU9KA==", "requires": {} }, "ansi-regex": { @@ -6377,21 +5909,6 @@ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==" }, - "brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "requires": { - "balanced-match": "^1.0.0" - }, - "dependencies": { - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - } - } - }, "cosmiconfig": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", @@ -6404,61 +5921,27 @@ } }, "file-entry-cache": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", - "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-9.0.0.tgz", + "integrity": "sha512-6MgEugi8p2tiUhqO7GnPsmbCCzj0YRCwwaTbpGRyKZesjRSzkqkAE9fPp7V2yMs5hwfgbQLgdvSSkGNg1s5Uvw==", "requires": { - "flat-cache": "^4.0.0" + "flat-cache": "^5.0.0" } }, "flat-cache": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.0.tgz", - "integrity": "sha512-EryKbCE/wxpxKniQlyas6PY1I9vwtF3uCBweX+N8KYTCn3Y12RTGtQAJ/bd5pl7kxUAc8v/R3Ake/N17OZiFqA==", - "requires": { - "flatted": "^3.2.9", - "keyv": "^4.5.4", - "rimraf": "^5.0.5" - } - }, - "glob": { - "version": "10.3.10", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", - "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-5.0.0.tgz", + "integrity": "sha512-JrqFmyUl2PnPi1OvLyTVHnQvwQ0S+e6lGSwu8OkAZlSaNIZciTY2H/cOOROxsBA1m/LZNHDsqAgDZt6akWcjsQ==", "requires": { - "foreground-child": "^3.1.0", - "jackspeak": "^2.3.5", - "minimatch": "^9.0.1", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", - "path-scurry": "^1.10.1" + "flatted": "^3.3.1", + "keyv": "^4.5.4" } }, - "known-css-properties": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.30.0.tgz", - "integrity": "sha512-VSWXYUnsPu9+WYKkfmJyLKtIvaRJi1kXUqVmBACORXZQxT5oZDsoZ2vQP+bQFDnWtpI/4eq3MLoRMjI2fnLzTQ==" - }, "meow": { "version": "13.2.0", "resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz", "integrity": "sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==" }, - "minimatch": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", - "requires": { - "brace-expansion": "^2.0.1" - } - }, - "rimraf": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.5.tgz", - "integrity": "sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==", - "requires": { - "glob": "^10.3.7" - } - }, "strip-ansi": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", @@ -6563,11 +6046,12 @@ "requires": {} }, "stylelint-no-px": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/stylelint-no-px/-/stylelint-no-px-1.0.1.tgz", - "integrity": "sha512-33+Gd5WFeSvEiOV8IwWMVgjzYieFg/Q4ETKeZkahSYl2V7+WMtgNT32IYYEspN402ZJv16bOciwEnG1GY2qrPA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/stylelint-no-px/-/stylelint-no-px-2.0.0.tgz", + "integrity": "sha512-uuiKhXIlLATtetsqvGG0tx8LUlqKDKI4BzYUeEp2mrJD7gb0AazPPtEHdRMrMeEJGwnRcPyiOYvAZ29In4m+1g==", "requires": { - "postcss-value-parser": "^3.3.0 || ^4.0.2" + "postcss-less": "^6.0.0", + "postcss-value-parser": "^4.2.0" } }, "stylelint-order": { @@ -6588,14 +6072,14 @@ } }, "stylelint-scss": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.2.1.tgz", - "integrity": "sha512-ZoGLbVb1keZYRVGQlhB8G6sZOoNqw61whzzzGFWp05N12ErqLFfBv3JPrXiMLZaW98sBS7K/vUQhRnvUj4vwdw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.3.1.tgz", + "integrity": "sha512-w/czBoWUZxJNk5fBRPODcXSN4qcPv3WHjTSSpFovVY+TE3MZTMR0yRlbmaDYrm8tTWHvpwQAuEBZ0lk2wwkboQ==", "requires": { - "known-css-properties": "^0.29.0", + "known-css-properties": "^0.31.0", "postcss-media-query-parser": "^0.2.3", "postcss-resolve-nested-selector": "^0.1.1", - "postcss-selector-parser": "^6.0.15", + "postcss-selector-parser": "^6.1.0", "postcss-value-parser": "^4.2.0" } }, @@ -6783,9 +6267,9 @@ "integrity": "sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=" }, "table": { - "version": "6.8.1", - "resolved": "https://registry.npmjs.org/table/-/table-6.8.1.tgz", - "integrity": "sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==", + "version": "6.8.2", + "resolved": "https://registry.npmjs.org/table/-/table-6.8.2.tgz", + "integrity": "sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA==", "requires": { "ajv": "^8.0.1", "lodash.truncate": "^4.4.2", @@ -6946,84 +6430,6 @@ "isexe": "^2.0.0" } }, - "wrap-ansi": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", - "requires": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" - }, - "dependencies": { - "ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==" - }, - "ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==" - }, - "emoji-regex": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" - }, - "string-width": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "requires": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - } - }, - "strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "requires": { - "ansi-regex": "^6.0.1" - } - } - } - }, - "wrap-ansi-cjs": { - "version": "npm:wrap-ansi@7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - } - } - }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", diff --git a/package.json b/package.json index 74605075..eced951e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "upgrade": "npm install --omit=dev" }, "dependencies": { - "postcss": "^8.4.33", + "postcss": "^8.4.38", "postcss-less": "^6.0.0", "postcss-safe-parser": "^7.0.0", "postcss-sass": "^0.5.0", @@ -15,21 +15,21 @@ "postcss-styled": "^0.34.0", "postcss-styled-syntax": "^0.6.4", "postcss-syntax": "^0.36.2", - "prettier": "^3.2.3", - "stylelint": "^16.1.0", + "prettier": "^3.3.2", + "stylelint": "^16.6.1", "stylelint-config-css-modules": "^4.4.0", - "stylelint-config-sass-guidelines": "^11.0.0", + "stylelint-config-sass-guidelines": "^11.1.0", "stylelint-config-slds": "^1.0.8", "stylelint-config-standard": "^36.0.0", - "stylelint-config-standard-scss": "^13.0.0", + "stylelint-config-standard-scss": "^13.1.0", "stylelint-config-styled-components": "^0.1.1", "stylelint-config-tailwindcss": "^0.0.7", - "stylelint-config-twbs-bootstrap": "^13.0.0", + "stylelint-config-twbs-bootstrap": "^14.1.0", "stylelint-declaration-strict-value": "^1.10.4", - "stylelint-no-px": "^1.0.1", + "stylelint-no-px": "^2.0.0", "stylelint-prettier": "^5.0.0", - "stylelint-scss": "^6.0.0", - "stylelint-selector-bem-pattern": "^3.0.1", + "stylelint-scss": "^6.3.1", + "stylelint-selector-bem-pattern": "^4.0.0", "stylelint-suitcss": "^5.0.0" } } diff --git a/project/build.properties b/project/build.properties index 875b706a..081fdbbc 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.9.2 +sbt.version=1.10.0 diff --git a/project/plugins.sbt b/project/plugins.sbt index 30f521ee..4b70b343 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,7 +1,7 @@ resolvers += Resolver.jcenterRepo -addSbtPlugin("com.codacy" % "codacy-sbt-plugin" % "25.2.0") +addSbtPlugin("com.codacy" % "codacy-sbt-plugin" % "25.2.2") addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.9") // Coverage -addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.2") +addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3") diff --git a/src/main/scala/codacy/stylelint/Stylelint.scala b/src/main/scala/codacy/stylelint/Stylelint.scala index ed36f62c..5d6dd9f2 100644 --- a/src/main/scala/codacy/stylelint/Stylelint.scala +++ b/src/main/scala/codacy/stylelint/Stylelint.scala @@ -131,11 +131,10 @@ object Stylelint extends Tool { case err => val errorString = s"""Could not parse results json: + |$jsonString + |$jsonLines | |Exception: ${err.getMessage} - | - |Json: - |$jsonString """.stripMargin Failure(new Exception(errorString)) } From 3be44a57d8f6b374e97ef006c3ae8f6afe88c3c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Pires?= Date: Wed, 19 Jun 2024 18:09:18 +0100 Subject: [PATCH 3/8] add ScanType field --- .../src/main/scala/codacy/stylelint/DocGenerator.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc-generator/src/main/scala/codacy/stylelint/DocGenerator.scala b/doc-generator/src/main/scala/codacy/stylelint/DocGenerator.scala index 444968c7..f7430cb0 100644 --- a/doc-generator/src/main/scala/codacy/stylelint/DocGenerator.scala +++ b/doc-generator/src/main/scala/codacy/stylelint/DocGenerator.scala @@ -59,7 +59,8 @@ object DocGenerator { val param = Set(Parameter.Specification(Parameter.Name(patternName), default)) val enabled = CodacyValues.patternsEnabled.contains(patternName) val level = if (CodacyValues.possibleErrorsPatterns.contains(patternName)) Result.Level.Warn else Result.Level.Info - Pattern.Specification(Pattern.Id(patternName), level, Pattern.Category.CodeStyle, None, param, enabled = enabled) + Pattern + .Specification(Pattern.Id(patternName), level, Pattern.Category.CodeStyle, None, None, param, enabled = enabled) } def PatternsFromDefaultConfig(): Map[String, Parameter.Value] = { From 985330b5bea5579400e889258b9ed14378ee3d02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Pires?= Date: Wed, 19 Jun 2024 18:16:22 +0100 Subject: [PATCH 4/8] bump sbtnativepackager docker image --- build.sbt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sbt b/build.sbt index 6f527a4a..10fac9b4 100644 --- a/build.sbt +++ b/build.sbt @@ -8,6 +8,8 @@ name := "codacy-stylelint" lazy val `doc-generator` = project.settings(libraryDependencies += "com.vladsch.flexmark" % "flexmark-all" % "0.64.8") +dockerBaseImage := "openjdk:11-jdk" + enablePlugins(JavaAppPackaging) Universal / javaOptions ++= Seq("-XX:+UseG1GC", "-XX:+UseStringDeduplication", "-XX:MaxRAMPercentage=90.0") From de75f586f11a484e0230d7cee1832055f375930c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Pires?= Date: Wed, 19 Jun 2024 19:07:30 +0100 Subject: [PATCH 5/8] bump codacy/sbt packages in CI --- .circleci/config.yml | 4 +++- build.sbt | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7fee7fc6..6c5b1e0e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2.1 orbs: - codacy: codacy/base@11.2.0 + codacy: codacy/base@12.1.1 codacy_plugins_test: codacy/plugins-test@2.0.11 workflows: @@ -11,6 +11,8 @@ workflows: write_sbt_version: true - codacy/sbt: name: publish_docker_local + openjdk_version: "11" + install_sbt_version: "1.10.0" cmd: | sbt "scalafmtCheckAll; scalafmtSbtCheck; diff --git a/build.sbt b/build.sbt index 10fac9b4..6f527a4a 100644 --- a/build.sbt +++ b/build.sbt @@ -8,8 +8,6 @@ name := "codacy-stylelint" lazy val `doc-generator` = project.settings(libraryDependencies += "com.vladsch.flexmark" % "flexmark-all" % "0.64.8") -dockerBaseImage := "openjdk:11-jdk" - enablePlugins(JavaAppPackaging) Universal / javaOptions ++= Seq("-XX:+UseG1GC", "-XX:+UseStringDeduplication", "-XX:MaxRAMPercentage=90.0") From c37321b6e577a55c82612ae4cd473cb43e54dffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Pires?= Date: Wed, 19 Jun 2024 19:35:32 +0100 Subject: [PATCH 6/8] fix dockerfile missing files --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 559ee652..df80b500 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,17 @@ FROM node:lts-alpine3.20 WORKDIR /workdir + COPY package*.json ./ -COPY --chmod=0755 target/universal/stage/bin/codacy-stylelint ./bin/codacy-stylelint + +RUN npm install + COPY docs /docs +COPY target/universal/stage/ ./ RUN adduser -u 2004 -D docker +RUN chmod +x /workdir/bin/codacy-stylelint RUN apk --no-cache add openjdk11-jre-headless bash -RUN npm install USER docker From 078425f0af91a587888768658792082cc3469856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Pires?= Date: Fri, 21 Jun 2024 13:18:36 +0100 Subject: [PATCH 7/8] fix tests; remove deprecated stylelint-config-slds; added @stylistic/stylelint-plugin; improve README; --- README.md | 30 ++--- .../all-patterns-config/results.xml | 14 ++- .../all-patterns-config/src/.stylelintrc | 17 ++- docs/multiple-tests/no-crash/src/.stylelintrc | 5 +- .../with-config-file/results.xml | 54 ++++----- .../with-config-file/src/.stylelintrc | 71 ++++++----- package-lock.json | 113 ++++++++++-------- package.json | 11 +- .../scala/codacy/stylelint/Stylelint.scala | 4 +- 9 files changed, 177 insertions(+), 142 deletions(-) diff --git a/README.md b/README.md index 08f1fb92..3a57b58d 100644 --- a/README.md +++ b/README.md @@ -7,40 +7,42 @@ Docker engine to allow Codacy to have [stylelint](https://github.com/stylelint/s ## Usage -You can create the docker by following these steps: +Create docker: + +1. Generate tool binary -1) Generate base image: ```sh -docker build -t codacy-stylelint-base . +sbt stage ``` -2) Generate tool image: +2. Generate tool docker + ```sh -sbt docker:publishLocal +docker build -t codacy-stylelint . ``` -The docker is ran with the following command: +Run docker: ```sh docker run -it -v $srcDir:/src : ``` -## Docs - -[Tool Developer Guide](https://support.codacy.com/hc/en-us/articles/207994725-Tool-Developer-Guide) +## Generate Docs -[Tool Developer Guide - Using Scala](https://support.codacy.com/hc/en-us/articles/207280379-Tool-Developer-Guide-Using-Scala) +```sh +sbt "doc-generator/run" +``` ## Test We use the [codacy-plugins-test](https://github.com/codacy/codacy-plugins-test) to test our external tools integration. You can follow the instructions there to make sure your tool is working as expected. -## Generate Docs +## Docs -```sh -sbt "doc-generator/run" -``` +[Tool Developer Guide](https://support.codacy.com/hc/en-us/articles/207994725-Tool-Developer-Guide) + +[Tool Developer Guide - Using Scala](https://support.codacy.com/hc/en-us/articles/207280379-Tool-Developer-Guide-Using-Scala) ## What is Codacy diff --git a/docs/multiple-tests/all-patterns-config/results.xml b/docs/multiple-tests/all-patterns-config/results.xml index a1b87bac..7ff1fadc 100644 --- a/docs/multiple-tests/all-patterns-config/results.xml +++ b/docs/multiple-tests/all-patterns-config/results.xml @@ -1,9 +1,11 @@ - - - - - - + + + + + + + + diff --git a/docs/multiple-tests/all-patterns-config/src/.stylelintrc b/docs/multiple-tests/all-patterns-config/src/.stylelintrc index 465ff1af..3e8f1bf8 100644 --- a/docs/multiple-tests/all-patterns-config/src/.stylelintrc +++ b/docs/multiple-tests/all-patterns-config/src/.stylelintrc @@ -1,17 +1,24 @@ { "extends": [ + "stylelint-config-css-modules", "stylelint-config-standard", - "stylelint-config-slds" + "stylelint-config-sass-guidelines", + "stylelint-config-standard-scss", + "stylelint-config-styled-components", + "stylelint-config-tailwindcss", + "stylelint-config-twbs-bootstrap", + "stylelint-prettier/recommended" ], "plugins":[ - "stylelint-order", - "stylelint-scss", + "@stylistic/stylelint-plugin", "stylelint-declaration-strict-value", + "stylelint-no-px", + "stylelint-scss", + "stylelint-selector-bem-pattern", + "stylelint-suitcss", "stylelint-selector-bem-pattern" ], "rules": { - "scale-unlimited/declaration-strict-value": "color", - "sh-waqar/declaration-use-variable": "/color/", "plugin/selector-bem-pattern": { "componentName": "[A-Z]+", "componentSelectors": { diff --git a/docs/multiple-tests/no-crash/src/.stylelintrc b/docs/multiple-tests/no-crash/src/.stylelintrc index b1365979..835d7235 100644 --- a/docs/multiple-tests/no-crash/src/.stylelintrc +++ b/docs/multiple-tests/no-crash/src/.stylelintrc @@ -1,5 +1,8 @@ { + "plugins": [ + "@stylistic/stylelint-plugin" + ], "rules": { - "color-hex-case": "lower" + "@stylistic/color-hex-case": "lower" } } diff --git a/docs/multiple-tests/with-config-file/results.xml b/docs/multiple-tests/with-config-file/results.xml index 5a20b9b9..7a2b48e7 100644 --- a/docs/multiple-tests/with-config-file/results.xml +++ b/docs/multiple-tests/with-config-file/results.xml @@ -1,30 +1,30 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/multiple-tests/with-config-file/src/.stylelintrc b/docs/multiple-tests/with-config-file/src/.stylelintrc index 74900f13..83fd6cde 100644 --- a/docs/multiple-tests/with-config-file/src/.stylelintrc +++ b/docs/multiple-tests/with-config-file/src/.stylelintrc @@ -1,50 +1,55 @@ { - "extends": "stylelint-config-standard", + "extends": [ + "stylelint-config-standard" + ], + "plugins": [ + "@stylistic/stylelint-plugin" + ], "rules": { - "color-hex-case": "lower", + "@stylistic/block-closing-brace-empty-line-before": "never", + "@stylistic/block-closing-brace-newline-before": "always", + "block-no-empty": true, + "@stylistic/block-opening-brace-newline-after": "always", + "@stylistic/color-hex-case": "lower", "color-named": "never" , "color-no-invalid-hex": true, + "@stylistic/declaration-bang-space-after": "never", + "@stylistic/declaration-bang-space-before": "always", + "declaration-block-no-duplicate-properties": true, + "declaration-block-no-redundant-longhand-properties": true, + "declaration-block-no-shorthand-property-overrides": true, + "@stylistic/declaration-block-semicolon-newline-after": "always", + "declaration-block-single-line-max-declarations": 1, + "@stylistic/declaration-block-trailing-semicolon": "always", + "@stylistic/declaration-colon-newline-after": "always-multi-line", + "@stylistic/declaration-colon-space-after": "always", + "@stylistic/declaration-colon-space-before": "never", + "declaration-empty-line-before": "never", + "declaration-no-important": true, "font-weight-notation": "numeric", "function-calc-no-unspaced-operator": true, - "function-comma-newline-after": "never-multi-line", - "function-comma-space-after": "always", - "function-comma-space-before": "never", + "@stylistic/function-comma-newline-after": "never-multi-line", + "@stylistic/function-comma-space-after": "always", + "@stylistic/function-comma-space-before": "never", "function-linear-gradient-no-nonstandard-direction": true, "function-name-case": "lower", - "function-parentheses-newline-inside": "never-multi-line", - "function-parentheses-space-inside": "never", + "@stylistic/function-parentheses-newline-inside": "never-multi-line", + "@stylistic/function-parentheses-space-inside": "never", "function-url-scheme-disallowed-list": "data", "function-url-no-scheme-relative": true, "function-url-quotes": "always", - "function-whitespace-after": "always", - "number-leading-zero": "never", - "number-no-trailing-zeros": true, + "@stylistic/function-whitespace-after": "always", + "@stylistic/number-leading-zero": "never", + "@stylistic/number-no-trailing-zeros": true, + "@stylistic/property-case": "lower", + "property-no-unknown": true, + "shorthand-property-no-redundant-values": true, "string-no-newline": true, - "string-quotes": "single", + "@stylistic/string-quotes": "single", "time-min-milliseconds": 100, - "unit-case": "lower", + "@stylistic/unit-case": "lower", "unit-no-unknown": true, - "value-keyword-case": "lower", - "shorthand-property-no-redundant-values": true, - "property-case": "lower", - "property-no-unknown": true, - "declaration-bang-space-after": "never", - "declaration-bang-space-before": "always", - "declaration-colon-newline-after": "always-multi-line", - "declaration-colon-space-after": "always", - "declaration-colon-space-before": "never", - "declaration-empty-line-before": "never", - "declaration-no-important": true, - "declaration-block-no-duplicate-properties": true, - "declaration-block-no-redundant-longhand-properties": true, - "declaration-block-no-shorthand-property-overrides": true, - "declaration-block-semicolon-newline-after": "always", - "declaration-block-single-line-max-declarations": 1, - "declaration-block-trailing-semicolon": "always", - "block-closing-brace-empty-line-before": "never", - "block-no-empty": true, - "block-opening-brace-newline-after": "always", - "block-closing-brace-newline-before": "always" + "value-keyword-case": "lower" }, "overrides": [ { diff --git a/package-lock.json b/package-lock.json index 8e975632..1a871561 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "packages": { "": { "dependencies": { + "@stylistic/stylelint-plugin": "^2.1.2", "postcss": "^8.4.38", "postcss-less": "^6.0.0", "postcss-safe-parser": "^7.0.0", @@ -17,8 +18,7 @@ "stylelint": "^16.6.1", "stylelint-config-css-modules": "^4.4.0", "stylelint-config-sass-guidelines": "^11.1.0", - "stylelint-config-slds": "^1.0.8", - "stylelint-config-standard": "^36.0.0", + "stylelint-config-standard": "^36.0.1", "stylelint-config-standard-scss": "^13.1.0", "stylelint-config-styled-components": "^0.1.1", "stylelint-config-tailwindcss": "^0.0.7", @@ -26,9 +26,12 @@ "stylelint-declaration-strict-value": "^1.10.4", "stylelint-no-px": "^2.0.0", "stylelint-prettier": "^5.0.0", - "stylelint-scss": "^6.3.1", + "stylelint-scss": "^6.3.2", "stylelint-selector-bem-pattern": "^4.0.0", "stylelint-suitcss": "^5.0.0" + }, + "engines": { + "node": ">=20.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -380,18 +383,18 @@ } }, "node_modules/@stylistic/stylelint-plugin": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@stylistic/stylelint-plugin/-/stylelint-plugin-2.1.1.tgz", - "integrity": "sha512-xqHTmQZN7EbnFDW7jw0rAsdFNO4IRqvXhrh3qhUlIwF/x09Zm7kgs/ADktHxsTJYcw346PpGihsB0t4pZhpeHw==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@stylistic/stylelint-plugin/-/stylelint-plugin-2.1.2.tgz", + "integrity": "sha512-JsSqu0Y3vsX+PBl+DwULxC0cIv9C1yIcq1MXkx7pBOGtTqU26a75I8MPYMiEYvrsXgsKLi65xVgy1iLVSZquJA==", "dependencies": { - "@csstools/css-parser-algorithms": "^2.5.0", - "@csstools/css-tokenizer": "^2.2.3", - "@csstools/media-query-list-parser": "^2.1.7", + "@csstools/css-parser-algorithms": "^2.6.1", + "@csstools/css-tokenizer": "^2.2.4", + "@csstools/media-query-list-parser": "^2.1.9", "is-plain-object": "^5.0.0", - "postcss-selector-parser": "^6.0.15", + "postcss-selector-parser": "^6.0.16", "postcss-value-parser": "^4.2.0", "style-search": "^0.1.0", - "stylelint": "^16.2.1" + "stylelint": "^16.4.0" }, "engines": { "node": "^18.12 || >=20.9" @@ -3000,14 +3003,24 @@ } }, "node_modules/stylelint-config-recommended": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.0.tgz", - "integrity": "sha512-jSkx290CglS8StmrLp2TxAppIajzIBZKYm3IxT89Kg6fGlxbPiTiyH9PS5YUuVAFwaJLl1ikiXX0QWjI0jmgZQ==", + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.1.tgz", + "integrity": "sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/stylelint" + }, + { + "type": "github", + "url": "https://github.com/sponsors/stylelint" + } + ], "engines": { "node": ">=18.12.0" }, "peerDependencies": { - "stylelint": "^16.0.0" + "stylelint": "^16.1.0" } }, "node_modules/stylelint-config-recommended-scss": { @@ -3048,17 +3061,22 @@ "stylelint": "^16.1.0" } }, - "node_modules/stylelint-config-slds": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/stylelint-config-slds/-/stylelint-config-slds-1.0.8.tgz", - "integrity": "sha512-oqBKmbYkwPoqwJoa5xVlL4ZF6xBVQe3ZDLypA6LX7BOnvS3nmuvhXw9v61N4haR5TyaNSXl56ylWRZOVeFdgCA==" - }, "node_modules/stylelint-config-standard": { - "version": "36.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.0.tgz", - "integrity": "sha512-3Kjyq4d62bYFp/Aq8PMKDwlgUyPU4nacXsjDLWJdNPRUgpuxALu1KnlAHIj36cdtxViVhXexZij65yM0uNIHug==", + "version": "36.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.1.tgz", + "integrity": "sha512-8aX8mTzJ6cuO8mmD5yon61CWuIM4UD8Q5aBcWKGSf6kg+EC3uhB+iOywpTK4ca6ZL7B49en8yanOFtUW0qNzyw==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/stylelint" + }, + { + "type": "github", + "url": "https://github.com/sponsors/stylelint" + } + ], "dependencies": { - "stylelint-config-recommended": "^14.0.0" + "stylelint-config-recommended": "^14.0.1" }, "engines": { "node": ">=18.12.0" @@ -3182,9 +3200,9 @@ } }, "node_modules/stylelint-scss": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.3.1.tgz", - "integrity": "sha512-w/czBoWUZxJNk5fBRPODcXSN4qcPv3WHjTSSpFovVY+TE3MZTMR0yRlbmaDYrm8tTWHvpwQAuEBZ0lk2wwkboQ==", + "version": "6.3.2", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.3.2.tgz", + "integrity": "sha512-pNk9mXOVKkQtd+SROPC9io8ISSgX+tOVPhFdBE+LaKQnJMLdWPbGKAGYv4Wmf/RrnOjkutunNTN9kKMhkdE5qA==", "dependencies": { "known-css-properties": "^0.31.0", "postcss-media-query-parser": "^0.2.3", @@ -4043,18 +4061,18 @@ } }, "@stylistic/stylelint-plugin": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@stylistic/stylelint-plugin/-/stylelint-plugin-2.1.1.tgz", - "integrity": "sha512-xqHTmQZN7EbnFDW7jw0rAsdFNO4IRqvXhrh3qhUlIwF/x09Zm7kgs/ADktHxsTJYcw346PpGihsB0t4pZhpeHw==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@stylistic/stylelint-plugin/-/stylelint-plugin-2.1.2.tgz", + "integrity": "sha512-JsSqu0Y3vsX+PBl+DwULxC0cIv9C1yIcq1MXkx7pBOGtTqU26a75I8MPYMiEYvrsXgsKLi65xVgy1iLVSZquJA==", "requires": { - "@csstools/css-parser-algorithms": "^2.5.0", - "@csstools/css-tokenizer": "^2.2.3", - "@csstools/media-query-list-parser": "^2.1.7", + "@csstools/css-parser-algorithms": "^2.6.1", + "@csstools/css-tokenizer": "^2.2.4", + "@csstools/media-query-list-parser": "^2.1.9", "is-plain-object": "^5.0.0", - "postcss-selector-parser": "^6.0.15", + "postcss-selector-parser": "^6.0.16", "postcss-value-parser": "^4.2.0", "style-search": "^0.1.0", - "stylelint": "^16.2.1" + "stylelint": "^16.4.0" } }, "@types/json-schema": { @@ -5969,9 +5987,9 @@ } }, "stylelint-config-recommended": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.0.tgz", - "integrity": "sha512-jSkx290CglS8StmrLp2TxAppIajzIBZKYm3IxT89Kg6fGlxbPiTiyH9PS5YUuVAFwaJLl1ikiXX0QWjI0jmgZQ==", + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.1.tgz", + "integrity": "sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==", "requires": {} }, "stylelint-config-recommended-scss": { @@ -5993,17 +6011,12 @@ "stylelint-scss": "^6.2.1" } }, - "stylelint-config-slds": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/stylelint-config-slds/-/stylelint-config-slds-1.0.8.tgz", - "integrity": "sha512-oqBKmbYkwPoqwJoa5xVlL4ZF6xBVQe3ZDLypA6LX7BOnvS3nmuvhXw9v61N4haR5TyaNSXl56ylWRZOVeFdgCA==" - }, "stylelint-config-standard": { - "version": "36.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.0.tgz", - "integrity": "sha512-3Kjyq4d62bYFp/Aq8PMKDwlgUyPU4nacXsjDLWJdNPRUgpuxALu1KnlAHIj36cdtxViVhXexZij65yM0uNIHug==", + "version": "36.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-36.0.1.tgz", + "integrity": "sha512-8aX8mTzJ6cuO8mmD5yon61CWuIM4UD8Q5aBcWKGSf6kg+EC3uhB+iOywpTK4ca6ZL7B49en8yanOFtUW0qNzyw==", "requires": { - "stylelint-config-recommended": "^14.0.0" + "stylelint-config-recommended": "^14.0.1" } }, "stylelint-config-standard-scss": { @@ -6072,9 +6085,9 @@ } }, "stylelint-scss": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.3.1.tgz", - "integrity": "sha512-w/czBoWUZxJNk5fBRPODcXSN4qcPv3WHjTSSpFovVY+TE3MZTMR0yRlbmaDYrm8tTWHvpwQAuEBZ0lk2wwkboQ==", + "version": "6.3.2", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.3.2.tgz", + "integrity": "sha512-pNk9mXOVKkQtd+SROPC9io8ISSgX+tOVPhFdBE+LaKQnJMLdWPbGKAGYv4Wmf/RrnOjkutunNTN9kKMhkdE5qA==", "requires": { "known-css-properties": "^0.31.0", "postcss-media-query-parser": "^0.2.3", diff --git a/package.json b/package.json index eced951e..9beb9603 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,16 @@ { + "engines": { + "node": ">=20.0.0" + }, "scripts": { - "build:docker": "docker build -t codacy-stylelint-base .", + "build:docker": "docker build -t codacy-stylelint .", "build:docs": "sbt doc-generator/run", - "test": "sbt scalafmtCheckAll scalafmtSbtCheck doc-generator/run stage", + "test": "sbt 'scalafmtCheckAll scalafmtSbtCheck doc-generator/run stage'", "preupgrade": "npx npm-check-updates -u", - "upgrade": "npm install --omit=dev" + "upgrade": "npm install" }, "dependencies": { + "@stylistic/stylelint-plugin": "^2.1.2", "postcss": "^8.4.38", "postcss-less": "^6.0.0", "postcss-safe-parser": "^7.0.0", @@ -19,7 +23,6 @@ "stylelint": "^16.6.1", "stylelint-config-css-modules": "^4.4.0", "stylelint-config-sass-guidelines": "^11.1.0", - "stylelint-config-slds": "^1.0.8", "stylelint-config-standard": "^36.0.0", "stylelint-config-standard-scss": "^13.1.0", "stylelint-config-styled-components": "^0.1.1", diff --git a/src/main/scala/codacy/stylelint/Stylelint.scala b/src/main/scala/codacy/stylelint/Stylelint.scala index 5d6dd9f2..b0689729 100644 --- a/src/main/scala/codacy/stylelint/Stylelint.scala +++ b/src/main/scala/codacy/stylelint/Stylelint.scala @@ -104,7 +104,8 @@ object Stylelint extends Tool { def parseCommandResult(commandResult: Try[CommandResult], targetFiles: List[String]): Try[List[StylelintResult]] = { commandResult.flatMap { - case CommandResult(ExitCodes.NO_ISSUES | ExitCodes.DETECTED_ISSUES, stdOut, _) => parseJson(stdOut) + case CommandResult(ExitCodes.NO_ISSUES | ExitCodes.DETECTED_ISSUES, _, results) => + parseJson(results) case CommandResult(exitCode, stdOut, stdErr) => val toolErrorMessage = s"""Stylelint exited with code ${printExitCode(exitCode)} @@ -132,7 +133,6 @@ object Stylelint extends Tool { val errorString = s"""Could not parse results json: |$jsonString - |$jsonLines | |Exception: ${err.getMessage} """.stripMargin From 7f6016a059e047259ec973dfb3c10f95886c802d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Pires?= Date: Fri, 21 Jun 2024 14:46:04 +0100 Subject: [PATCH 8/8] fix codeowners --- .github/CODEOWNERS | 6 +++++- .github/dependabot.yml | 7 ------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0ae339e4..5939988e 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1,5 @@ -* @codacy/toss +# This is a CODEOWNERS file. +# The lines below specify the code owners responsible for various parts of the repository. +# Each line is a file pattern followed by one or more owners. + +* @codacy/macgyvers diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 05e64c53..622c1855 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,10 +6,3 @@ updates: interval: daily timezone: Europe/Lisbon open-pull-requests-limit: 10 - ignore: - - dependency-name: stylelint-config-standard - versions: - - 21.0.0 - - dependency-name: stylelint-config-recommended - versions: - - 4.0.0