Skip to content

Commit

Permalink
Update linter dependencies and config (#2059)
Browse files Browse the repository at this point in the history
  • Loading branch information
DABH committed Feb 5, 2022
1 parent 7f6a6f2 commit 438cb73
Show file tree
Hide file tree
Showing 4 changed files with 1,239 additions and 2,534 deletions.
7 changes: 5 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"extends": "populist",
"extends": "@dabh/eslint-config-populist",
"rules": {
"one-var": ["error", { var: "never", let: "never", const: "never" }],
"strict": 0
}
},
"parserOptions": {
"ecmaVersion": 2022,
},
}
2 changes: 0 additions & 2 deletions lib/winston/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,6 @@ class Logger extends Transform {
// guarantee that the streams callback is invoked so that we can continue flowing.
try {
this.push(this.format.transform(info, this.format.options));
} catch (ex) {
throw ex;
} finally {
// eslint-disable-next-line callback-return
callback();
Expand Down
Loading

0 comments on commit 438cb73

Please sign in to comment.