jscs-dev/gulp-jscs

jscs version bump breaks gulp-jscs

kyledetella opened this issue · 2 comments

This line here throws an error.

TypeError: Object [object Object] has no method '_isExcluded'

Something has changed in the jscs upgrade to 1.8.0. I was able to fix this by pinning the dependency in the package.json to 1.7.3.

Is the ideal solve to pin to this version or to fix index.js accordingly?

Yeah, it's gulp-jscs's fault though as it's using an internal method...

@mikesherov What's the new way to check if a file is excluded?

checker.getConfigration().isFileExcluded(filename);

Apologies for the break. I suppose we should probably run the gulp and grunt plugin suite before minor releases in case anyone is using undocumented methods.