There are a lot of global settings and configurations that should be applied on all repos that we have. These settings can be found here.
The standards for linting for all files are defined in .github/workflows/linting.yml
.
The specific linters used and any custom configurations are found below.
To add this workflow to a new project, simply copy .github/workflows/linting.yml
into the .github/workflows/
directory of the project and choose the languages
to be used.
Language | Linter |
---|---|
CSS | stylelint |
Dockerfile | dockerfilelint |
Golang | golangci-lint |
JavaScript/Typescript | eslint standard js |
JSON | jsonlint |
Markdown | markdownlint |
Python3 | pylint black |
Shell | Shellcheck |
YAML | YamlLint |