jscs-dev / node-jscs

:arrow_heading_up: JavaScript Code Style checker (unmaintained)
https://jscs-dev.github.io
MIT License
4.96k stars 510 forks source link

--fix 100% cpu usage #1998

Closed ilwebdifabio closed 8 years ago

ilwebdifabio commented 8 years ago

Hi there, sorry to bother you but with version 2.6.0 If I run like this

jscs --fix ./gulpfile.js ./src/scripts

my cpu usage go to 100% With the same comand I'd no problem with 2.5.1 version.

Best regards

mrjoelkemp commented 8 years ago

Hi @ilwebdifabio! Thanks for reporting the issue.

I'm not seeing a possible cause right away, but some additional information might help lead to possible causes:

Other maintainers may have other hunches. Thanks in advance for the information.

ilwebdifabio commented 8 years ago

You are welcome. I'm awfully sorry just now I've realized that in the fix path there were also the bower_components as well. You can close the issue. Changing the path the command works fine. Thanks and sorry again

mrjoelkemp commented 8 years ago

You should be able to ignore those by using excludeFiles. Thanks!