You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flags rules where the default value is used as the assigned value
in any other incremental definition.
Fixes#1018
(unrelated changes mostly adding some ignore directives in Go code
is from me having update golangci-lint which led to a few new issues
getting reported)
Signed-off-by: Anders Eknert <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -214,6 +214,7 @@ The following rules are currently available:
214
214
| bugs |[leaked-internal-reference](https://docs.styra.com/regal/rules/bugs/leaked-internal-reference)| Outside reference to internal rule or function |
215
215
| bugs |[not-equals-in-loop](https://docs.styra.com/regal/rules/bugs/not-equals-in-loop)| Use of != in loop |
216
216
| bugs |[redundant-existence-check](https://docs.styra.com/regal/rules/bugs/redundant-existence-check)| Redundant existence check |
217
+
| bugs |[rule-assigns-default](https://docs.styra.com/regal/rules/bugs/rule-assigns-default)| Rule assigned its default value |
217
218
| bugs |[rule-named-if](https://docs.styra.com/regal/rules/bugs/rule-named-if)| Rule named "if" |
218
219
| bugs |[rule-shadows-builtin](https://docs.styra.com/regal/rules/bugs/rule-shadows-builtin)| Rule name shadows built-in |
219
220
| bugs |[sprintf-arguments-mismatch](https://docs.styra.com/regal/rules/bugs/sprintf-arguments-mismatch)| Mismatch in `sprintf` arguments count |
0 commit comments