Skip to content

Commit

Permalink
lint: apply standard 11 style
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Mar 8, 2018
1 parent 60c31e8 commit 4dd1180
Show file tree
Hide file tree
Showing 3 changed files with 159 additions and 159 deletions.
6 changes: 3 additions & 3 deletions index.js
Expand Up @@ -189,9 +189,9 @@ morgan.format('dev', function developmentFormatLine (tokens, req, res) {
// get status color
var color = status >= 500 ? 31 // red
: status >= 400 ? 33 // yellow
: status >= 300 ? 36 // cyan
: status >= 200 ? 32 // green
: 0 // no color
: status >= 300 ? 36 // cyan
: status >= 200 ? 32 // green
: 0 // no color

// get colored function
var fn = developmentFormatLine[color]
Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -22,11 +22,11 @@
"on-headers": "~1.0.1"
},
"devDependencies": {
"eslint": "3.19.0",
"eslint-config-standard": "10.2.1",
"eslint-plugin-import": "2.8.0",
"eslint": "4.18.2",
"eslint-config-standard": "11.0.0",
"eslint-plugin-import": "2.9.0",
"eslint-plugin-markdown": "1.0.0-beta.6",
"eslint-plugin-node": "5.2.0",
"eslint-plugin-node": "6.0.1",
"eslint-plugin-promise": "3.6.0",
"eslint-plugin-standard": "3.0.1",
"istanbul": "0.4.5",
Expand Down

0 comments on commit 4dd1180

Please sign in to comment.