Skip to content

Commit

Permalink
chore: try to please the helm linter
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
  • Loading branch information
TylerGillson committed Jul 19, 2024
1 parent 0bc3504 commit b30f132
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
1 change: 0 additions & 1 deletion hack/update-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ function updateValues {
truncate -s-1 chart/validator/values.yaml
echo "Updated values.yaml for validator-plugin-$plugin @ v$version."
done
truncate -s-1 chart/validator/values.yaml
}

export AWS_VERSION=$(latestRelease validator-labs/validator-plugin-aws)
Expand Down
42 changes: 42 additions & 0 deletions lintconf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# source: https://github.com/helm/chart-testing/blob/main/etc/lintconf.yaml
rules:
braces:
min-spaces-inside: 0
max-spaces-inside: 0
min-spaces-inside-empty: -1
max-spaces-inside-empty: -1
brackets:
min-spaces-inside: 0
max-spaces-inside: 0
min-spaces-inside-empty: -1
max-spaces-inside-empty: -1
colons:
max-spaces-before: 0
max-spaces-after: 1
commas:
max-spaces-before: 0
min-spaces-after: 1
max-spaces-after: 1
comments:
require-starting-space: true
min-spaces-from-content: 2
document-end: disable
document-start: disable # No --- to start a file
empty-lines:
max: 2
max-start: 0
max-end: 0
hyphens:
max-spaces-after: 1
indentation:
spaces: consistent
indent-sequences: whatever # - list indentation will handle both indentation and without
check-multi-line-strings: false
key-duplicates: enable
line-length: disable # Lines can be any length
new-line-at-end-of-file: enable
new-lines:
type: unix
trailing-spaces: disable
truthy:
level: warning

0 comments on commit b30f132

Please sign in to comment.