Skip to content

Commit

Permalink
Updated deps. Improved formatting and linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
shannonmoeller committed Jun 25, 2015
1 parent 9df43b9 commit b2d301f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .eslintrc
Expand Up @@ -23,7 +23,7 @@
"generators": false,
"globalReturn": false,
"jsx": false,
"modules": true,
"modules": false,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": false,
Expand All @@ -40,7 +40,7 @@
"rules": {
// Possible Errors
"comma-dangle": [2, "never"], // disallow or enforce trailing commas
"no-cond-assign": "except-parens", // disallow assignment in conditional expressions
"no-cond-assign": [2, "except-parens"], // disallow assignment in conditional expressions
"no-console": 0, // disallow use of console (off by default in the node environment)
"no-constant-condition": 2, // disallow use of constant expressions in conditions
"no-control-regex": 2, // disallow control characters in regular expressions
Expand Down Expand Up @@ -131,7 +131,7 @@
"yoda": 0, // require or disallow Yoda conditions

// Strict mode
"strict": "global", // controls location of Use Strict Directives
"strict": [2, "global"], // controls location of Use Strict Directives

// Variables
"no-catch-shadow": 2, // disallow the catch clause parameter name being the same as a variable in the outer scope (off by default in the node environment)
Expand Down Expand Up @@ -217,7 +217,7 @@
}],
"space-in-brackets": 0, /* need v1.0 */ // require or disallow spaces inside brackets (off by default)
"space-in-parens": [2, "never"], // require or disallow spaces inside parentheses (off by default)
"space-infix-ops": [2, "always"], // require spaces around operators
"space-infix-ops": 2, // require spaces around operators
"space-return-throw-case": 2, // require a space after return, throw, and case
"space-unary-ops": [1, { // Require or disallow spaces before/after unary operators (words on by default, nonwords off by default)
"words": true,
Expand Down
8 changes: 6 additions & 2 deletions index.js
Expand Up @@ -78,10 +78,14 @@ function hb(options) {

file.contents = new Buffer(template(context));

cb(null, file);
this.push(file);
cb();
}
catch (err) {
cb(new gutil.PluginError('gulp-hb', err, {stack: err.stack, showStack: true}));
cb(new gutil.PluginError('gulp-hb', err, {
stack: err.stack,
showStack: true
}));
}
});
}
Expand Down
14 changes: 7 additions & 7 deletions package.json
Expand Up @@ -32,21 +32,21 @@
"test": "gulp test"
},
"dependencies": {
"gulp-util": "^3.0.4",
"gulp-util": "^3.0.6",
"handlebars": "^3.0.3",
"handlebars-registrar": "^1.5.0",
"require-glob": "^1.3.1",
"through2": "^0.6.5"
"through2": "^2.0.0"
},
"devDependencies": {
"coveralls": "^2.11.2",
"doctoc": "^0.13.0",
"doctoc": "^0.14.1",
"expect": "^1.6.0",
"expect.js": "^0.3.1",
"gulp": "^3.8.11",
"gulp-eslint": "^0.12.0",
"gulp-istanbul": "^0.9.0",
"gulp-mocha": "^2.1.0",
"gulp": "^3.9.0",
"gulp-eslint": "^0.14.0",
"gulp-istanbul": "^0.10.0",
"gulp-mocha": "^2.1.2",
"gulp-plumber": "^1.0.1",
"vinyl-fs": "^1.0.0"
},
Expand Down

0 comments on commit b2d301f

Please sign in to comment.