diff --git a/.eslintrc b/.eslintrc index ce96fe0f..43f463c6 100644 --- a/.eslintrc +++ b/.eslintrc @@ -9,10 +9,5 @@ "rules": { "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/ban-ts-comment": "off" - }, - "ignorePatterns": [ - "dist", - "vendor", - "**/interface.js" - ] + } } diff --git a/src/bases/interface.js b/src/bases/interface.js index d9b3f4f7..29f46ac5 100644 --- a/src/bases/interface.js +++ b/src/bases/interface.js @@ -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 diff --git a/src/block/interface.js b/src/block/interface.js index d9b3f4f7..29f46ac5 100644 --- a/src/block/interface.js +++ b/src/block/interface.js @@ -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 diff --git a/src/cid/interface.js b/src/cid/interface.js index d9b3f4f7..29f46ac5 100644 --- a/src/cid/interface.js +++ b/src/cid/interface.js @@ -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 diff --git a/src/codecs/interface.js b/src/codecs/interface.js index d9b3f4f7..29f46ac5 100644 --- a/src/codecs/interface.js +++ b/src/codecs/interface.js @@ -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 diff --git a/src/interface.js b/src/interface.js index 5c0d6577..2814b920 100644 --- a/src/interface.js +++ b/src/interface.js @@ -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