ESlint key-spacing, no-trailing-spaces

This commit is contained in:
Peter Jaszkowiak
2017-02-18 01:27:46 -07:00
parent 34e233fe1d
commit 277a7fb8b4
64 changed files with 142 additions and 143 deletions

View File

@@ -17,13 +17,13 @@ var opts = {
/*
* state used by Logger
*/
express : {
app : {},
set : 0,
ofn : null,
express: {
app: {},
set: 0,
ofn: null,
},
streams : {
log : { f : process.stdout },
streams: {
log: { f: process.stdout },
},
};
@@ -124,7 +124,7 @@ var opts = {
/*
* Always initialize "ofn" (original function) with the original logger function
*/
opts.express.ofn = morgan('combined', {stream : opts.streams.log.f});
opts.express.ofn = morgan('combined', {stream: opts.streams.log.f});
};
Logger.expressLogger = function (req,res,next) {