Skip to content

Commit

Permalink
add stylelint-value-no-unknown-custom-properties
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Mar 24, 2024
1 parent f49efa4 commit 2ca83e7
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .stylelintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins:
- stylelint-declaration-strict-value
- stylelint-declaration-block-no-ignored-properties
- stylelint-value-no-unknown-custom-properties
- "@stylistic/stylelint-plugin"

ignoreFiles:
Expand Down Expand Up @@ -114,6 +115,7 @@ rules:
comment-pattern: null
comment-whitespace-inside: null
comment-word-disallowed-list: null
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]]
custom-media-pattern: null
custom-property-empty-line-before: null
custom-property-no-missing-var-function: true
Expand Down
17 changes: 17 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
"stylelint": "16.2.1",
"stylelint-declaration-block-no-ignored-properties": "2.8.0",
"stylelint-declaration-strict-value": "1.10.4",
"stylelint-value-no-unknown-custom-properties": "6.0.1",
"svgo": "3.2.0",
"updates": "15.3.1",
"vite-string-plugin": "1.1.5",
Expand Down

0 comments on commit 2ca83e7

Please sign in to comment.