mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
build: ignore files in .git when running markdownlint-cli2 (#46608)
This commit is contained in:
@@ -278,7 +278,7 @@ const LINTERS = [{
|
||||
}, {
|
||||
key: 'md',
|
||||
roots: ['.'],
|
||||
ignoreRoots: ['node_modules', 'spec/node_modules'],
|
||||
ignoreRoots: ['.git', 'node_modules', 'spec/node_modules'],
|
||||
test: filename => filename.endsWith('.md'),
|
||||
run: async (opts, filenames) => {
|
||||
let errors = false;
|
||||
|
||||
Reference in New Issue
Block a user