Skip to content

Commit

Permalink
WIP 2
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Oct 6, 2019
1 parent bd2e189 commit dea3104
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 21 deletions.
5 changes: 1 addition & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@
module.exports = {
extends: [
'@overlookmotel/eslint-config'
],
rules: {
'prefer-object-spread': ['off']
}
]
};
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ChopStream extends Writable {
* @param {Object} [options] - Options object
*/
constructor(options) {
options = Object.assign({}, options, {decodeStrings: true});
options = {...options, decodeStrings: true};
super(options);

// Public properties
Expand Down
45 changes: 32 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@overlookmotel/eslint-config": "^4.3.2",
"@overlookmotel/eslint-config-jest": "^2.1.0",
"coveralls": "^3.0.6",
"cross-env": "^5.2.1",
"eslint": "^6.4.0",
"cross-env": "^6.0.3",
"eslint": "^6.5.1",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-import": "^2.18.2",
Expand All @@ -46,7 +46,7 @@
"ci": "if [ $COVERAGE ]; then npm run coveralls; else npm test; fi"
},
"engines": {
"node": ">=8"
"node": ">=8.3.0"
},
"readmeFilename": "README.md",
"license": "MIT"
Expand Down

0 comments on commit dea3104

Please sign in to comment.