diff --git a/bin/markdownlint-cli-wrapper.ts b/bin/markdownlint-cli-wrapper.ts index 7e710cf..e403528 100644 --- a/bin/markdownlint-cli-wrapper.ts +++ b/bin/markdownlint-cli-wrapper.ts @@ -9,7 +9,7 @@ if (require.main === module) { [ require.resolve('markdownlint-cli'), '-r', - path.resolve(__dirname, '../../markdownlint-rules'), + path.resolve(__dirname, '../../markdownlint-rules/index.js'), ...process.argv.slice(2), ], { stdio: 'inherit' }, diff --git a/markdownlint-rules/index.js b/markdownlint-rules/index.js new file mode 100644 index 0000000..79cb282 --- /dev/null +++ b/markdownlint-rules/index.js @@ -0,0 +1,4 @@ +const EMD002 = require('./emd002.js'); +const EMD003 = require('./emd003.js'); + +module.exports = [EMD002, EMD003];