-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support error severity screening option #129
Merged
rrousselGit
merged 22 commits into
invertase:main
from
yamarkz:support-error-severity-screening-option
Aug 29, 2023
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
0ba210f
Support error severity screening option
yamarkz 3a8107d
Add error severity screening option test
yamarkz 559ee59
fix merge conflict
yamarkz b759a52
fix test case
yamarkz 0e4cbbe
sort arguments and remove default value
yamarkz 471053b
Merge branch 'main' into support-error-severity-screening-option
yamarkz 9aeebb7
Update packages/custom_lint/lib/custom_lint.dart
yamarkz 36140d7
Rewrite error handling
yamarkz 8fffd8d
Rewrite the definition of ErrorSeverity in TestLintRule
yamarkz 4ac69fb
Fix conflict from merge main branch
yamarkz c309f2a
Rewrite conditional branch
yamarkz 8549d02
Set default option true fatal-infos
yamarkz 16e1a6a
Fix written test
yamarkz bf8282b
Remove unnecessary test code
yamarkz 8522417
Add no option test code
yamarkz 0267564
Fix test case name
yamarkz 882b9bb
Rewrite test case log output text
yamarkz 1717a10
Update redirect_logs.golden
rrousselGit 440f858
Update redirect_logs.golden
rrousselGit 63badeb
Apply suggestions from code review
rrousselGit 139fa68
Fix golden
rrousselGit c03ffd4
Increase timeout
rrousselGit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion
2
packages/custom_lint/test/goldens/server_test/redirect_logs.golden
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[hello_world] 1990-01-01T00:00:00.000 Hello world | ||
[hello_world] 1990-01-01T00:00:00.000 Plugin hello_world threw while analyzing app/lib/another.dart: | ||
[hello_world] 1990-01-01T00:00:00.000 Bad state: fail | ||
[hello_world] 1990-01-01T00:00:00.000 #0 hello_world.run.<anonymous closure> (package:test_lint/test_lint.dart:26:3) | ||
[hello_world] 1990-01-01T00:00:00.000 #0 hello_world.run.<anonymous closure> (package:test_lint/test_lint.dart:28:3) |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you test that
out
still logs the infos/warnings?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed commit 882b9bb