Move to lower layer for fixing eslint errors
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
/* A base TSConfig for typechecking our Next.js apps and packages. */
|
||||
"extends": "@/build-config/tsconfig-typecheck.json",
|
||||
"compilerOptions": {
|
||||
/* Also indicate expectation of a WebWorker runtime */
|
||||
"lib": ["ESnext", "DOM", "DOM.Iterable", "WebWorker"],
|
||||
|
||||
/* Next.js insists on adding these. Sigh. */
|
||||
"allowJs": true,
|
||||
"incremental": true
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
* runtime will have.
|
||||
*
|
||||
* In our case, we tell it that the code will run in a modern browser,
|
||||
* and will have access to a latest JS (esnext) and the DOM (dom). Our
|
||||
* transpiler (Next.js) will ensure that these things hold.
|
||||
* and will have access to a latest JS ("ESNext") and the DOM ("DOM")
|
||||
* and web workers ("WebWorker").
|
||||
*
|
||||
* Unlike the other individual library components (say how "esnext"
|
||||
* implies "ESNext.*"), "DOM.Iterable" (the ability to iterate over DOM
|
||||
@@ -21,7 +21,7 @@
|
||||
* Note that we don't need to specify the `target` compilerOption, since
|
||||
* tsc isn't actually generating (emitting) the JavaScript.
|
||||
*/
|
||||
"lib": ["ESnext", "DOM", "DOM.Iterable"],
|
||||
"lib": ["ESnext", "DOM", "DOM.Iterable", "WebWorker"],
|
||||
|
||||
/*
|
||||
* The module system to assume the generated JavaScript will use.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"extends": "@/build-config/tsconfig-typecheck.json",
|
||||
"include": ["."]
|
||||
"include": [".", "../next/global-electron.d.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user