mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
c2e9daad1e
* Migrated loki syntax and labels logic to useLokiSyntax hook * Enable loki labels refresh after specified interval has passed * Enable periodic loki labels refresh when labels selector is opened * Fix prettier * Add react-hooks-testing-library and disable lib check on typecheck * Add tests for loki syntax/label hooks * Move tsc's skipLibCheck option to tsconfig for webpack to pick it up * Set log labels refresh marker variable when log labels fetch start * Fix prettier issues * Fix type on activeOption in useLokiLabel hook * Typo fixes and types in useLokiSyntax hook test fixes * Make sure effect's setState is not performed on unmounted component * Extract logic for checking if is component mounted to a separate hook
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"moduleResolution": "node",
|
|
"outDir": "public/dist",
|
|
"target": "es5",
|
|
"lib": ["es6", "dom"],
|
|
"rootDirs": ["public/"],
|
|
"jsx": "react",
|
|
"module": "esnext",
|
|
"declaration": false,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"importHelpers": true,
|
|
"noEmitHelpers": true,
|
|
"removeComments": false,
|
|
"inlineSourceMap": false,
|
|
"sourceMap": true,
|
|
"noEmitOnError": false,
|
|
"emitDecoratorMetadata": false,
|
|
"experimentalDecorators": true,
|
|
"noImplicitReturns": true,
|
|
"noImplicitThis": true,
|
|
"noImplicitUseStrict": false,
|
|
"noImplicitAny": false,
|
|
"downlevelIteration": true,
|
|
"noUnusedLocals": true,
|
|
"baseUrl": "public",
|
|
"pretty": true,
|
|
"typeRoots": ["node_modules/@types", "public/app/types"],
|
|
"paths": {
|
|
"app": ["app"],
|
|
"sass": ["sass"]
|
|
},
|
|
"skipLibCheck": true
|
|
},
|
|
"include": ["public/app/**/*.ts", "public/app/**/*.tsx", "public/test/**/*.ts", "public/vendor/**/*.ts"]
|
|
}
|