mirror of
https://github.com/chaoticbackup/chaoticbackup.github.io.git
synced 2026-03-21 17:24:14 -05:00
58 lines
1.8 KiB
JSON
58 lines
1.8 KiB
JSON
{
|
|
"compilerOptions": {
|
|
// Target latest version of ECMAScript.
|
|
"target": "esnext",
|
|
// Search under node_modules for non-relative imports.
|
|
"moduleResolution": "node",
|
|
// Process & infer types from .js files.
|
|
"allowJs": true,
|
|
// Support jsx in .tsx files (https://www.typescriptlang.org/docs/handbook/jsx.html)
|
|
"jsx": "react",
|
|
// Specifies module code generation
|
|
"module": "esnext",
|
|
// Don't emit; allow Babel to transform files.
|
|
"noEmit": true,
|
|
// Enable strictest settings like strictNullChecks & noImplicitAny.
|
|
// "strict": true,
|
|
"noImplicitAny": false,
|
|
"noImplicitThis": true,
|
|
"strictNullChecks": true,
|
|
"alwaysStrict": false,
|
|
"strictBindCallApply": true,
|
|
"strictFunctionTypes": true,
|
|
"strictPropertyInitialization": false,
|
|
"suppressImplicitAnyIndexErrors": true,
|
|
// Disallow features that require cross-file information for emit.
|
|
"isolatedModules": true,
|
|
// Import non-ES modules as default imports.
|
|
"esModuleInterop": true,
|
|
// Allow default imports from modules with no default export (e.g
|
|
// import React from "React")
|
|
"allowSyntheticDefaultImports": true,
|
|
// Include modules imported with .json extension.
|
|
"resolveJsonModule": true,
|
|
// Library files to be used in the project.
|
|
// Tells the compiler that "DOM-APIs" and new ECMAScript features are valid.
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
// Allows @decorators
|
|
"experimentalDecorators": true,
|
|
// List of folders to include type definitions from.
|
|
"typeRoots": [
|
|
"./node_modules/@types",
|
|
"./src/components/modules.d.ts"
|
|
],
|
|
// Skips checking libraries
|
|
"skipLibCheck": true,
|
|
// Emite source map for Babel
|
|
"inlineSourceMap": true
|
|
},
|
|
"include": [
|
|
"src/components",
|
|
".eslintrc.js"
|
|
],
|
|
"exclude": [
|
|
"build",
|
|
"**/*.spec.ts"
|
|
]
|
|
}
|