Skip to content

Instantly share code, notes, and snippets.

Created July 15, 2014 05:16
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();
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