Enable linting for the repo
This change creates necessary configuration for running lint
against the changes sent to this repository. Outcomes of all
checks are currently disabled since the repository is currently
empty. They will be enabled once we start moving stuff into
this repository.
ansible-lint, yamllint, and shellcheck are enabled for the repo.
Change-Id: Ia628b4e52ebbac7eed952382b89868caaa6eaa3e
diff --git a/.yamllint b/.yamllint
new file mode 100644
index 0000000..fb924d7
--- /dev/null
+++ b/.yamllint
@@ -0,0 +1,32 @@
+---
+yaml-files:
+ - '*.yaml'
+ - '*.yml'
+ - '.yamllint'
+
+rules:
+ braces: enable
+ brackets: enable
+ colons: enable
+ commas: enable
+ comments:
+ level: warning
+ comments-indentation:
+ level: warning
+ document-end: disable
+ document-start:
+ level: warning
+ empty-lines: enable
+ empty-values: disable
+ hyphens: enable
+ indentation: enable
+ key-duplicates: enable
+ key-ordering: disable
+ line-length: disable
+ new-line-at-end-of-file: enable
+ new-lines: enable
+ octal-values: disable
+ quoted-strings: disable
+ trailing-spaces: enable
+ truthy:
+ level: error