Skip to content

Make the ESLint plugin compatible with the last ESLint versions with flat configurations #50

@AMorgaut

Description

@AMorgaut

Current Behavior

The plugin ESLint plugin is not compatible with the latest ESLint versions which requires flat configuration

Expected Behavior

It should be possible to integrate the Ecocode ESLint config into projects using recent ESLint versions which don't support .eslintrc config file anymore but require an eslint.config.json file with flat configurations

Steps to Reproduce

  1. update a project to ESLint 8.23
  2. run ESLint

Failure Logs

No response

ecoCode-javascript Version

1.15

SonarQube Version

N/A

Additional Information

The plugin should follow the ESLint migration guide
https://eslint.org/docs/latest/extend/plugin-migration-flat-config

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions