lint 235 B

1234567891011
  1. #!/usr/bin/env node
  2. var lint = require("../test/lint/lint");
  3. process.chdir(__dirname.slice(0, __dirname.lastIndexOf("/")));
  4. lint.checkDir("mode");
  5. lint.checkDir("lib");
  6. lint.checkDir("addon");
  7. process.exit(lint.success() ? 0 : 1);