summaryrefslogtreecommitdiff
path: root/bin/lint
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2024-06-30 20:07:14 +0100
committerDmitry Ilvokhin <d@ilvokhin.com>2024-06-30 20:07:14 +0100
commit9e7d1e913714fb36eb610f5b84ee18339a450889 (patch)
tree9744faee37c670a2e4ef948ae7b54ce9550504ac /bin/lint
parent269ce7eab4482942d9c4793ed2dffae905c125af (diff)
downloadinfra-9e7d1e913714fb36eb610f5b84ee18339a450889.tar.gz
infra-9e7d1e913714fb36eb610f5b84ee18339a450889.tar.bz2
infra-9e7d1e913714fb36eb610f5b84ee18339a450889.zip
Add yamllint linter and supporting script
Diffstat (limited to 'bin/lint')
-rwxr-xr-xbin/lint3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/lint b/bin/lint
new file mode 100755
index 0000000..712c950
--- /dev/null
+++ b/bin/lint
@@ -0,0 +1,3 @@
+#! /usr/bin/env sh
+
+yamllint -s `find . -name '*.yml' -not -path '*.env*'`