mirror of
https://github.com/AnimeThemes/animethemes-web.git
synced 2026-07-11 01:24:31 +02:00
f85e21b8c9
* Reformated all files with Prettier. * Updated GraphQL codegen. * Updated ESLint (including rule config). * Updated TypeScript. * Eliminated most ESLint warnings (especially usage of the `any` type). * Rewrote parts of the API resolver logic to be more type-safe. * Added IP forwarding for API requests.
31 lines
833 B
JSON
31 lines
833 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": "src",
|
|
"paths": {
|
|
"@/*": ["./*"]
|
|
},
|
|
"target": "es2017",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"incremental": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"verbatimModuleSyntax": true
|
|
},
|
|
"include": ["next-env.d.ts", "**/*.mjs", "**/*.ts", "**/*.tsx", "src/generated/graphql.ts"],
|
|
"exclude": ["node_modules"],
|
|
"ts-node": {
|
|
"compilerOptions": {
|
|
"module": "CommonJS"
|
|
}
|
|
}
|
|
}
|