From f7094c81617f4e826f49f6835b3da68e5c4a58fe Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 3 Dec 2021 22:43:14 -0800 Subject: 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 --- build/generate-images.js | 2 +- build/generate-svg.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'build') 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); -- cgit v1.2.3