Skip to content

Commit

Permalink
fix: Allow to use lint-staged on CI (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
ai authored and okonet committed Oct 30, 2018
1 parent af99172 commit 225a904
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Expand Up @@ -21,6 +21,7 @@
}
}
],
"prettier/prettier": "off"
"prettier/prettier": "off",
"node/no-unsupported-features": ["error", "8.6.0"]
}
}
6 changes: 5 additions & 1 deletion index.js
Expand Up @@ -3,7 +3,11 @@
'use strict'

const pkg = require('./package.json')
require('please-upgrade-node')(pkg)
require('please-upgrade-node')({
engines: {
node: '>=8.6.0'
}
})

const cmdline = require('commander')
const debugLib = require('debug')
Expand Down
3 changes: 0 additions & 3 deletions package.json
Expand Up @@ -9,9 +9,6 @@
"Lufty Wiranda <lufty.wiranda@gmail.com>",
"Suhas Karanth <sudo.suhas@gmail.com>"
],
"engines": {
"node": ">=8.6.0"
},
"bin": "index.js",
"files": ["index.js", "src"],
"scripts": {
Expand Down

0 comments on commit 225a904

Please sign in to comment.