SideEffects Stability Reliability check
This commit is contained in:
parent
5214b90fdf
commit
c09c15649f
|
@ -435,6 +435,8 @@ class Msftidy
|
|||
if not available_ranks.include?($1)
|
||||
error("Invalid ranking. You have '#{$1}'")
|
||||
end
|
||||
elsif @source =~ /['"](SideEffects|Stability|Reliability)['"]\s+=/
|
||||
info('No Rank, however SideEffects, Stability, or Reliability are provided')
|
||||
else
|
||||
warn('No Rank specified. The default is NormalRanking. Please add an explicit Rank value.')
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue