Skip to content

Commit

Permalink
staticcheck: disable SA6004 until it's less noisy
Browse files Browse the repository at this point in the history
Updates gh-322
  • Loading branch information
dominikh committed Sep 20, 2018
1 parent c98cc07 commit dc1aef7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staticcheck/lint.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ func (c *Checker) Checks() []lint.Check {
{ID: "SA6001", FilterGenerated: false, Fn: c.CheckMapBytesKey},
{ID: "SA6002", FilterGenerated: false, Fn: c.callChecker(checkSyncPoolValueRules)},
{ID: "SA6003", FilterGenerated: false, Fn: c.CheckRangeStringRunes},
{ID: "SA6004", FilterGenerated: false, Fn: c.CheckSillyRegexp},
// {ID: "SA6004", FilterGenerated: false, Fn: c.CheckSillyRegexp},

{ID: "SA9001", FilterGenerated: false, Fn: c.CheckDubiousDeferInChannelRangeLoop},
{ID: "SA9002", FilterGenerated: false, Fn: c.CheckNonOctalFileMode},
Expand Down

0 comments on commit dc1aef7

Please sign in to comment.