research-software-directory / RSD-as-a-service

This repo contains the new RSD-as-a-service implementation
https://research.software
23 stars 14 forks source link

Upgrade eslint naar v9 and setup prettier #1198

Open dmijatovic opened 4 months ago

dmijatovic commented 4 months ago

We should upgrade eslint to v9 and use prettier as formatter.

Currently we use eslint for both linting and formatting. The formatting rules will be removed from eslint in the future.

We will need to update eslint and configure prettier.

ewan-escience commented 1 month ago

A migration guide can be found here. Notable is that the configuration format has changed, for which a migration quide exists as well.

ewan-escience commented 1 month ago

As mentioned in #1274, Eslint 9 doesn't work with Next.js (yet). Therefore, we will wait until an upgrade makes Next.js compatible again. In the meanwhile, we could also have a look at Biome.