swarmion / swarmion

A set of tools to build and deploy type-safe Serverless microservices
https://www.swarmion.dev
MIT License
143 stars 21 forks source link

Migrate to ESLint v9 #1143

Open fargito opened 7 months ago

fargito commented 7 months ago

Clear and concise description of the problem

Merges are currently broken because our CDK generated services are not using the eslint v9 flat config

Suggested solution

Use the flat config: https://eslint.org/docs/latest/use/configure/migration-guide

Alternative

No response

Additional context

No response

Validations

fargito commented 7 months ago

Update: typescript-eslint does not yet support eslint v9. We'll wait till they do before updating. Tracking issue: https://github.com/typescript-eslint/typescript-eslint/issues/8211

fargito commented 7 months ago

In the meantime, I'll limit the generated version of eslint to 8

fargito commented 7 months ago

In #1146 the generation issue should be temporarily fixed, before implementing the long-term fix: the migration to eslint v9