Removes the `Env` parameter from several functions to simplify their signatures and rely on the global `env` for configuration. This change reduces the number of arguments passed around, making the code cleaner and easier to maintain.
40 lines
829 B
JSON
40 lines
829 B
JSON
{
|
|
"compilerOptions": {
|
|
"types": ["@types/bun"],
|
|
"baseUrl": "./",
|
|
"paths": {
|
|
"~/*": ["src/*"]
|
|
},
|
|
|
|
// Enable latest features
|
|
"lib": ["ESNext"],
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
|
|
// Bundler mode
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"noEmit": true,
|
|
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
// Some stricter flags
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": false,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
|
|
// plugins
|
|
"plugins": [
|
|
{
|
|
"name": "@0no-co/graphqlsp",
|
|
"schema": "https://graphql.anilist.co",
|
|
"tadaOutputLocation": "./src/types/anilist-graphql.d.ts"
|
|
}
|
|
]
|
|
}
|
|
}
|