File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { dirname } from 'path';
66import { fileURLToPath } from 'url' ;
77import { FlatCompat } from '@eslint/eslintrc' ;
88import eslintConfigPrettier from 'eslint-config-prettier/flat' ;
9+ import oxlint from 'eslint-plugin-oxlint' ;
910// import pluginQuery from '@tanstack/eslint-plugin-query';
1011
1112const __filename = fileURLToPath ( import . meta. url ) ;
@@ -72,6 +73,7 @@ const eslintConfig = ts.config(
7273 // ],
7374 } ,
7475 } ,
76+ ...oxlint . configs [ 'flat/recommended' ] , // oxlint should be the last one
7577) ;
7678
7779export default eslintConfig ;
Original file line number Diff line number Diff line change 1111 "dev:sw" : " next dev --experimental-https" ,
1212 "build" : " next build" ,
1313 "start" : " next start" ,
14- "lint" : " eslint ." ,
14+ "lint" : " pnpm exec oxlint && eslint ." ,
1515 "lint:fix" : " eslint --fix ." ,
1616 "fmt" : " prettier --check ." ,
1717 "fmt:fix" : " prettier --write ." ,
5858 "eslint" : " 9.33.0" ,
5959 "eslint-config-next" : " 15.5.0" ,
6060 "eslint-config-prettier" : " 10.1.8" ,
61+ "eslint-plugin-oxlint" : " 1.11.2" ,
6162 "prettier" : " 3.6.2" ,
6263 "prettier-plugin-tailwindcss" : " 0.6.14" ,
6364 "tailwindcss" : " 4.1.12" ,
You can’t perform that action at this time.
0 commit comments