spalger / gulp-jshint

JSHint plugin for gulp
MIT License
419 stars 65 forks source link

Need an option for report absolute paths #126

Closed Delagen closed 8 years ago

spalger commented 9 years ago

Does jshint offer this option?

Delagen commented 9 years ago

In your code 69c9c17e

 var filePath = file.path ? path.relative(process.cwd(), file.path): 'stdin';
Delagen commented 9 years ago

???

spalger commented 9 years ago

@delagen I'm asking if the proper jshint tool offers this

Delagen commented 8 years ago

Your plugin generate only data for reporter. Reporter only output what you supplied.

So if your reportErrors in lint.js will make absolute path, reporter output that.

So I and remove this plugin from my code. Needed to me plugin functionality fits in about 60 lines.