Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added grunt script and fixed lint errors

  • Loading branch information...
commit 33bcda813de39f997e461691f2fcae2fc1b57bfc 1 parent 5a8ca51
@jamesallardice authored
Showing with 23 additions and 1 deletion.
  1. +22 −0 grunt.js
  2. +1 −1  lib/cli.js
View
22 grunt.js
@@ -0,0 +1,22 @@
+module.exports = function (grunt) {
+
+ "use strict";
+
+ grunt.initConfig({
+ lint: {
+ all: [
+ "grunt.js",
+ "lib/**/*.js"
+ ]
+ },
+ jshint: {
+ options: {
+ node: true,
+ es5: true
+ }
+ }
+ });
+
+ grunt.registerTask("default", "lint");
+
+};
View
2  lib/cli.js
@@ -21,7 +21,7 @@ module.exports = function () {
// END REMOVE
if (!program.key || !program.private || !program.consumer || !program.secret) {
- program.help();
+ program.help();
}
require("./app")({
Please sign in to comment.
Something went wrong with that request. Please try again.