Skip to content

Fail CI on ESLint warnings and fix existing ones

Daniel Gerhardt requested to merge eslint-fail-ci-on-warnings into master

ESLint warnings are ignored when they are just logged. The CI job will now fail if there are warnings. A separate ESLint config has been added so it possible to define exceptions. Currently, the following rules enabled rules do not trigger a failure:

  • @typescript-eslint/no-explicit-any

Closes: #1296 (closed)
Depends-on: !2036 (merged)

Merge request reports