Summary: Since tsc strips comments when writing plugins the dx is lacking as the doumentated comments are not discoverable via hovers in text editors Reviewed By: aigoncharov Differential Revision: D44498403 fbshipit-source-id: 8fe262f2d815adfbe989ece5d783359c9af4d180
37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"lib": ["ES2019"],
|
|
"esModuleInterop": true,
|
|
"target": "ES2019",
|
|
"removeComments": false,
|
|
"preserveConstEnums": true,
|
|
"sourceMap": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"jsx": "react",
|
|
"moduleResolution": "node",
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"useUnknownInCatchVariables": false,
|
|
"composite": true,
|
|
"incremental": true,
|
|
"baseUrl": ".",
|
|
"allowJs": true,
|
|
"rootDir": ".",
|
|
"paths": {
|
|
"flipper": ["./app/src/"],
|
|
"flipper-plugin": ["./flipper-plugin/src"],
|
|
"eslint-plugin-flipper": ["./eslint-plugin-flipper/src"],
|
|
"flipper-server-core": ["./flipper-server-core/src"],
|
|
"flipper-server-ui": ["./flipper-server-ui/src"],
|
|
"flipper-common": ["./flipper-common/src"],
|
|
"flipper-*": ["./*/src"]
|
|
},
|
|
// by default we don't include any @types, as to white list them specifically per project.
|
|
// this avoids hoised @types packages being shared by all projects implicitly
|
|
"types": []
|
|
},
|
|
"exclude": ["**/lib/", "**/dist/", "**/node_modules/", "**/__tests__/"]
|
|
}
|