Nuxt.js: How can I always run lint on nuxt?

Created on 21 Mar 2018  路  3Comments  路  Source: nuxt/nuxt.js

HI.

The lint command is prepared for the project created by "vue init nuxt / starter".
When developing with the dev command, I want to apply es-lint every time I save the file.
Is there a smart way to achieve this flow?

Could anyone help me?
Thanks.

This question is available on Nuxt.js community (#c2667)

Most helpful comment

Yes! It is possible using fix option. (Credits goes to @Tabrizian for this find :D)

Another option is using ESLint integration with your IDE and run lint on each file save...

All 3 comments

Yes! It is possible using fix option. (Credits goes to @Tabrizian for this find :D)

Another option is using ESLint integration with your IDE and run lint on each file save...

It's great.
Thank you for giving me the perfect answer soon :)

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vadimsg picture vadimsg  路  3Comments

maicong picture maicong  路  3Comments

danieloprado picture danieloprado  路  3Comments

jaredreich picture jaredreich  路  3Comments

o-alexandrov picture o-alexandrov  路  3Comments