File tree Expand file tree Collapse file tree 3 files changed +24
-11
lines changed Expand file tree Collapse file tree 3 files changed +24
-11
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import { FlatCompat } from '@eslint/eslintrc' ;
2+ import js from '@eslint/js' ;
3+ import path from 'path' ;
4+ import { fileURLToPath } from 'url' ;
5+
6+ const __filename = fileURLToPath ( import . meta. url ) ;
7+ const __dirname = path . dirname ( __filename ) ;
8+
9+ const compat = new FlatCompat ( {
10+ baseDirectory : __dirname ,
11+ recommendedConfig : js . configs . recommended ,
12+ } ) ;
13+
14+ export default [
15+ ...compat . extends ( 'next/core-web-vitals' ) ,
16+ {
17+ rules : {
18+ '@typescript-eslint/no-explicit-any' : 'warn' ,
19+ } ,
20+ } ,
21+ ] ;
Original file line number Diff line number Diff line change 1616 "@ant-design/icons" : " ^6.0.0" ,
1717 "@clerk/nextjs" : " ^4.31.5" ,
1818 "@clerk/themes" : " ^2.2.3" ,
19+ "@eslint/eslintrc" : " ^3.3.1" ,
1920 "@heroicons/react" : " ^2.0.18" ,
2021 "@jest/globals" : " ^29.7.0" ,
2122 "@testing-library/react" : " ^16.3.0" ,
4142 "eslint-config-next" : " 15.5.5" ,
4243 "jest" : " ^29.7.0" ,
4344 "jest-environment-jsdom" : " ^29.7.0" ,
45+ "eslint" : " 9.38.0" ,
46+ "eslint-config-next" : " 15.5.6" ,
4447 "postcss" : " 8.5.6" ,
4548 "prettier" : " ^3.5.3" ,
4649 "prettier-plugin-tailwindcss" : " ^0.7.1" ,
You can’t perform that action at this time.
0 commit comments