-
-
Notifications
You must be signed in to change notification settings - Fork 498
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(linter): move finishing default diagnostic message to `Graph…
…icalReporter` (#8683) Now every lint output is owned by is right OutputFormatter and his DiagnosticReporter 🥳 Next step is to setup a snapshot Tester, so I can remove the ToDos. Reorded some lines so the outfor is now for: `cargo run -p oxlint -- test.js --max-warnings=2` ``` Found 4 warnings and 0 errors. Exceeded maximum number of warnings. Found 4. Finished in 5ms on 1 file with 97 rules using 24 threads. ``` and for `cargo run -p oxlint -- test.js` ``` Found 4 warnings and 0 errors. Finished in 5ms on 1 file with 97 rules using 24 threads. ``` The output time and warnings/error count wil be always printed.
- Loading branch information
Showing
7 changed files
with
189 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.