Skip to content

Commit 72496ba

Browse files
committed
Instruct ESLint to not search for config files when linting Markdown
1 parent 996b985 commit 72496ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

etc/remark/plugins/eslint/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ var etc = resolve( __dirname, '..', '..', '..' );
1212
var config = join( etc, 'eslint', '.eslintrc.markdown.js' );
1313
var eslint = resolve( etc, '..', 'tools', 'remark', 'plugins', 'remark-lint-eslint' );
1414
var opts = {
15-
'config': config
15+
'config': config,
16+
'ignore': false,
17+
'useEslintrc': false
1618
};
1719

1820

0 commit comments

Comments
 (0)