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 cyclop1818
- godox # TODO: get rid of TODOs1919
- goerr113 # need to create wrapped static errors20-
- goimports # we already lint with gofumpt20+
- goimports # we`ve already lint with gofumpt2121
- golint # deprecated2222
- gomnd # we want to keep magic numbers2323
- interfacer # deprecated@@ -364,7 +364,8 @@
364364
use-field-name: false365365
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: snake369370
370371
testpackage:@@ -476,12 +477,12 @@
476477
# severity applied. Severities should match the supported severity names of the477478
# selected out format.478479
# - Code climate: https://docs.codeclimate.com/docs/issues#issue-severity479-
# - Checkstyle: https://checkstyle.sourceforge.io/property_types.html#severity480-
# - Github: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message480+
# - Checkstyle: https://checkstyle.sourceforge.io/property_types.html#severity481+
# - Github: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message481482
default-severity: error482483
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: false486487
487488
# Default value is empty list..yamllint.yamladdedView file
Loading diff…
codecov.ymlmodifiedView file
Loading diff…
tests/05_helmwave.ymlmodifiedView file
Loading diff…