#Is it possible to enable eslint after a project has been created using vite?

1 messages · Page 1 of 1 (latest)

foggy scarab
#

Hello, quick question, I use vite to scaffold a vue project for me. But I didn't enable eslint at that time and now I want to enable it. Is there a way to do it please.

(Also, can eslint be a global tool, like a vscode extension or it's something tied to a bundler)?

naive otter
#

No. Eslint just lints your development code. It is very distinct from a bundler

#

Any standard way to set up Eslint should work (the eslint docs should probably give you the steps). As far as I know, Vite isn't opinionated about eslint