mirror of https://github.com/databricks/cli.git
switch gofmt to default simplify=true
This commit is contained in:
parent
9d847ca317
commit
68a894ba92
|
@ -16,12 +16,6 @@ linters:
|
||||||
- gofmt
|
- gofmt
|
||||||
linters-settings:
|
linters-settings:
|
||||||
gofmt:
|
gofmt:
|
||||||
# Simplify code: gofmt with `-s` option.
|
|
||||||
# Default: true
|
|
||||||
simplify: false
|
|
||||||
# Apply the rewrite rules to the source before reformatting.
|
|
||||||
# https://pkg.go.dev/cmd/gofmt
|
|
||||||
# Default: []
|
|
||||||
rewrite-rules:
|
rewrite-rules:
|
||||||
#- pattern: 'interface{}'
|
#- pattern: 'interface{}'
|
||||||
# replacement: 'any'
|
# replacement: 'any'
|
||||||
|
|
Loading…
Reference in New Issue