Browse Source
chore(package): update xo to version 0.19.0 (#51)
* chore(package): update xo to version 0.19.0
Closes #15
https://greenkeeper.io/
* Lint browser files with esnext false
* Use property shorthand
pull/52/head
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
10 additions and
4 deletions
-
controllers/listing.js
-
package.json
|
|
@ -19,8 +19,8 @@ module.exports = (req, res, next) => { |
|
|
|
tor.listNodes(query) |
|
|
|
.then(nodes => res.render('listing.html', { |
|
|
|
pageTitle: req.query.s ? `Search: ${req.query.s}` : false, |
|
|
|
title: title, |
|
|
|
nodes: nodes, |
|
|
|
title, |
|
|
|
nodes, |
|
|
|
numOfNodes: query.limit |
|
|
|
})) |
|
|
|
.catch(err => { |
|
|
|
|
|
@ -23,7 +23,7 @@ |
|
|
|
"devDependencies": { |
|
|
|
"eslint-config-xo-lukechilds": "^1.0.1", |
|
|
|
"nodemon": "^1.10.2", |
|
|
|
"xo": "^0.17.1" |
|
|
|
"xo": "^0.19.0" |
|
|
|
}, |
|
|
|
"scripts": { |
|
|
|
"start": "node index.js", |
|
|
@ -33,7 +33,13 @@ |
|
|
|
"test": "xo" |
|
|
|
}, |
|
|
|
"xo": { |
|
|
|
"extends": "xo-lukechilds" |
|
|
|
"extends": "xo-lukechilds", |
|
|
|
"overrides": [ |
|
|
|
{ |
|
|
|
"files": "public/**", |
|
|
|
"esnext": false |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
"repository": { |
|
|
|
"type": "git", |
|
|
|