Linting
This page links to all resources needed to set up linting and formatting in all used editors and project types.
Editor Setup
Visual Studio Code
Atom
WebStorm
Sublime Text
Project Setup
Nuxt Projects
- It is recommended to use the
nuxt-wizard
CLI tool to set up your Nuxt projects. If you select theeslint
andprettier
options, everything will be set up automatically. - If you haven’t used
nuxt-wizard
for your project set up, consult the ESLint and Prettier section of the Nuxt documentation.
Vue Projects
- Use the ESLint and Prettier section of the Nuxt documentation as the setup is identical for Vue projects.
Other Projects
Copy the following two files to your project’s root directory: