summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-03-29 21:32:35 +0100
committerGitHub <noreply@github.com>2024-03-29 20:32:35 +0000
commitf31a88d3cb64106e75bbe8a3502856db71dbacfc (patch)
tree938ab331a5c253fcfd37c7dbbdbcf0b61a5d4d7c /.github
parent42870cf40278e84024ccea41368312451f79a4d6 (diff)
downloadgitea-f31a88d3cb64106e75bbe8a3502856db71dbacfc.tar.gz
gitea-f31a88d3cb64106e75bbe8a3502856db71dbacfc.zip
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.
Diffstat (limited to '.github')
-rw-r--r--.github/labeler.yml2
-rw-r--r--.github/workflows/files-changed.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/labeler.yml b/.github/labeler.yml
index 980b9c337c..4acdb6f6f5 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -53,7 +53,7 @@ modifies/internal:
- ".gitpod.yml"
- ".markdownlint.yaml"
- ".spectral.yaml"
- - ".stylelintrc.yaml"
+ - "stylelint.config.js"
- ".yamllint.yaml"
- ".github/**"
- ".gitea/"
diff --git a/.github/workflows/files-changed.yml b/.github/workflows/files-changed.yml
index b8535cb42b..9a609e0551 100644
--- a/.github/workflows/files-changed.yml
+++ b/.github/workflows/files-changed.yml
@@ -58,7 +58,7 @@ jobs:
- "package-lock.json"
- "Makefile"
- ".eslintrc.yaml"
- - ".stylelintrc.yaml"
+ - "stylelint.config.js"
- ".npmrc"
docs: