Skip to content

Commit

Permalink
fix: fix export (#225)
Browse files Browse the repository at this point in the history
fix: fix export
  • Loading branch information
MichaelDeBoey authored Jun 22, 2022
1 parent f70a6fb commit 881d01a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
module.exports = {
extends: './node_modules/kcd-scripts/eslint.js',
rules: {
'import/no-import-module-exports': [
'error',
{ exceptions: ['**/src/index.js'] },
],
},
overrides: [
{
files: [
'src/__tests__/CustomTransformer.js',
'src/__tests__/plugin.js',
'src/__tests__/transformers/*.js',
],
rules: {
'import/default': 'off',
},
},
],
};
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const getUrlString = (url) => {
}
};

export default async (
module.exports = async (
{ cache, markdownAST },
{ customTransformers = [], services = {} } = {}
) => {
Expand Down

0 comments on commit 881d01a

Please sign in to comment.