Package Exports
- gulp-fixmyjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-fixmyjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gulp-fixmyjs
Usage
First, install gulp-fixmyjs
as a development dependency:
npm install --save-dev gulp-fixmyjs
Then, add it to your gulpfile.js
:
var fixmyjs = require("gulp-fixmyjs");
gulp.src("./src/*.js")
.pipe(fixmyjs({
// JSHint settings here
}))
.pipe(gulp.dest("./src"));
API
fixmyjs(options)
options.legacy
Type: Boolean, Default: false
Enables legacy mode
options.lookup
Type: Boolean, Default: true
Enables looking up the .jshintrc configuration file
JSHint options
Any of the JSHint options will be passed to fixmyjs, and would get precedence over .jshintrc file