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 34b16c5 commit cb31caeCopy full SHA for cb31cae
src/ApiIncrementalChecker.ts
@@ -201,13 +201,18 @@ export class ApiIncrementalChecker implements IncrementalCheckerInterface {
201
202
for (const updatedFile of this.lastUpdatedFiles) {
203
cancellationToken.throwIfCancellationRequested();
204
- if (this.isFileExcluded(updatedFile)) {
+ if (
205
+ this.isFileExcluded(updatedFile) ||
206
+ updatedFile.endsWith('tsconfig.json')
207
+ ) {
208
continue;
209
}
210
211
const lints = this.eslinter!.getLints(updatedFile);
212
if (lints !== undefined) {
213
this.currentEsLintErrors.set(updatedFile, lints);
214
+ } else if (this.currentEsLintErrors.has(updatedFile)) {
215
+ this.currentEsLintErrors.delete(updatedFile);
216
217
218
0 commit comments