New 🌊 wave for @helm

Commit a5fea908

a5fea908ecfeMerged

zhiliaev <[email protected]> · 4 years ago · 4 files · +1 added · ~3 modified

Description

feat: new yaml linter

Details

Commit
a5fea908ecfe
Parent
6c4ebae2c632

.golangci.ymlmodifiedView file

@@ -17,7 +17,7 @@
1717 - gocyclo # we use cyclop
1818 - godox # TODO: get rid of TODOs
1919 - goerr113 # need to create wrapped static errors
20- - goimports # we already lint with gofumpt
20+ - goimports # we`ve already lint with gofumpt
2121 - golint # deprecated
2222 - gomnd # we want to keep magic numbers
2323 - interfacer # deprecated
@@ -364,7 +364,8 @@
364364 use-field-name: false
365365 rules:
366366 # any struct tag type can be used.
367- # support string case: `camel`, `pascal`, `kebab`, `snake`, `goCamel`, `goPascal`, `goKebab`, `goSnake`, `upper`, `lower`
367+ # support string case:
368+ # `camel`, `pascal`, `kebab`, `snake`, `goCamel`, `goPascal`, `goKebab`, `goSnake`, `upper`, `lower`
368369 yaml: snake
369370
370371 testpackage:
@@ -476,12 +477,12 @@
476477 # severity applied. Severities should match the supported severity names of the
477478 # selected out format.
478479 # - Code climate: https://docs.codeclimate.com/docs/issues#issue-severity
479- # - Checkstyle: https://checkstyle.sourceforge.io/property_types.html#severity
480- # - Github: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message
480+ # - Checkstyle: https://checkstyle.sourceforge.io/property_types.html#severity
481+ # - Github: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message
481482 default-severity: error
482483
483484 # The default value is false.
484- # If set to true severity-rules regular expressions become case sensitive.
485+ # If set to true severity-rules regular expressions become case-sensitive.
485486 case-sensitive: false
486487
487488 # Default value is empty list.