[make-read-only] Make tsconfig more consistent with other pkgs

This commit is contained in:
Lauren Tan
2023-06-15 12:52:56 -04:00
parent 6810ddbf56
commit c416fb16ca
2 changed files with 17 additions and 14 deletions
@@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/
import buildMakeReadOnly from "./makeReadOnly";
import buildMakeReadOnly from "../makeReadOnly";
describe("makeReadOnly", () => {
let logger: jest.Func;
@@ -1,17 +1,20 @@
{
"extends": "@tsconfig/node16-strictest/tsconfig.json",
"compilerOptions": {
"target": "ESNext",
"allowJs": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": false,
"jsx": "preserve",
"incremental": true,
"outDir": "dist"
"declaration": true,
"outDir": "dist",
"jsx": "react-jsxdev",
// weaken strictness from preset
"importsNotUsedAsValues": "remove",
"noUncheckedIndexedAccess": false,
"noUnusedParameters": false,
"useUnknownInCatchVariables": false,
"target": "ES2015",
// ideally turn off only during dev, or on a per-file basis
"noUnusedLocals": false,
"sourceMap": true
},
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
"include": ["src/**/*.ts"]
}