diff --git a/.eslintrc b/.eslintrc index 99654526..15447606 100644 --- a/.eslintrc +++ b/.eslintrc @@ -31,6 +31,7 @@ { "allow": ["constructors"] } ], "import/prefer-default-export": "off", + "import/no-import-module-exports": "off", "no-underscore-dangle": "off", "class-methods-use-this": "off" }, diff --git a/src/index.ts b/src/index.ts index 96fc1abf..971334e9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,8 @@ import pact from './pact'; +// eslint-disable-next-line no-multi-assign +module.exports = exports = pact; + export default pact; export * from './verifier';