Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Eslint in NuxtJS

Tags:

nuxt.js

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 ?

like image 965
power-cut Avatar asked Dec 10 '25 03:12

power-cut


1 Answers

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.

like image 102
floriankapaun Avatar answered Dec 13 '25 00:12

floriankapaun



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!