This repository was archived by the owner on Aug 10, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
03-url-bookmark-saver/frontend
04-architecture-diagram/frontend Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import { dirname } from "path" ;
2+ import { fileURLToPath } from "url" ;
3+ import { FlatCompat } from "@eslint/eslintrc" ;
4+
5+ const __filename = fileURLToPath ( import . meta. url ) ;
6+ const __dirname = dirname ( __filename ) ;
7+
8+ const compat = new FlatCompat ( { baseDirectory : __dirname } ) ;
9+
10+ export default [
11+ ...compat . extends ( "next/core-web-vitals" ) ,
12+ ] ;
Original file line number Diff line number Diff line change 66 "dev" : " next dev -p 3000" ,
77 "build" : " next build" ,
88 "start" : " next start" ,
9- "lint" : " next lint ."
9+ "lint" : " eslint ."
1010 },
1111 "dependencies" : {
1212 "next" : " ^16.2.4" ,
1919 "@types/react-dom" : " ^19.2.3" ,
2020 "@tailwindcss/postcss" : " ^4.2.4" ,
2121 "autoprefixer" : " ^10.5.0" ,
22+ "@eslint/eslintrc" : " ^3.3.1" ,
2223 "eslint" : " ^10.2.1" ,
2324 "eslint-config-next" : " ^16.2.4" ,
2425 "postcss" : " ^8.5.10" ,
Original file line number Diff line number Diff line change 1+ import { dirname } from "path" ;
2+ import { fileURLToPath } from "url" ;
3+ import { FlatCompat } from "@eslint/eslintrc" ;
4+
5+ const __filename = fileURLToPath ( import . meta. url ) ;
6+ const __dirname = dirname ( __filename ) ;
7+
8+ const compat = new FlatCompat ( { baseDirectory : __dirname } ) ;
9+
10+ export default [
11+ ...compat . extends ( "next/core-web-vitals" ) ,
12+ ] ;
Original file line number Diff line number Diff line change 66 "dev" : " next dev -p 3000" ,
77 "build" : " next build" ,
88 "start" : " next start" ,
9- "lint" : " next lint ."
9+ "lint" : " eslint ."
1010 },
1111 "dependencies" : {
1212 "next" : " ^16.2.4" ,
1919 "@types/react-dom" : " ^19.2.3" ,
2020 "@tailwindcss/postcss" : " ^4.2.4" ,
2121 "autoprefixer" : " ^10.5.0" ,
22+ "@eslint/eslintrc" : " ^3.3.1" ,
2223 "eslint" : " ^10.2.1" ,
2324 "eslint-config-next" : " ^16.2.4" ,
2425 "postcss" : " ^8.5.10" ,
You can’t perform that action at this time.
0 commit comments