Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit 9bafac7

Browse files
authored
fix: add missing severity (#606)
1 parent 03e2558 commit 9bafac7

File tree

6 files changed

+21
-0
lines changed

6 files changed

+21
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* doc: add flutter favorite badge
88
* chore: disable github_checks annotations from codecov
99
* chore: activate language strict rules
10+
* fix: add missing severity for rules
1011

1112
## 4.8.1
1213

website/docs/rules/common/avoid-throw-in-catch-block.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
avoid-throw-in-catch-block
66

7+
## Severity {#severity}
8+
9+
Warning
10+
711
## Description
812

913
Call throw in a catch block loses the original stack trace and the original exception.

website/docs/rules/common/avoid-unnecessary-type-assertions.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
avoid-unnecessary-type-assertions
66

7+
## Severity {#severity}
8+
9+
Warning
10+
711
## Description
812

913
Warns about unnecessary usage of 'is' and 'whereType' operators.

website/docs/rules/common/avoid-unnecessary-type-casts.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
avoid-unnecessary-type-casts
66

7+
## Severity {#severity}
8+
9+
Warning
10+
711
## Description
812

913
Warns about of unnecessary use of casting operators.

website/docs/rules/common/prefer-correct-identifier-length.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
prefer-correct-identifier-length
88

9+
## Severity {#severity}
10+
11+
Style
12+
913
## Description
1014

1115
The rule checks the length of variable names in classes, functions, extensions, mixins, and also checks the value of enum.

website/docs/rules/common/prefer-correct-type-name.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
prefer-correct-type-name
88

9+
## Severity {#severity}
10+
11+
Style
12+
913
## Description
1014

1115
Rule checks that the type name should only contain alphanumeric characters, start with an uppercase character and span between `min-length` and `max-length` characters in length.

0 commit comments

Comments
 (0)