Skip to content

Commit

Permalink
fix: linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeal committed Jun 18, 2020
1 parent 4c1ec4d commit 4bae794
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 42 deletions.
40 changes: 0 additions & 40 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module.exports = multiformats => {
* @param {Object} [options.tags] - An object whose keys are CBOR tag numbers and values are transform functions that accept a `value` and return a decoded representation of that `value`
*/
const configureDecoder = (options) => {
let tags = defaultTags
const tags = defaultTags

if (options) {
if (typeof options.size === 'number') {
Expand Down
1 change: 0 additions & 1 deletion test/test-basics.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ describe('util', () => {
dagCBOR.configureDecoder()
})


test('.serialize and .deserialize object with slash as property', () => {
const slashObject = { '/': true }
const serialized = encode(slashObject)
Expand Down

0 comments on commit 4bae794

Please sign in to comment.