Skip to content

Commit

Permalink
refactor: add new ts rules to tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
drondiodev committed Jul 24, 2024
1 parent bf0ef40 commit 370a3b3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"strictNullChecks": true,
"noUncheckedIndexedAccess": true,
"noEmit": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
Expand All @@ -17,8 +20,11 @@
"name": "next"
}
],
// Path aliases
"baseUrl": ".",
"paths": {
"@/*": ["./*"]
"@/*": ["./*"],
"@/public/*": ["./public/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
Expand Down

0 comments on commit 370a3b3

Please sign in to comment.