Closed mraak closed 5 years ago
Hi - this isn't an issue with babel-eslint. ESLint is only linting src/index.js
because you're explicitly telling it to only lint that file. If you want to lint all files in the src/
directory you'll want to run ./node_modules/.bin/eslint src
.
Check out ESLint's documentation for more details.
I'm following a basic tutorial in the readme. I have the following source code:
/src -lib.js -index.js -eslintrc.js
eslintrc.js
index.js
lib.js
When I ran
./node_modules/.bin/eslint .\src\index.js
I expected the errors would be reported from all the files and marked in which file it was, but it is only reporting from index.js. How do I need to set this up for multi file checking where the imports are recognized which files need checking?