The Josephmark team's basic typescript linter config for Next.js
npm i -D @josephmark/eslint-config-next
Add this to your eslint config eslint.config.js
or eslint.config.mjs
import jmNext from "@josephmark/eslint-config-next"
export default [
...jmNext,
// Add any additional rules here
]