Skip to content

CI: Align /mongo-lib codebase to super-linter #46

@cyri113

Description

@cyri113

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.

Tasks

  • 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

Prerequisites

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions