• Michael Baudino's avatar
    chore(ci): configure linters to run locally · 4673138c
    Michael Baudino authored
    This commit organizes linters in scripts that are included in the
    codebase, rather than configured only for Gitlab CI.
    
    This way, the Gitlab CI configuration is simplified (it simply calls
    the scripts) and they can be run locally (either manually or triggered
    by git hooks: I recommend linting commit messages in the `commit-msg`
    hook and everything else in the `pre-commit` hook).
    
    Those scripts are located in `test/lint` and a handy wrapper script has
    been created at the root of the project for quick manual run:
    `run_linters`.
    
    This commit also adds a neat build badge on README 
    4673138c
Name
Last commit
Last update
.gitlab/merge_request_templates Loading commit data...
board/recalbox Loading commit data...
buildroot @ f44524f6 Loading commit data...
configs Loading commit data...
custom Loading commit data...
devdocs Loading commit data...
package Loading commit data...
scripts/linux Loading commit data...
test/lint Loading commit data...
updatesv2 Loading commit data...
.dockerignore Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
CHANGELOG.md Loading commit data...
Config.in Loading commit data...
Dockerfile Loading commit data...
LICENSE.md Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE-NOTES.md Loading commit data...
commitlint.config.js Loading commit data...
external.desc Loading commit data...
external.mk Loading commit data...
run_linters Loading commit data...