-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-25) Add default values for issue priority
- Loading branch information
1 parent
1f0f7d9
commit 2ca4335
Showing
1 changed file
with
33 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
namespace Cake.Issues | ||
{ | ||
/// <summary> | ||
/// Default priorities for <see cref="IIssue.Priority"/>. | ||
/// </summary> | ||
public enum IssuePriority | ||
{ | ||
/// <summary> | ||
/// Undefined priority. | ||
/// </summary> | ||
Undefined = 0, | ||
|
||
/// <summary> | ||
/// Issues which brings attention to a specific part of the code or recommends a way of improvement. | ||
/// </summary> | ||
Hint = 100, | ||
|
||
/// <summary> | ||
/// Issues which aren't necessarily bad or wrong, but probably useful to know. | ||
/// </summary> | ||
Suggestion = 200, | ||
|
||
/// <summary> | ||
/// Issues that do not prevent code from compiling but may nevertheless represent serious coding inefficiencies. | ||
/// </summary> | ||
Warning = 300, | ||
|
||
/// <summary> | ||
/// Issues that either prevent code from compiling or result in runtime errors. | ||
/// </summary> | ||
Error = 400 | ||
} | ||
} |