you can make a .eslintignore
file in project folder
and add code like this .. (this for my setting just for reference )
.eslintignore
# js vendor file with import/require
assets/vendor/**
# static vendor file . use with nuxt.config.js script
static/**
# dependencies
node_modules
# Nuxt build
.nuxt
# Nuxt generate
dist
and if you have use yarn run lint
please modify to
package.json
"lint": "eslint --ext .js,.vue --ignore-path .eslintignore .",
Any plans to roll this into a version? Would be useful, linter freaked out when I added a plugin and linted the Tapable library, found errors.
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.
Most helpful comment
you can make a
.eslintignore
file in project folderand add code like this .. (this for my setting just for reference )
.eslintignore
and if you have use
yarn run lint
please modify topackage.json