Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(function() {
"use strict";
desc("Build and test");
task("default", ["lint"]);
desc("Let's do this Lint thing");
task("lint", [], function() {
var lint = require("./build/lint/lint.js");
var files = new jake.FileList();
files.include("**/*.js");
files.exclude("node_modules");
var options = nodeLintOptions();
var passed = lint.validateFileList(files.toArray(), options, {});
if (!passed) fail("Lint failed");
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment