diff --git a/script/lint.js b/script/lint.js index bf9109cb7e6f..06f0b7ac305c 100755 --- a/script/lint.js +++ b/script/lint.js @@ -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;