tweaks eslint rules, fixes gulp-eslint, adds some comments

This commit is contained in:
Matteo Pagliazzi
2015-11-04 18:50:08 +01:00
parent 235f1977ba
commit 3135613be3
7 changed files with 19 additions and 15 deletions

View File

@@ -4,8 +4,7 @@
let errorHandler = require('./errorHandler');
module.exports = function (app) {
module.exports = function attachMiddlewares (app) {
// Error handler middleware, define as the last one
app.use(errorHandler);
};