daa0f22587
* chore(NA): ensure scripts run with --preserve-symlinks * chore(NA): run webpack configs with symlinks: false * chore(NA): fix pkg json load on kbn test * chore(NA): add script into setup node env * chore(NA): fix kbn test for relative improt * chore(NA): fix change on docs * chore(NA): move ensure node preserve symlinks into setup node env * chore(NA): update changed docs * chore(NA): update jest unit test * chore(NA): fix wrapper script exit code * chore(NA): updated generated plugin list docs * fix(NA): make functional test runner use kbn utils repo_root * chore(NA): fix eslint imports * chore(NA): missing react correct config on eslint package * chore(NA): use correct value to make test pass locally * chore(NA): fix jest tests * chore(NA): try remove extra preserve symlinks * chore(NA): fix windows environment * chore(NA): fix kbn-optimizer to run with preserve-symlinks * chore(NA): fix integration jest test for kbn/optimizer * chore(NA): remove require.resolve from eslintrc.js * chore(NA): avoid load json file * chore(NA): move kbn/utils import into kbn/dev-utils * chore(NA): use correct dependencies on eslint config package Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
60 lines
2.4 KiB
JSON
60 lines
2.4 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
// Allows for importing from `kibana` package for the exported types.
|
|
"kibana": ["./kibana"],
|
|
"kibana/public": ["src/core/public"],
|
|
"kibana/server": ["src/core/server"]
|
|
},
|
|
// Support .tsx files and transform JSX into calls to React.createElement
|
|
"jsx": "react",
|
|
// Enables all strict type checking options.
|
|
"strict": true,
|
|
// save information about the project graph on disk
|
|
"incremental": true,
|
|
// Do not check d.ts files by default
|
|
"skipLibCheck": true,
|
|
// enables "core language features"
|
|
"lib": [
|
|
"esnext",
|
|
// includes support for browser APIs
|
|
"dom"
|
|
],
|
|
// Node 8 should support everything output by esnext, we override this
|
|
// in webpack with loader-level compiler options
|
|
"target": "esnext",
|
|
// Use commonjs for node, overridden in webpack to keep import statements
|
|
// to maintain support for things like `await import()`
|
|
"module": "commonjs",
|
|
// Allows default imports from modules with no default export. This does not affect code emit, just type checking.
|
|
// We have to enable this option explicitly since `esModuleInterop` doesn't enable it automatically when ES2015 or
|
|
// ESNext module format is used.
|
|
"allowSyntheticDefaultImports": true,
|
|
// Emits __importStar and __importDefault helpers for runtime babel ecosystem compatibility.
|
|
"esModuleInterop": true,
|
|
// Resolve modules in the same way as Node.js. Aka make `require` works the
|
|
// same in TypeScript as it does in Node.js.
|
|
"moduleResolution": "node",
|
|
// Do not resolve the real path of symlinks
|
|
"preserveSymlinks": true,
|
|
// "resolveJsonModule" allows for importing, extracting types from and generating .json files.
|
|
"resolveJsonModule": true,
|
|
// Disallow inconsistently-cased references to the same file.
|
|
"forceConsistentCasingInFileNames": false,
|
|
// Forbid unused local variables as the rule was deprecated by ts-lint
|
|
"noUnusedLocals": true,
|
|
// Provide full support for iterables in for..of, spread and destructuring when targeting ES5 or ES3.
|
|
"downlevelIteration": true,
|
|
// import tslib helpers rather than inlining helpers for iteration or spreading, for instance
|
|
"importHelpers": true,
|
|
// adding global typings
|
|
"types": [
|
|
"node",
|
|
"jest",
|
|
"flot",
|
|
"jest-styled-components",
|
|
"@testing-library/jest-dom"
|
|
]
|
|
}
|
|
}
|