Update npm packages (linting/testing/formatting)

- Update various linting packages to align with their latest versions, including fixes.
- Update Prettier to version 3 & remove the need for trailingComma: all (this is now the default), adopt formatting changes
- Sync up Jest types with the Jest version used (missed in previous Jest upgrade) #10043 / #10598
pull/10738/head
LB Johnston 2023-08-02 08:29:10 +10:00 zatwierdzone przez LB (Ben Johnston)
rodzic 46905db76e
commit 614defa6f9
3 zmienionych plików z 1568 dodań i 2156 usunięć

3707
package-lock.json wygenerowano

Plik diff jest za duży Load Diff

Wyświetl plik

@ -63,13 +63,13 @@
"@storybook/react": "^6.4.19",
"@types/autosize": "^4.0.1",
"@types/draft-js": "^0.10.45",
"@types/jest": "^26.0.24",
"@types/jquery": "^3.5.14",
"@types/jest": "^29.5.3",
"@types/jquery": "^3.5.16",
"@types/react": "^16.14.21",
"@types/react-dom": "^16.0",
"@types/react-redux": "^7.1.20",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.0",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"@wagtail/eslint-config-wagtail": "^0.4.0",
"@wagtail/stylelint-config-wagtail": "^0.5.0",
"autoprefixer": "^10.4.2",
@ -80,15 +80,15 @@
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.7",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.5.0",
"eslint": "^8.46.0",
"expose-loader": "^3.1.0",
"gettext-extractor": "^3.5.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "29.5.0",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"mini-css-extract-plugin": "^2.4.5",
"postcss": "^8.4.7",
"postcss-loader": "^6.2.1",
"prettier": "^2.5.1",
"prettier": "^3.0.0",
"react-test-renderer": "^16.14.0",
"redux-mock-store": "^1.3.0",
"sass": "^1.45.1",

Wyświetl plik

@ -14,5 +14,4 @@ module.exports = {
quoteProps: 'consistent',
semi: true,
singleQuote: true,
trailingComma: 'all',
};