We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d404d7d commit 643038dCopy full SHA for 643038d
README.md
@@ -233,8 +233,9 @@ const micromatch = require('micromatch')
233
234
module.exports = {
235
'*': (allFiles) => {
236
- const match = micromatch(allFiles, ['*.js', '*.ts'])
237
- return `eslint ${match.join(' ')}`
+ const codeFiles = micromatch(allFiles, ['**/*.js', '**/*.ts']);
+ const docFiles = micromatch(allFiles, ['**/*.md']);
238
+ return [`eslint ${codeFiles.join(' ')}`, `mdl ${docFiles.join(' ')}`];
239
}
240
241
```
0 commit comments