Open VWoeltjen opened 8 years ago
Or it is due to the version, make sure you have matching gulp
dependencies:
"devDependencies": {
"gulp": "^3.9.0",
"gulp-inject": "^1.5.0",
"gulp-jscs": "^2.0.0",
"gulp-jshint": "^1.11.2",
"gulp-nodemon": "^2.0.4",
"jshint-stylish": "^2.0.1"
}
Also ran into this error. Seems as if other projects are also having this problem. Perhaps this should be fixed in jscs?
https://github.com/PolymerElements/polymer-starter-kit/pull/555 https://github.com/PolymerElements/polymer-starter-kit/pull/580
:+1:
I ran into the same error, agree with Evan. Where are you supposed to place this '.jscsrc' file and what are you supposed to put in it?
My solution was simple.. Stop using jscs. It seems as if eslint has totally replaced it anyway. I didn't research well enough before I adopted jscs to begin with. gulp-jscs last had a patch 4 months ago. That effectively makes it dead.
As a new
jscs
and currentgulp
user, I tried to get started by usinggulp-jscs
in my build. Ran into an error pretty quickly. Was able to reproduce in a simplified case and ultimately resolve.My
gulpfile.js
:With which I encounter the following error:
To self-debug, I tried running the same under plain
jscs
:Creating a
.jscsrc
file resolved both problems. Expect it would be useful for other new users to see a similar error message fromgulp-jscs
in this case