Skip to content

Commit 17ca464

Browse files
committed
Lint all visible documents when the extension is activated.
1 parent ecbace8 commit 17ca464

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

extension.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -736,10 +736,8 @@ function activate (context) {
736736
"dispose": () => suppressLint(throttle.document)
737737
});
738738

739-
// Request (deferred) lint of active document
740-
if (vscode.window.activeTextEditor) {
741-
requestLint(vscode.window.activeTextEditor.document);
742-
}
739+
// Lint all visible documents
740+
cleanLintVisibleFiles();
743741
}
744742

745743
exports.activate = activate;

0 commit comments

Comments
 (0)