Skip to content

Commit

Permalink
Linting yamls using yamllint 🏷
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester authored and tekton-robot committed Nov 14, 2019
1 parent e0739e2 commit 78df9c4
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 3 deletions.
35 changes: 35 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
ignore: |
./vendor

rules:
braces: enable
brackets: enable
colons: enable
commas: enable
comments:
level: warning
comments-indentation:
level: warning
document-end: disable
document-start: disable
empty-lines: enable
empty-values: enable
hyphens: enable
key-duplicates: enable
key-ordering: disable
line-length: disable
new-line-at-end-of-file: disable
new-lines: enable
octal-values: enable
quoted-strings: disable
trailing-spaces: enable
truthy:
level: warning

# accept both key:
# - item
#
# and key:
# - item
indentation:
indent-sequences: whatever
1 change: 0 additions & 1 deletion config/clusterrole-aggregate-edit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ rules:
- patch
- update
- watch

1 change: 0 additions & 1 deletion config/clusterrole-aggregate-view.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ rules:
- get
- list
- watch

2 changes: 1 addition & 1 deletion examples/event-interceptors/github-validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
app: gh-validate
template:
metadata:
labels:
labels:
app: gh-validate
spec:
serviceAccountName: default
Expand Down

0 comments on commit 78df9c4

Please sign in to comment.