Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Warn for fixable issues #81

Open
MarcelloTheArcane opened this issue Jan 14, 2020 · 2 comments
Open

Warn for fixable issues #81

MarcelloTheArcane opened this issue Jan 14, 2020 · 2 comments

Comments

@MarcelloTheArcane
Copy link

Currently nuxt/recommended throws errors for fixable issues.

I think it should instead throw a warning, so development can continue. Errors should only be for problems that affect compilation.

@clarkdo
Copy link
Member

clarkdo commented Jan 17, 2020

I think this behaviour may come from eslint-module and eslint-loader, you can try options failOnWarning or fix to skip or auto-fix the error.

@doylerules85
Copy link

Was running into this too and did some digging.

I added this to my nuxt.config.js

 eslint: {
    fix: true,
  },

and it fixed a lot of the fix errors i was getting...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants