We have no standardised linter, which means that every repositories coding standards may defer. This makes it more of a challenge to easily work on multiple repositories. Our CI currently runs this process using super-linter, so it will be necessary for our services to meet the same standard, else the CI will fail.
docker run -e RUN_LOCAL=true -e TYPESCRIPT_DEFAULT_STYLE=prettier -e VALIDATE_DOCKERFILE_HADOLINT=false -v $(pwd):/tmp/lint github/super-linter:slim-latest
Problem
We have no standardised linter, which means that every repositories coding standards may defer. This makes it more of a challenge to easily work on multiple repositories. Our CI currently runs this process using super-linter, so it will be necessary for our services to meet the same standard, else the CI will fail.
Solution
We will use super-linter, in order to validate that our code meets certain standards. The library support almost every codebase, making it ideal for our use case.
We will need to adapt our codebase in order to validate the following command:
Tasks
Prerequisites