LintΒΆ
This project provides the ability to lint various language syntax, across the entire project:
flake8
scss_lint
bootlint
puppet
: aspuppet parser validate
puppet-lint
r10k
: asr10k puppetfile check Puppetfile
jsonlint
csvlint
xmllint
mdl
shellcheck
yaml-lint
dockerlint
rstlint
Specifically, anytime code is introduced to the repository, whether through
git commit
, or some variation of git merge
, our .travis.yml
will immediately start the linter
. However, the linter
can also be
run manually, after the above depedencies have been installed
cd /vagrant/test
./linter install
Then, linting can be executed:
cd /vagrant/test
./linter run /vagrant
Note: the second argument /vagrant
, defines an acceptable current
working directory.
Note: custom configs, allow more customtomized rules, for the above implemented linters.