aboutsummaryrefslogtreecommitdiffstats
path: root/.stylelintrc.yaml
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-06-24 14:09:53 +0200
committerGitHub <noreply@github.com>2022-06-24 14:09:53 +0200
commit48ef12b27cde7757f33ec54df7bb40094b301e49 (patch)
tree513407e5aca630b22c591b19dde04f689267bbe8 /.stylelintrc.yaml
parent4909493a9f75ad188f044b8577e7357f122fb445 (diff)
downloadgitea-48ef12b27cde7757f33ec54df7bb40094b301e49.tar.gz
gitea-48ef12b27cde7757f33ec54df7bb40094b301e49.zip
Move eslintrc/stylelintrc to non-deprecated extensions (#20110)
Diffstat (limited to '.stylelintrc.yaml')
-rw-r--r--.stylelintrc.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.stylelintrc.yaml b/.stylelintrc.yaml
new file mode 100644
index 0000000000..9bad55d371
--- /dev/null
+++ b/.stylelintrc.yaml
@@ -0,0 +1,32 @@
+extends: stylelint-config-standard
+
+overrides:
+ - files: ["**/*.less"]
+ customSyntax: postcss-less
+
+rules:
+ alpha-value-notation: null
+ at-rule-empty-line-before: null
+ block-closing-brace-empty-line-before: null
+ color-function-notation: null
+ color-hex-length: null
+ comment-empty-line-before: null
+ declaration-block-no-redundant-longhand-properties: null
+ declaration-block-single-line-max-declarations: null
+ declaration-empty-line-before: null
+ function-no-unknown: null
+ hue-degree-notation: null
+ indentation: 2
+ max-line-length: null
+ no-descending-specificity: null
+ no-invalid-position-at-import-rule: null
+ number-leading-zero: never
+ number-max-precision: null
+ property-no-vendor-prefix: null
+ rule-empty-line-before: null
+ selector-class-pattern: null
+ selector-id-pattern: null
+ selector-pseudo-element-colon-notation: double
+ shorthand-property-no-redundant-values: true
+ string-quotes: null
+ value-no-vendor-prefix: null