@josephmcg/eslint-config-next
v4.0.1
Published
ESLint config for Next.js projects
Downloads
145
Readme
eslint-config-next ·

[!CAUTION] This package is deprecated. I'm switching all projects to oxlint, and would suggest you do the same.
pnpm i -D @josephmcg/eslint-config-next// eslint.config.js
import josephmcgConfigNext from '@josephmcg/eslint-config-next'
import { defineConfig } from 'eslint/config'
import tseslint from 'typescript-eslint'
const config = defineConfig(josephmcgConfigNext, {
languageOptions: {
parser: tseslint.parser,
parserOptions: {
ecmaFeatures: {
jsx: true,
},
project: './tsconfig.json',
sourceType: 'module',
tsconfigRootDir: import.meta.dirname,
warnOnUnsupportedTypeScriptVersion: true,
},
},
})