Skip to content

Commit

Permalink
Update JS dependencies (go-gitea#17611)
Browse files Browse the repository at this point in the history
- 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: go-gitea#17574
  • Loading branch information
silverwind authored and Stelios Malathouras committed Mar 28, 2022
1 parent 2095189 commit be844c6
Show file tree
Hide file tree
Showing 10 changed files with 1,426 additions and 3,222 deletions.
2 changes: 2 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ rules:
unicorn/no-array-push-push: [2]
unicorn/no-console-spaces: [0]
unicorn/no-document-cookie: [2]
unicorn/no-empty-file: [2]
unicorn/no-fn-reference-in-iterator: [0]
unicorn/no-for-loop: [0]
unicorn/no-hex-escape: [0]
Expand Down Expand Up @@ -404,6 +405,7 @@ rules:
unicorn/prefer-date-now: [2]
unicorn/prefer-default-parameters: [0]
unicorn/prefer-event-key: [2]
unicorn/prefer-export-from: [2]
unicorn/prefer-includes: [2]
unicorn/prefer-math-trunc: [2]
unicorn/prefer-modern-dom-apis: [0]
Expand Down
17 changes: 16 additions & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit be844c6

Please sign in to comment.