Skip to content

Commit 434f4c0

Browse files
committed
try to stop eslint from complaining
1 parent 44b508b commit 434f4c0

6 files changed

Lines changed: 22 additions & 6 deletions

File tree

.eslintrc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,5 @@
99
"rules": {
1010
"@typescript-eslint/explicit-module-boundary-types": "off",
1111
"@typescript-eslint/ban-ts-comment": "off"
12-
},
13-
"ignorePatterns": [
14-
"dist",
15-
"vendor",
16-
"**/interface.js"
17-
]
12+
}
1813
}

src/bases/interface.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
// this is dummy module overlayed by interface.ts
2+
// just trying to stop eslint from campaining about
3+
// no named exports
4+
// eslint-disable-next-line no-void, no-shadow-restricted-names
5+
export const undefined = void 0

src/block/interface.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
// this is dummy module overlayed by interface.ts
2+
// just trying to stop eslint from campaining about
3+
// no named exports
4+
// eslint-disable-next-line no-void, no-shadow-restricted-names
5+
export const undefined = void 0

src/cid/interface.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
// this is dummy module overlayed by interface.ts
2+
// just trying to stop eslint from campaining about
3+
// no named exports
4+
// eslint-disable-next-line no-void, no-shadow-restricted-names
5+
export const undefined = void 0

src/codecs/interface.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
// this is dummy module overlayed by interface.ts
2+
// just trying to stop eslint from campaining about
3+
// no named exports
4+
// eslint-disable-next-line no-void, no-shadow-restricted-names
5+
export const undefined = void 0

src/interface.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@ export * from './hashes/interface.js'
33
export * from './codecs/interface.js'
44
export * from './cid/interface.js'
55
export * from './block/interface.js'
6+
7+
// just trying to stop eslint from campaining about
8+
// no named exports
9+
// eslint-disable-next-line no-void, no-shadow-restricted-names
10+
export const undefined = void 0

0 commit comments

Comments
 (0)