Files
react-native-devtools-frontend/tsconfig.json
T
Tim van der Lippe 86825d0d19 Fix harmless problems reported by VS Code
The "Problems" tab in VS Code normally shows the problems that exist
in the project (e.g. the red squigglies). However, currently it lists
1001 problems with the following message:

Cannot write file 'devtools-frontend/front_end/RuntimeInstantiator.js' because it would overwrite input file.

Since we define the `outDir` in `ts_library.py`, we don't see this error
when we are building DevTools. However, since we use a separate
tsconfig.json solely to please tools like VS Code, we have to deal
with a separate config.

Therefore, to "hide" these problems, specify a dummy outdir. This outDir
is not used by `ts_library.py` and thus won't cause any problems.
But then VS Code will stop complaining.

R=aerotwist@chromium.org

Bug: 1011811
Change-Id: Ie2db5af953cf38e5bb2c867df0047f110ec88a21
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2380270
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Paul Lewis <aerotwist@chromium.org>
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2020-08-27 16:44:47 +00:00

19 lines
267 B
JSON

{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"lib": [
"esnext",
"dom",
"webworker"
],
"outDir": "ignored-for-vscode"
},
"include": [
"front_end/",
"test/"
],
"exclude": [
"front_end/externs.js"
]
}