Update JS dependencies (#17357)

* Update JS dependencies

- Upgrade to eslint 8 and add new plugin rules
- Adapt to various API changes
- Rebuild SVGs

* fix webpack warning on license

* order options alphabetically

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
silverwindandLunny Xiao authored and GitHub committed 2021-10-19 15:23:58 +08:00
1 parent e2a59c57fc
commit eaf493be5d
13 files changed
+4447 -11538

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
export default {
rootDir: 'web_src',
setupFilesAfterEnv: ['jest-extended'],
setupFilesAfterEnv: ['jest-extended/all'],
testEnvironment: 'jsdom',
testMatch: ['<rootDir>/**/*.test.js'],
testTimeout: 20000,