Super linter is a combination of various linters written in
bash. This Super linter actions goal is to,
- Prevent broken code from being uploaded to the default branch (usually master)
- Help establish coding best practices across multiple languages
- Build guidelines for code layout and format
- Automate the process to help streamline code reviews
When Github Action executed, Super linter action will flag issues in the console. Possible fixes are suggested but not fixed automatically, and the pull request will fail.
Sample Github Action flow for linting
The above action will pull the
super-linter:v2.1.0 image down from DockerHub and run the GitHub Super-Linter.
VALIDATE_ALL_CODEBASE Will parse the entire repository and find all files to validate across all types.
Complete Action flow Example can found in Super Linter’s README.md
We can also run this Super Linter Locally, follow steps mentioned here, Run Super Linter Local
Read About Github Mobile App