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.
|
4 years ago | |
---|---|---|
.gitignore | 4 years ago | |
.jshintrc | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
dtp-jshint-reporter.js | 4 years ago | |
package.json | 4 years ago | |
yarn.lock | 4 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'))
;
}