Skip to content

Commit 2ca83e7

Browse files
committed
add stylelint-value-no-unknown-custom-properties
1 parent f49efa4 commit 2ca83e7

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

.stylelintrc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins:
22
- stylelint-declaration-strict-value
33
- stylelint-declaration-block-no-ignored-properties
4+
- stylelint-value-no-unknown-custom-properties
45
- "@stylistic/stylelint-plugin"
56

67
ignoreFiles:
@@ -114,6 +115,7 @@ rules:
114115
comment-pattern: null
115116
comment-whitespace-inside: null
116117
comment-word-disallowed-list: null
118+
csstools/value-no-unknown-custom-properties: [true, importFrom: [web_src/css/base.css, web_src/css/themes/theme-gitea-light.css, web_src/css/themes/theme-gitea-dark.css]]
117119
custom-media-pattern: null
118120
custom-property-empty-line-before: null
119121
custom-property-no-missing-var-function: true

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.2.1",
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": "15.3.1",
9596
"vite-string-plugin": "1.1.5",

0 commit comments

Comments
 (0)