Skip to content

Commit f31a88d

Browse files
authored
Add stylelint-value-no-unknown-custom-properties and convert stylelint config to js (#30117)
Add [`stylelint-value-no-unknown-custom-properties`](https://github.com/csstools/stylelint-value-no-unknown-custom-properties) which lints for undefined CSS variables. No current violations. To make it work properly with editor integrations, I had to convert the config to JS to be able to pass absolute paths to the plugin, but this is a needed change anyways.
1 parent 42870cf commit f31a88d

File tree

6 files changed

+265
-225
lines changed

6 files changed

+265
-225
lines changed

.github/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ modifies/internal:
5353
- ".gitpod.yml"
5454
- ".markdownlint.yaml"
5555
- ".spectral.yaml"
56-
- ".stylelintrc.yaml"
56+
- "stylelint.config.js"
5757
- ".yamllint.yaml"
5858
- ".github/**"
5959
- ".gitea/"

.github/workflows/files-changed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- "package-lock.json"
5959
- "Makefile"
6060
- ".eslintrc.yaml"
61-
- ".stylelintrc.yaml"
61+
- "stylelint.config.js"
6262
- ".npmrc"
6363
6464
docs:

.stylelintrc.yaml

Lines changed: 0 additions & 223 deletions
This file was deleted.

package-lock.json

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"stylelint": "16.3.0",
9191
"stylelint-declaration-block-no-ignored-properties": "2.8.0",
9292
"stylelint-declaration-strict-value": "1.10.4",
93+
"stylelint-value-no-unknown-custom-properties": "6.0.1",
9394
"svgo": "3.2.0",
9495
"updates": "16.0.0",
9596
"vite-string-plugin": "1.1.5",

0 commit comments

Comments
 (0)