File tree Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 1+ import nextCoreWebVitals from "eslint-config-next/core-web-vitals" ;
2+ import nextTypescript from "eslint-config-next/typescript" ;
13import path from "node:path" ;
24import { fileURLToPath } from "node:url" ;
35import js from "@eslint/js" ;
@@ -12,10 +14,19 @@ const compat = new FlatCompat({
1214} ) ;
1315
1416export default [
15- ...compat . extends (
16- "prettier" ,
17- "eslint:recommended" ,
18- "plugin:@typescript-eslint/recommended" ,
19- "plugin:@next/next/core-web-vitals" ,
20- ) ,
17+ ...nextCoreWebVitals ,
18+ ...nextTypescript ,
19+ ...compat . extends ( "prettier" ) ,
20+ ...compat . extends ( "eslint:recommended" ) ,
21+ ...compat . extends ( "plugin:@typescript-eslint/recommended" ) ,
22+ ...compat . extends ( "plugin:@next/next/core-web-vitals" ) ,
23+ {
24+ ignores : [
25+ "node_modules/**" ,
26+ ".next/**" ,
27+ "out/**" ,
28+ "build/**" ,
29+ "next-env.d.ts" ,
30+ ] ,
31+ } ,
2132] ;
Original file line number Diff line number Diff line change 66 "dev" : " next dev" ,
77 "build" : " next build" ,
88 "start" : " next start" ,
9- "lint" : " next lint "
9+ "lint" : " eslint . "
1010 },
1111 "dependencies" : {
1212 "@mantine/charts" : " ^8.3.5" ,
2222 "recharts" : " ^3.3.0"
2323 },
2424 "devDependencies" : {
25- "@eslint/eslintrc" : " ^3.3.1" ,
2625 "@eslint/js" : " ^9.38.0" ,
2726 "@types/d3" : " ^7.4.3" ,
2827 "@types/jsdom" : " ^27.0.0" ,
You can’t perform that action at this time.
0 commit comments