Migrate to ESLint Flat Config
What does this MR do and why?
Migrates GitLab' ESLint configs to the Flat Config format. This format is the new standard in the ESLint ecosystem, and is required for upgrading to ESLint 9.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
-
Lint all files:
yarn lint:eslint:all
-
Or lint specific files:
yarn lint:eslint app/assets/javascripts/todos/components/queries/get_todos.query.graphql yarn lint:eslint spec/frontend/todos/components/todo_app_spec.js yarn lint:eslint app/assets/javascripts/jira_connect # ...
Related to #473025 (closed)
Edited by Paul Gascou-Vaillancourt