[VOL-5297] Add more pre-commit linters.
.pre-commit-config.yaml
-----------------------
o Document where the latest config file can be copied from.
o [todo] install this as a git submodule -- lf/pre-commit.
bin/setup.sh
------------
o Greatly simplify the installer.
o No longer need to preserve makefiles/ when transitioning.
o Git submodule installed into lf/onf-make/ so simply
mkdir and git submodule <path>.
Makefile
--------
o Added convenience makefile target view used to
pre-screening README.md markdown edits before publishing
to the repository for final rendering/browser viewing.
Signed-off-by: Joey Armstrong <jarmstrong@linuxfoundation.org>
Change-Id: I946336e37253be2a6f675ed47c01005edf27c1ab
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 41f6167..2c36136 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,6 +3,9 @@
# -----------------------------------------------------------------------
# [NOTE] - Propogate .pre-commit-config.yaml edits to all repositories!
# -----------------------------------------------------------------------
+# [NOTE] - Common config file source lives in repo:onf-make
+# - https://gerrit.opencord.org/plugins/gitiles/onf-make/+/refs/heads/master/.pre-commit-config.yaml
+# -----------------------------------------------------------------------
# [TODO]
# - pre-commit yaml config exists individually within repositories.
# - Generally lint config and benavior is consistent for all repos.