140 lines
3.3 KiB
JSON
140 lines
3.3 KiB
JSON
|
{
|
||
|
"$schema": "http://json.schemastore.org/tsconfig",
|
||
|
"compilerOptions": {
|
||
|
// Type Checking
|
||
|
"allowUnreachableCode": false,
|
||
|
"allowUnusedLabels": false,
|
||
|
"alwaysStrict": true,
|
||
|
"exactOptionalPropertyTypes": true,
|
||
|
"noFallthroughCasesInSwitch": true,
|
||
|
"noImplicitAny": true,
|
||
|
"noImplicitOverride": true,
|
||
|
"noImplicitReturns": true,
|
||
|
"noImplicitThis": true,
|
||
|
"noPropertyAccessFromIndexSignature": false,
|
||
|
"noUncheckedIndexedAccess": true,
|
||
|
"noUnusedLocals": true,
|
||
|
"noUnusedParameters": true,
|
||
|
"strict": true,
|
||
|
"strictBindCallApply": true,
|
||
|
"strictFunctionTypes": true,
|
||
|
"strictNullChecks": true,
|
||
|
"strictPropertyInitialization": true,
|
||
|
"useUnknownInCatchVariables": true,
|
||
|
|
||
|
// Modules
|
||
|
"allowArbitraryExtensions": false,
|
||
|
"allowImportingTsExtensions": false,
|
||
|
"allowUmdGlobalAccess": true,
|
||
|
// baseUrl
|
||
|
// customConditions
|
||
|
"module": "ES2015",
|
||
|
"moduleResolution": "Node",
|
||
|
// moduleSuffixes
|
||
|
// noResolve
|
||
|
// paths
|
||
|
"resolveJsonModule": false,
|
||
|
// resolvePackageJsonExports
|
||
|
// resolvePackageJsonImports
|
||
|
// rootDir
|
||
|
// rootDirs
|
||
|
"typeRoots": ["node_modules/@types", "app/javascript/@types"],
|
||
|
// types
|
||
|
|
||
|
// Emit
|
||
|
"declaration": false,
|
||
|
// declarationDir
|
||
|
// declarationMap
|
||
|
"downlevelIteration": true,
|
||
|
"emitBOM": false,
|
||
|
// emitDeclarationOnly
|
||
|
"importHelpers": false,
|
||
|
// importsNotUsedAsValues
|
||
|
"inlineSourceMap": false,
|
||
|
// inlineSources
|
||
|
// mapRoot
|
||
|
"newLine": "LF",
|
||
|
// noEmit
|
||
|
// noEmitHelpers
|
||
|
"noEmitOnError": true,
|
||
|
"outDir": "./dist",
|
||
|
// outFile
|
||
|
"preserveConstEnums": false,
|
||
|
// preserveValueImports
|
||
|
// removeComments
|
||
|
// sourceMap,
|
||
|
// sourceRoot
|
||
|
// stripInternal
|
||
|
|
||
|
// JavaScript Support
|
||
|
"allowJs": true,
|
||
|
"checkJs": true,
|
||
|
// maxNodeModuleJsDepth
|
||
|
|
||
|
// Editor Support
|
||
|
// disableSizeLimit
|
||
|
// plugins
|
||
|
|
||
|
// Interop Constraints
|
||
|
"allowSyntheticDefaultImports": true,
|
||
|
"esModuleInterop": true,
|
||
|
"forceConsistentCasingInFileNames": true,
|
||
|
// isolatedModules
|
||
|
// preserveSymlinks
|
||
|
// verbatimModuleSyntax
|
||
|
|
||
|
// Backward Compatibility
|
||
|
// charset
|
||
|
// keyofStringsOnly
|
||
|
// noImplicitUseStrict
|
||
|
// noStrictGenericChecks
|
||
|
// out
|
||
|
// suppressExcessPropertyErrors
|
||
|
// suppressImplicitAnyIndexErrors
|
||
|
|
||
|
// Language and Environment
|
||
|
// emitDecoratorMetadata
|
||
|
// experimentalDecorators
|
||
|
"jsx": "preserve",
|
||
|
// jsxFactory
|
||
|
// jsxFragmentFactory
|
||
|
// jsxImportSource
|
||
|
"lib": ["ES2022", "DOM"],
|
||
|
"moduleDetection": "force",
|
||
|
// noLib
|
||
|
// reactNamespace
|
||
|
"target": "ES2022",
|
||
|
"useDefineForClassFields": true,
|
||
|
|
||
|
// Compiler Diagnostics
|
||
|
// diagnostics
|
||
|
// explainFiles
|
||
|
// extendedDiagnostics
|
||
|
// generateCpuProfile
|
||
|
// listEmittedFiles
|
||
|
// listFiles
|
||
|
// traceResolution
|
||
|
|
||
|
// Projects
|
||
|
// composite
|
||
|
// disableReferencedProjectLoad
|
||
|
// disableSolutionSearching
|
||
|
// disableSourceOfProjectReferenceRedirect
|
||
|
// incremental
|
||
|
// tsBuildInfoFile
|
||
|
|
||
|
// Output Formatting
|
||
|
"noErrorTruncation": true,
|
||
|
// preserveWatchOutput
|
||
|
// pretty
|
||
|
|
||
|
// Completeness
|
||
|
// skipDefaultLibCheck
|
||
|
"skipLibCheck": true
|
||
|
|
||
|
// Watch Options
|
||
|
// assumeChangesOnlyAffectDirectDependencies
|
||
|
},
|
||
|
"include": ["app/javascript/**/*"]
|
||
|
}
|