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

jscs does not process any files, fileExtensions is empty by default #2087

Closed ghost closed 8 years ago

ghost commented 8 years ago

I did a simple install from my project and ran jscs just to test it and by default it processes no files.

Recreation:

npm install jscs --save-dev ./node_modules/jscs/bin/jscs -p google lib

Should process all .js files below lib right?

It processes nothing and simply returns. I put errors in the .js files to be sure they should be flagged but nothing. I also added code to checker.js to print out this._fileExtensions and it was empty.

Env info: Mac OSX 10.9.5 Node/NPM info: node 4.2.2, npm 3.5.0

Thanks for any help you can provide.