Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Merge a65c426 into 6c7ea36
Browse files Browse the repository at this point in the history
  • Loading branch information
jehy committed Sep 3, 2018
2 parents 6c7ea36 + a65c426 commit 90e043d
Show file tree
Hide file tree
Showing 7 changed files with 4,522 additions and 21 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
],
"rules": {
"one-var": "off",
"prefer-destructuring": "warn",
"indent": "off",
"padded-blocks": "off",
"no-plusplus": "off",
Expand All @@ -27,4 +28,4 @@
"unix"
]
}
}
}
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.idea
node_modules
coverage
package-lock.json
src/test
.eslintrc.json
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ language: node_js
node_js:
- "4"
- "6"
- "7"
- "node"
- "iojs"
- "8"
- "9"
- "10"
after_success:
- npm run coverage && npm run coveralls
- npm run coverage && npm run coveralls
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Otherwise, we use the ES6 code.
*/

/* eslint-disable global-require*/
/* eslint-disable global-require */

const majorVersion = parseInt(process.versions.node.split('.')[0], 10);
if (majorVersion <= 5) {
Expand Down
Loading

0 comments on commit 90e043d

Please sign in to comment.