singularit-de / eslint-config

MIT License
2 stars 4 forks source link

Starting with Eslint Version 9.0.0 Eslint Configs should be flat configs #55

Open Moerlin1337 opened 2 months ago

Moerlin1337 commented 2 months ago

https://eslint.org/docs/latest/use/configure/migration-guide

Moerlin1337 commented 2 months ago

For a temporary workaround you can use FlatCompat (https://eslint.org/docs/latest/use/configure/migration-guide#using-eslintrc-configs-in-flat-config). Note: for Node v21.2.0, v20.11.0 and above you should use import.meta.dirname instead of the CommonJS __dirname workaround