nuxt-modules / eslint

ESLint module for Nuxt.js
MIT License
159 stars 15 forks source link

No linter errors when build project #63

Closed evd3v closed 2 years ago

evd3v commented 3 years ago

Hello!

I have installed @nuxtjs/eslint-module@3.0.2, with config eslint: { lintDirtyModulesOnly: false, cache: false, failOnError: true }

When I call nuxt dev (with eslint problems in project) - errors appears in console and it blocks application. However, when I call nuxt build - there are no problems and build makes success.

I need to prevent success build when eslint errors are exists. How can I do that?

evd3v commented 3 years ago

Also, lint errors in nuxt.config.js file are ignored.

ricardogobbosouza commented 2 years ago

Hi @evd3v See https://github.com/nuxt-community/eslint-module/issues/60#issuecomment-919448303