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 e727ca9 commit 588c53dCopy full SHA for 588c53d
src/code-style/linter.ts
@@ -105,6 +105,19 @@ export function createLinter(dependencies: {
105
}
106
errors = errorCount + warningCount;
107
fixable = fixableCount;
108
+
109
+ let ignorePatternCount = (
110
+ message.match(
111
+ /File ignored because of a matching ignore pattern./g
112
+ ) || []
113
+ ).length;
114
+ if (ignorePatternCount > 0) {
115
+ errors -= ignorePatternCount;
116
+ logger.log(
117
+ "linter",
118
+ `${ignorePatternCount} files ignored because of a matching ignore pattern. These are not counted towards the number of warnings.`
119
+ );
120
+ }
121
122
if (response.finished) {
123
running = false;
0 commit comments