Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(web): Update dependencies 2024-09-16 (#1612)
Update web dependencies to their latest versions via `npm update` and `npm install package-name@latest` when needed. ## Additional notes * ESLint has been updated to the latest v9. To do so, _eslint-config-standard_ plugins were replaced by [_neostandard_](https://github.com/neostandard/neostandard). See b447bc2 and 5433c00 * Now, the ESLint configuration lives at _eslint.config.mjs_. See ESLint migration guide https://eslint.org/docs/latest/use/migrate-to-9.0.0 * Linters check now (?) TypeScript files * A lot of linters complaints has been fixed. See commit by commit if interested. * **As a result of the migration, two icons were removed**. One of them was actually not in use. To know more see a5c43a0 ### Special mention for 89214a7 As you can see in linked commit, the `useVolumeTemplates` query hook has changed significantly when fixing linters complaints. It was using a hook conditionally, breaking the `Do not call Hooks after a conditional return statement.` [rule of hooks](https://react.dev/reference/rules/rules-of-hooks). Although the change was done following the [TanStack Query documentation](https://tanstack.com/query/v5/docs/framework/react/guides/dependent-queries#usequeries-dependent-query), it has been manually tested too in order to check that everything works as expected when `useProductParams` returns `undefined`. And, apparently, it works: the `Add filesystem` button became disable. ## A quote > the ESLint plugin ecosystem is getting harder and harder to maintain, > and things get worse during major version upgrades — read in a [comment at eslint-pluign-import](import-js/eslint-plugin-import#2948 (comment)) --- Previous update: #1184
- Loading branch information