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 5, 2020
1 parent a2f9881 commit c73108e
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 c73108e

Please sign in to comment.