ESLint v9? #17794
-
|
What is the current state and recommended convention for eslint configuration in Quasar? Recently I tried bumping esling to version 9 but it doesn't seem to be compatible with standard In fact it works fine but I'm curious if there's some recommended way to address that. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
If we let aside Quasar, upgrading from ESLint v8 to v9 isn't simple, mostly due to going from eslintrc(e.g. As for the Quasar side, if you create a new project and choose app-vite v2 or app-webpack v4, it will use ESLint v9. If you want to upgrade your existing project, you can create a new project and try to make your existing linting setup similar to it. |
Beta Was this translation helpful? Give feedback.
If we let aside Quasar, upgrading from ESLint v8 to v9 isn't simple, mostly due to going from eslintrc(e.g.
.eslintrc.js) to flat config (e.g.eslint.config.js). https://eslint.org/docs/latest/use/migrate-to-9.0.0So, you need to update everything accordingly.
As for the Quasar side, if you create a new project and choose app-vite v2 or app-webpack v4, it will use ESLint v9. If you want to upgrade your existing project, you can create a new project and try to make your existing linting setup similar to it.