summaryrefslogtreecommitdiffstats
path: root/.stylelintrc.yaml
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-05-23 15:54:21 +0200
committerGitHub <noreply@github.com>2023-05-23 13:54:21 +0000
commita9d417341c2e27df3fec2946dddbf30384734d64 (patch)
tree2cbd48aaab84685e1d9eb6c4c64877da3525cf54 /.stylelintrc.yaml
parent116066ecfa6ff3c3f14f68172adbd8798b633c3c (diff)
downloadgitea-a9d417341c2e27df3fec2946dddbf30384734d64.tar.gz
gitea-a9d417341c2e27df3fec2946dddbf30384734d64.zip
Run stylelint on .vue files (#24865)
- Run stylelint on .vue files - Fix discovered issues - Suppress warning spam from `declaration-strict-value` rule Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to '.stylelintrc.yaml')
-rw-r--r--.stylelintrc.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.stylelintrc.yaml b/.stylelintrc.yaml
index 7dad9d0594..a9854de4e8 100644
--- a/.stylelintrc.yaml
+++ b/.stylelintrc.yaml
@@ -11,6 +11,8 @@ overrides:
- files: ["**/chroma/*", "**/codemirror/*"]
rules:
block-no-empty: null
+ - files: ["**/*.vue"]
+ customSyntax: postcss-html
rules:
alpha-value-notation: null
@@ -96,7 +98,7 @@ rules:
property-no-vendor-prefix: null
rule-empty-line-before: null
rule-selector-property-disallowed-list: null
- scale-unlimited/declaration-strict-value: [[color, background-color, border-color, font-weight], {ignoreValues: /^(inherit|transparent|unset|initial|currentcolor|none)$/, ignoreFunctions: false}]
+ scale-unlimited/declaration-strict-value: [[color, background-color, border-color, font-weight], {ignoreValues: /^(inherit|transparent|unset|initial|currentcolor|none)$/, ignoreFunctions: false, disableFix: true}]
selector-attribute-name-disallowed-list: null
selector-attribute-operator-allowed-list: null
selector-attribute-operator-disallowed-list: null