Skip to content

Commit

Permalink
Merge pull request #163 from raszi/add-lint-task
Browse files Browse the repository at this point in the history
chore: add lint npm task
  • Loading branch information
raszi committed Dec 25, 2017
2 parents bbdbe16 + ea2fc5d commit 89d3114
Show file tree
Hide file tree
Showing 23 changed files with 1,033 additions and 187 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
Expand Up @@ -3,6 +3,9 @@ module.exports = {
"es6": true,
"node": true
},
"plugins": [
"mocha"
],
"extends": "eslint:recommended",
"rules": {
"indent": [
Expand Down
4 changes: 0 additions & 4 deletions lib/tmp.js
Expand Up @@ -550,10 +550,6 @@ function setGracefulCleanup() {
_gracefulCleanup = true;
}

const version = process.versions.node.split('.').map(function (value) {
return parseInt(value, 10);
});

/**
* If there are multiple different versions of tmp in place, make sure that
* we recognize the old listeners.
Expand Down

0 comments on commit 89d3114

Please sign in to comment.