Skip to content

Commit

Permalink
Remove confusing name warning. (#567)
Browse files Browse the repository at this point in the history
This commit removes the confusing name warning. In the community repo,
the only offenders are the hue/saturation/lightness methods which feel
like they made the right call. Typing "lightness" everywhere to avoid L
doesn't really make sense.
  • Loading branch information
betterengineering authored Jan 12, 2023
1 parent 8de4148 commit badc290
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/buildifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ func defaultWarnings() []string {
}

var disabledWarnings = map[string]bool{
"confusing-name": true, // disables confusing name warnings
"function-docstring": true, // disables docstring warnings
"function-docstring-header": true, // disables docstring warnings
"function-docstring-args": true, // disables docstring warnings
Expand Down

0 comments on commit badc290

Please sign in to comment.