Skip to content

Commit

Permalink
try to stop eslint from complaining
Browse files Browse the repository at this point in the history
  • Loading branch information
Gozala committed Jun 13, 2022
1 parent 44b508b commit 434f4c0
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,5 @@
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/ban-ts-comment": "off"
},
"ignorePatterns": [
"dist",
"vendor",
"**/interface.js"
]
}
}
4 changes: 4 additions & 0 deletions src/bases/interface.js
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
// this is dummy module overlayed by interface.ts
// just trying to stop eslint from campaining about
// no named exports
// eslint-disable-next-line no-void, no-shadow-restricted-names
export const undefined = void 0
4 changes: 4 additions & 0 deletions src/block/interface.js
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
// this is dummy module overlayed by interface.ts
// just trying to stop eslint from campaining about
// no named exports
// eslint-disable-next-line no-void, no-shadow-restricted-names
export const undefined = void 0
4 changes: 4 additions & 0 deletions src/cid/interface.js
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
// this is dummy module overlayed by interface.ts
// just trying to stop eslint from campaining about
// no named exports
// eslint-disable-next-line no-void, no-shadow-restricted-names
export const undefined = void 0
4 changes: 4 additions & 0 deletions src/codecs/interface.js
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
// this is dummy module overlayed by interface.ts
// just trying to stop eslint from campaining about
// no named exports
// eslint-disable-next-line no-void, no-shadow-restricted-names
export const undefined = void 0
5 changes: 5 additions & 0 deletions src/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ export * from './hashes/interface.js'
export * from './codecs/interface.js'
export * from './cid/interface.js'
export * from './block/interface.js'

// just trying to stop eslint from campaining about
// no named exports
// eslint-disable-next-line no-void, no-shadow-restricted-names
export const undefined = void 0

0 comments on commit 434f4c0

Please sign in to comment.