Disable Eslint in NuxtJS

2.4k Views Asked by At

I want to disable eslint for nuxt while i am writing some feature beacuase it's always annoying to take care of spaces & indentations.

How can i disable eslint in nuxt.config.js and turn on back later ?

1

There are 1 best solutions below

0
On

Nuxt3: Remove eslintPlugin() (or whatever you import from 'vite-plugin-eslint') from vite.plugins in nuxt.config.js.

Nuxt2: Remove '@nuxtjs/eslint-module' from buildModules in nuxt.config.js.