summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-12-03 22:43:14 -0800
committerGitHub <noreply@github.com>2021-12-04 14:43:14 +0800
commitf7094c81617f4e826f49f6835b3da68e5c4a58fe (patch)
treeaa9b974512ec9786722525829ba03cd11cd11af1 /build
parentc7c723c5482e5278b13c2b72ce34907d240ed284 (diff)
downloadgitea-f7094c81617f4e826f49f6835b3da68e5c4a58fe.tar.gz
gitea-f7094c81617f4e826f49f6835b3da68e5c4a58fe.zip
Update JS dependencies, adjust eslint config (#17904)
- Update all JS dependencies to latest versions - Add new lint rules, enable es2022 eslint parser features - Disable github/no-then, I feel the rule was too restricting
Diffstat (limited to 'build')
-rwxr-xr-xbuild/generate-images.js2
-rwxr-xr-xbuild/generate-svg.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/generate-images.js b/build/generate-images.js
index ab4073dfcc..b8284b1be2 100755
--- a/build/generate-images.js
+++ b/build/generate-images.js
@@ -80,5 +80,5 @@ async function main() {
]);
}
-main().then(exit).catch(exit); // eslint-disable-line github/no-then
+main().then(exit).catch(exit);
diff --git a/build/generate-svg.js b/build/generate-svg.js
index 53ec000d12..29b7d47693 100755
--- a/build/generate-svg.js
+++ b/build/generate-svg.js
@@ -54,5 +54,5 @@ async function main() {
]);
}
-main().then(exit).catch(exit); // eslint-disable-line github/no-then
+main().then(exit).catch(exit);