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:
silverwind 2021-10-19 09:23:58 +02:00 committed by GitHub
parent e2a59c57fc
commit eaf493be5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 4447 additions and 11538 deletions

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,