Skip to content

Commit c5ad1a6

Browse files
authored
Upgrade eslint & commander (out of current ranges) (#525)
* Upgrade eslint-config-airbnb-base to ^14.0.0 * Upgrade eslint to ^6.7.2 * Upgrade commander to ^4.0.1
1 parent 33d12d7 commit c5ad1a6

File tree

6 files changed

+287
-215
lines changed

6 files changed

+287
-215
lines changed

.eslintrc

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"node": true
77
},
88
"rules": {
9+
"arrow-parens": 0,
910
"global-require": 0,
1011
"comma-dangle": 0,
1112
"func-names": 0,

lib/logger.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ import { inspect } from 'util';
33

44
function formatter(info) {
55
const stringifiedRest = inspect(
6-
Object.assign({}, info, {
6+
{
7+
...info,
78
level: undefined,
89
message: undefined,
910
splat: undefined
10-
}),
11+
},
1112
{ depth: null }
1213
);
1314

0 commit comments

Comments
 (0)