Update to latest nextjs 16.0.0
This commit is contained in:
		@ -1,3 +1,5 @@
 | 
			
		||||
import nextCoreWebVitals from "eslint-config-next/core-web-vitals";
 | 
			
		||||
import nextTypescript from "eslint-config-next/typescript";
 | 
			
		||||
import { FlatCompat } from "@eslint/eslintrc";
 | 
			
		||||
import { dirname } from "path";
 | 
			
		||||
import { fileURLToPath } from "url";
 | 
			
		||||
@ -9,8 +11,8 @@ const compat = new FlatCompat({
 | 
			
		||||
  baseDirectory: __dirname,
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
const eslintConfig = [
 | 
			
		||||
  ...compat.extends("next/core-web-vitals", "next/typescript", "prettier"),
 | 
			
		||||
];
 | 
			
		||||
const eslintConfig = [...nextCoreWebVitals, ...nextTypescript, ...compat.extends("prettier"), {
 | 
			
		||||
  ignores: ["node_modules/**", ".next/**", "out/**", "build/**", "next-env.d.ts"]
 | 
			
		||||
}];
 | 
			
		||||
 | 
			
		||||
export default eslintConfig;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user