summaryrefslogtreecommitdiffstats
path: root/.stylelintrc
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-11-11 02:52:16 +0100
committerGitHub <noreply@github.com>2021-11-11 09:52:16 +0800
commit433e81aecf0325163292c3d0a732a5d80d25dc84 (patch)
treee4e5f0c1cb2a550f97dc8ac1cc738999115444ab /.stylelintrc
parent0e189eecaaedc4e2c6ee13882c7b76645af50ccd (diff)
downloadgitea-433e81aecf0325163292c3d0a732a5d80d25dc84.tar.gz
gitea-433e81aecf0325163292c3d0a732a5d80d25dc84.zip
Update JS dependencies (#17611)
- Update monaco, adapting to breaking changes - Update dropzone, adapting to breaking changes - Update linters, fix new issues, disable opinionated stylelint rules - Rebuild SVGs and images - Tested Dropzone and Monaco Replaces: https://github.com/go-gitea/gitea/pull/17574
Diffstat (limited to '.stylelintrc')
-rw-r--r--.stylelintrc17
1 files changed, 16 insertions, 1 deletions
diff --git a/.stylelintrc b/.stylelintrc
index 42c45f0ea7..df9e269c50 100644
--- a/.stylelintrc
+++ b/.stylelintrc
@@ -1,16 +1,31 @@
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
+ 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
- no-invalid-position-at-import-rule: null
+ string-quotes: null
+ value-no-vendor-prefix: null