mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-22 20:53:21 +00:00
Add Level 'Deprecated'
This commit is contained in:
parent
8dad2ced7a
commit
a4f070ba92
1 changed files with 2 additions and 1 deletions
|
@ -75,6 +75,7 @@
|
|||
<span ng-if="lint.level == 'Allow'" class="label label-info">Allow</span>
|
||||
<span ng-if="lint.level == 'Warn'" class="label label-warning">Warn</span>
|
||||
<span ng-if="lint.level == 'Deny'" class="label label-danger">Deny</span>
|
||||
<span ng-if="lint.level == 'Deprecated'" class="label label-default">Deprecated</span>
|
||||
|
||||
<a href="#{{lint.id}}" class="anchor label label-default">¶</a>
|
||||
</h2>
|
||||
|
@ -131,7 +132,7 @@
|
|||
})
|
||||
.controller("lintList", function ($scope, $http) {
|
||||
// Level filter
|
||||
$scope.levels = {Allow: true, Warn: true, Deny: true};
|
||||
$scope.levels = {Allow: true, Warn: true, Deny: true, Deprecated: true};
|
||||
$scope.byLevels = function (lint) {
|
||||
return $scope.levels[lint.level];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue