1+
12import { FlatCompat } from "@eslint/eslintrc" ;
23import tseslint from "typescript-eslint" ;
34
@@ -12,28 +13,8 @@ export default tseslint.config(
1213 ...compat . extends ( "next/core-web-vitals" ) ,
1314 {
1415 files : [ "**/*.ts" , "**/*.tsx" ] ,
15- extends : [
16- ...tseslint . configs . recommended ,
17- ...tseslint . configs . recommendedTypeChecked ,
18- ...tseslint . configs . stylisticTypeChecked ,
19- ] ,
20- rules : {
21- "@typescript-eslint/array-type" : "off" ,
22- "@typescript-eslint/consistent-type-definitions" : "off" ,
23- "@typescript-eslint/consistent-type-imports" : [
24- "warn" ,
25- { prefer : "type-imports" , fixStyle : "inline-type-imports" } ,
26- ] ,
27- "@typescript-eslint/no-unused-vars" : [
28- "warn" ,
29- { argsIgnorePattern : "^_" } ,
30- ] ,
31- "@typescript-eslint/require-await" : "off" ,
32- "@typescript-eslint/no-misused-promises" : [
33- "error" ,
34- { checksVoidReturn : { attributes : false } } ,
35- ] ,
36- } ,
16+ // Removed recommended, recommendedTypeChecked, and stylisticTypeChecked
17+ extends : [ ] ,
3718 } ,
3819 {
3920 linterOptions : {
0 commit comments