summaryrefslogtreecommitdiffstats
path: root/.eslintrc
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-04-01 02:15:46 +0200
committerGitHub <noreply@github.com>2022-04-01 02:15:46 +0200
commit1eb0da58c399d35397d75c07b2fe41dd63aba3b4 (patch)
tree7780339f361a857d6778a45729418c3d927418c4 /.eslintrc
parent08d199245ade5f1c4e0898cfe67f3b635a287675 (diff)
downloadgitea-1eb0da58c399d35397d75c07b2fe41dd63aba3b4.tar.gz
gitea-1eb0da58c399d35397d75c07b2fe41dd63aba3b4.zip
Update JS dependencies (#19281)
- Upgrade all JS dependencies minus vue and vue-loader - Adapt to breaking change of octicons - Update eslint rules - Tested Swagger UI, sortablejs and prod build
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc
index 6de0c1f9fa..77d9dc1228 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -280,7 +280,7 @@ rules:
no-unused-expressions: [2]
no-unused-labels: [2]
no-unused-private-class-members: [2]
- no-unused-vars: [2, {args: all, argsIgnorePattern: ^_, varsIgnorePattern: ^_, caughtErrorsIgnorePattern: ^_, ignoreRestSiblings: false}]
+ no-unused-vars: [2, {args: all, argsIgnorePattern: ^_, varsIgnorePattern: ^_, caughtErrorsIgnorePattern: ^_, destructuredArrayIgnorePattern: ^_, ignoreRestSiblings: false}]
no-use-before-define: [2, nofunc]
no-useless-backreference: [0]
no-useless-call: [2]