Skip to content

Extend linting in CI

Kristóf Marussy requested to merge kris7t/sophie:extend-ci into main

This MR adds more eslint plugins into the mix to ensure good code quality. This is based on the plugins from create-exposed-app, which is the personal configuration of the eslint-config-airbnb-typescript author:

In addition, we enable eslint-plugin-security. This is quite an old plugin, but it's the part of SAST that we managed to get working (see !11 (closed)). Enabling it will (hopefully) have a similar effect to SAST.

This MR also configures some pre-commit hooks to run the linter and tests, and upload test and coverage reports into the gitlab pipeline.

Signed-off-by: Kristóf Marussy kristof@marussy.com

Merge request reports