Code_quality with eslint-modules

Unfortunately the code_quality job does not run anymore as soon as a add some eslint-modules

Executing "step_script" stage of the job script03:39    
[33](https://gitlab.com/hwl/tms-road/hwl-road-frontend/-/jobs/1121767124#L33)$ export  
SOURCE_CODE=$PWD
[34](https://gitlab.com/hwl/tms-road/hwl-road-frontend/-/jobs/1121767124#L34)$ if ! docker info 
&>/dev/null; then # collapsed multi-line command
[35](https://gitlab.com/hwl/tms-road/hwl-road-frontend/-/jobs/1121767124#L35)$ function 
propagate_env_vars() { # collapsed multi-line command
[36](https://gitlab.com/hwl/tms-road/hwl-road-frontend/-/jobs/1121767124#L36)$ docker pull --quiet 
"$CODE_QUALITY_IMAGE"
[37](https://gitlab.com/hwl/tms-road/hwl-road- 
frontend/-/jobs/1121767124#L37)registry.gitlab.com/gitlab-org/ci-cd/codequality:0.85.23
[38](https://gitlab.com/hwl/tms-road/hwl-road-frontend/-/jobs/1121767124#L38)$ docker run \ # 
collapsed multi-line command
[39](https://gitlab.com/hwl/tms-road/hwl-road-frontend/-/jobs/1121767124#L39)error: 
(CC::CLI::Analyze::EngineFailure) engine eslint failed with status 1 and stderr
[40](https://gitlab.com/hwl/tms-road/hwl-road-frontend/-/jobs/1121767124#L40)Module not supported: 
@open-wc/eslint-config
[41](https://gitlab.com/hwl/tms-road/hwl-road-frontend/-/jobs/1121767124#L41)Module not supported: 
sonarjs
[42](https://gitlab.com/hwl/tms-road/hwl-road-frontend/-/jobs/1121767124#L42)Module not supported: 
plugin:sonarjs/recommended
[43](https://gitlab.com/hwl/tms-road/hwl-road-frontend/-/jobs/1121767124#L43)Module not supported: 
mocha-no-only
[44](https://gitlab.com/hwl/tms-road/hwl-road- 
frontend/-/jobs/1121767124#L44)/usr/local/node_modules/eslint/lib/linter/linter.js:1194
[45](https://gitlab.com/hwl/tms-road/hwl-road-frontend/-/jobs/1121767124#L45) throw err;

Extract of .eslintrc.json

{
"extends": [
	"@open-wc/eslint-config",
	"prettier",
	"plugin:sonarjs/recommended",
	"plugin:prettier/recommended"  // Enables eslint-plugin-prettier and displays prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
],
"parserOptions": {
	"ecmaVersion": 8,
	"sourceType": "module",
	"ecmaFeatures": {
		"modules": true
	}
},
"plugins": [
	"mocha-no-only",
	"prettier",
	"chai-friendly",
	"sonarjs"
],
  • What version are you on? Are you using self-managed or GitLab.com?

    • *GitLab
  • Add the CI configuration from .gitlab-ci.yml and other configuration if relevant (e.g. docker-compose.yml)

    code_quality:
    stage: check
    rules:

    • if: ‘$POPULATE_CACHES == “1”’
      when: never
    • if: ‘$CI_PIPELINE_SOURCE == “merge_request_event”’
      when: always
    • if: ‘$CI_COMMIT_REF_NAME == “master” || $CI_COMMIT_REF_NAME == “develop”’
      when: always
      needs: