eslint .
take longer time than a list of files
#5839
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
question
This issue asks a question about ESLint
What version of ESLint are you using?
2.6.0
What parser (default, Babel-ESLint, etc.) are you using?
default
Please show your full configuration:
.eslintrc
(I think my config is not related so I minify it to avoid clutter)
.eslintignore
What did you do? Please include the actual source code causing the issue.
My app is a keystone website, it is just created from a yeoman generator, so its structure will be exactly like this demo with eslint configs at the root of the repository.
Then I run the CLI command:
eslint .
What did you expect to happen?
It should be fast (< 2s) as there are very few JS files to process.
What actually happened? Please include the actual, raw output from ESLint.
It took much longer (~10s) on my Macbook Air SSD.
Here's debug output:
When I tried running the command with a list of folders and files instead of the dot (./), it take really fast. For example, I can lint all my JS files with this command instead:
The text was updated successfully, but these errors were encountered: