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 65b97c0 commit c411734Copy full SHA for c411734
packages/@angular/cli/tasks/lint.ts
@@ -177,7 +177,7 @@ function getFilesToLint(
177
let programFiles = linter.getFileNames(program);
178
179
if (ignore && ignore.length > 0) {
180
- const ignoreMatchers = ignore.map(pattern => new Minimatch(pattern));
+ const ignoreMatchers = ignore.map(pattern => new Minimatch(pattern, { dot: true }));
181
182
programFiles = programFiles
183
.filter(file => !ignoreMatchers.some(matcher => matcher.match(file)));
0 commit comments