gulp-luacheck
Dependencies
You must have luacheck installed and in
your PATH
.
Installation
npm install gulp-luacheck
Usage
var gulp = ;var luacheck = ;var options = {}; gulp;
For a list of options, see node-luacheck
Reporters
A jshint-stylish-like reporter is also bundled:
gulp
By default errors are not fatal (so as to not break the stream when using
gulp.watch
). If you want gulp to crash when there's a linting error (for
example if you're using gulp
as part of CI), you'll want to use the fail
reporter (also bundled):
gulp
License
gulp-luacheck is licensed under the MIT license.