DTP jshint reporter producing output more friendly to VS Code for use with Ctrl+click in a terminal view.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Rob Colbert 517c2f8055 v1.0.4 2 years ago
assets/img publishing as Apache-2.0 2 years ago
.gitignore project created 3 years ago
.jshintrc project created 3 years ago
LICENSE publishing as Apache-2.0 2 years ago
README.md project created 3 years ago
dtp-jshint-reporter.code-workspace created 2 years ago
dtp-jshint-reporter.js project created 3 years ago
package.json v1.0.4 2 years ago
release created 2 years ago
yarn.lock project created 3 years ago

README.md

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'))
  ;
}