Skip to content

Commit

Permalink
(GH-25) Add default values for issue priority
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger committed May 31, 2018
1 parent 1f0f7d9 commit 2ca4335
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/Cake.Issues/IssuePriority.cs
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
}
}

0 comments on commit 2ca4335

Please sign in to comment.