Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: SuperLinter #45

Open
2 of 7 tasks
cyri113 opened this issue Jul 6, 2023 · 0 comments
Open
2 of 7 tasks

CI: SuperLinter #45

cyri113 opened this issue Jul 6, 2023 · 0 comments
Assignees
Milestone

Comments

@cyri113
Copy link
Contributor

cyri113 commented Jul 6, 2023

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:

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

Tasks

Prerequisites

@cyri113 cyri113 self-assigned this Jul 6, 2023
@cyri113 cyri113 added this to the CI Sprint #1 milestone Jul 6, 2023
@cyri113 cyri113 changed the title CI: Align repositories to CI Linter CI: SuperLinter Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant