1.0.2 • Published 3 years ago

dtp-jshint-reporter v1.0.2

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
3 years ago

Digital Telepresence jshint reporter

A jshint error/warning reporter using an output format that is friendly to VS Code and other editors to use when navigating to the error in your source code.

Getting started

First, make sure Yarn has linked the module in your workspace as follows:

cd ~/projects/dtp/dtp-jshint-reporter
yarn link

This will expose the project in that directory to Yarn for linking elsewhere on your system.

Next, add dtp-jshint-reporter to your project as follows:

cd ~/projects/dtp/[your-project]
yarn link dtp-jshint-reporter

In your gulpfile, do something like:

function dtp_jshint_services ( ) {
  var jsrc = 'app/services/**/*.js';
  return gulp
  .src(jsrc)
  .pipe(jshint())
  .pipe(jshint.reporter('dtp-jshint-reporter'))
  ;
}
1.0.2

3 years ago