Skip to content

Commit

Permalink
revive.toml mods
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrK committed May 31, 2021
1 parent 927528e commit 368ba4e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions revive.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,13 @@ warningCode = 0
[rule.atomic]
[rule.empty-lines]
[rule.line-length-limit]
arguments = [120]
[rule.call-to-gc]
arguments = [180]
[rule.duplicated-imports]
[rule.import-shadowing]
[rule.bare-return]
[rule.unused-receiver]
[rule.unhandled-error]
arguments = ["sb.WriteString"]
arguments = ["sb.WriteString", "fmt.Fprintf", "fmt.Printf", "fmt.Println"]
severity = "error"
[rule.cognitive-complexity]
arguments = [7]
Expand Down

0 comments on commit 368ba4e

Please sign in to comment.