-
mateuszmiko authoredmateuszmiko authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
tsconfig.json 1.31 KiB
{
"compilerOptions": {
"target": "ES6",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"pages",
"@types/images.d.ts",
"jest.config.ts",
"setupTests.ts"
],
"exclude": ["node_modules", "cypress/**/*.ts", "cypress.config.ts"],
"noFallthroughCasesInSwitch": true, //Ensures that any non-empty case inside a switch statement includes either break, return, or throw.
"noImplicitReturns": true, // check all code paths in a function to ensure they return a value.
"noUnusedLocals": true, // Report errors on unused local variables.
"noUnusedParameters": true, //Report errors on unused parameters in functions.
"allowSyntheticDefaultImports": true, // allows to import modules like this: "import React from "react";" instead of "import * as React from "react";"
"forceConsistentCasingInFileNames": true
}