I'm trying to implement eslint
in a Next.js
project.The file structure look like below
.eslintignore
.eslintrc.js
.next
.prettierrc
.stylelintrc.js
components
forms
modals
modules
node_modules
And I have node_modules/*
in my .eslintignore
file. When I try to lint these by eslint --fix /sources/**/*.js
I am getting below error
You are linting "/sources/node_modules/ally.js", but all of the files matching the glob pattern "/sources/node_modules/ally.js" are ignored.
Anyone can help me to solve this? Thanks