Migrate yamllint to pre-commit hook 69/64969/1
authorThanh Ha <zxiiro@gmail.com>
Sat, 8 Aug 2020 19:08:14 +0000 (15:08 -0400)
committerThanh Ha <zxiiro@gmail.com>
Sat, 8 Aug 2020 19:13:23 +0000 (15:13 -0400)
commit4dd6c7deb380d1c3ade66d5d11596d4d6be05f15
treeb611a64117be29842a90f37d56a898ea5cbb12ac
parentc0d2317f7c18b84226d79338acca1ed237e24454
Migrate yamllint to pre-commit hook

We'd like to move off of Coala as it hasn't had a release in a very
long time. This patch sets up the pre-commit configuration for the
yamllint hook as well as "prettier" for automated file formatting.

This patch also sets YAML indents to 2 as it is the corrent dominant
indent size for the YAML files in this project.

Issue: RELENG-2642
Change-Id: I3827d922023ac18519d94c906b211274ff3e65d9
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
.coafile
.editorconfig
.pre-commit-config.yaml
.yamllint.yaml [moved from yamllint.conf with 100% similarity]
docs_conf/defaults/default.yaml
docs_conf/defaults/lfdocs.yaml
docs_conf/defaults/onap.yaml
docs_conf/defaults/opendaylight.yaml
docs_conf/defaults/opnfv.yaml
docs_conf/defaults/oran.yaml
examples/conf.yaml