diff options
author | silverwind <me@silverwind.io> | 2024-03-29 21:32:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-29 20:32:35 +0000 |
commit | f31a88d3cb64106e75bbe8a3502856db71dbacfc (patch) | |
tree | 938ab331a5c253fcfd37c7dbbdbcf0b61a5d4d7c /package-lock.json | |
parent | 42870cf40278e84024ccea41368312451f79a4d6 (diff) | |
download | gitea-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 'package-lock.json')
-rw-r--r-- | package-lock.json | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package-lock.json b/package-lock.json index 25fe14e1a6..21de79387f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -91,6 +91,7 @@ "stylelint": "16.3.0", "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": "16.0.0", "vite-string-plugin": "1.1.5", @@ -10867,6 +10868,22 @@ "stylelint": ">=7 <=16" } }, + "node_modules/stylelint-value-no-unknown-custom-properties": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/stylelint-value-no-unknown-custom-properties/-/stylelint-value-no-unknown-custom-properties-6.0.1.tgz", + "integrity": "sha512-N60PTdaTknB35j6D4FhW0GL2LlBRV++bRpXMMldWMQZ240yFQaoltzlLY4lXXs7Z0J5mNUYZQ/gjyVtU2DhCMA==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0", + "resolve": "^1.22.8" + }, + "engines": { + "node": ">=18.12.0" + }, + "peerDependencies": { + "stylelint": ">=16" + } + }, "node_modules/stylelint/node_modules/ansi-regex": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", |