forumone / nextjs-project

Next.js project template
0 stars 0 forks source link

Update ESLint config to new flat-file format #134

Open kmonahan opened 4 months ago

kmonahan commented 4 months ago

ESLint v8 introduced a new config format and the existing .eslintrc.json format we're using is deprecated in ESLint v9. We're currently blocked on updating to ESLint v9 until https://github.com/airbnb/javascript/issues/2961 is resolved, but looks like we can switch to the new config format in the mean time, so long as we enable it.

https://eslint.org/docs/v8.x/use/configure/configuration-files-new

kmonahan commented 2 weeks ago

Decision at 11/12 check-in: use eslint-config:recommended (possibly with a few additional rules enabled) across projects and upgrade to ESLint 9.