diff options
author | silverwind <me@silverwind.io> | 2021-12-03 22:43:14 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-04 14:43:14 +0800 |
commit | f7094c81617f4e826f49f6835b3da68e5c4a58fe (patch) | |
tree | aa9b974512ec9786722525829ba03cd11cd11af1 /build | |
parent | c7c723c5482e5278b13c2b72ce34907d240ed284 (diff) | |
download | gitea-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-x | build/generate-images.js | 2 | ||||
-rwxr-xr-x | build/generate-svg.js | 2 |
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); |