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
Luke Childs 7 years ago
committed by GitHub
parent
commit
c4f4a86434
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      controllers/listing.js
  2. 10
      package.json

4
controllers/listing.js

@ -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 => {

10
package.json

@ -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",

Loading…
Cancel
Save