Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable a few stylelint rules #30038

Merged
merged 3 commits into from
Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add stylelint-value-no-unknown-custom-properties
  • Loading branch information
silverwind committed Mar 24, 2024
commit 2ca83e7446932669e2d66c68e22db055f75c81d7
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
Loading