aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc
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 /.eslintrc
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 '.eslintrc')
-rw-r--r--.eslintrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
index 898288e6d5..30f5aceb64 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -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]
@@ -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]