Skip to content

Commit

Permalink
chore(package): update xo to version 0.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greenkeeper[bot] authored and pvdlg committed Mar 27, 2020
1 parent dddb5d8 commit f1cd3d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/definitions/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ const {isString} = require('lodash');
const pkg = require('../../package.json');

const [homepage] = pkg.homepage.split('#');
const stringify = obj => (isString(obj) ? obj : inspect(obj, {breakLength: Infinity, depth: 2, maxArrayLength: 5}));
const stringify = object =>
isString(object) ? object : inspect(object, {breakLength: Infinity, depth: 2, maxArrayLength: 5});
const linkify = file => `${homepage}/blob/master/${file}`;

module.exports = {
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"semantic-release": "^17.0.0",
"sinon": "^9.0.0",
"stream-buffers": "^3.0.2",
"xo": "^0.27.0"
"xo": "^0.28.0"
},
"engines": {
"node": ">=10.18"
Expand Down Expand Up @@ -81,6 +81,9 @@
},
"xo": {
"prettier": true,
"space": true
"space": true,
"rules": {
"unicorn/string-content": "off"
}
}
}

0 comments on commit f1cd3d6

Please sign in to comment.