t3-oss / create-t3-app

The best way to start a full-stack, typesafe Next.js app
https://create.t3.gg
MIT License
24.85k stars 1.14k forks source link

feat: update to utilise the new ESLint flat file config. #1955

Open maclong9 opened 1 month ago

maclong9 commented 1 month ago

Is your feature request related to a problem? Please describe.

This cli tool is great for setting up a project with a good base stack really quickly, only snag in productivity at the moment is requiring the conversion of .eslintrc.json to the new eslint.config.{m|c}js format.

Describe the solution you'd like to see

Update the standard configuration to utilise the new flat file configuration.

Describe alternate solutions

Write a codemod script that can be run by developers who want to use the new format.

Additional information

No response

juliusmarminge commented 1 month ago

only snag in productivity at the moment is requiring the conversion of .eslintrc.json to the new eslint.config.{m|c}js format.

This is a bit of a stretch given a lot (probably a large majority actually) still doesn't support FlatConfig natively