refactor: condense own tsconfig by removing defaults (#343)

- `pretty: true` and `noEmitOnError: false` are the defaults
  - https://www.typescriptlang.org/tsconfig#pretty
  - https://www.typescriptlang.org/tsconfig#noEmitOnError

- when `strict: true`, `noImplicitAny`, `noImplicitThis`, and
  `strictNullChecks` default to `true` as well
  - https://www.typescriptlang.org/tsconfig#strict
  - I've heavily contributed to the TSConfig docs and the docs for this
    property the most
This commit is contained in:
Anton Gilgur 2022-06-06 20:08:23 -04:00 committed by GitHub
parent b1e3b44df1
commit 671281f6de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,17 +3,12 @@
"compilerOptions": {
"target": "es6",
"module": "ES2020",
"noImplicitAny": true,
"sourceMap": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"noImplicitThis": true,
"diagnostics": true,
"listFiles": true,
"pretty": true,
"moduleResolution": "node",
"noEmitOnError": false,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"strict": true,
@ -24,4 +19,4 @@
"src/**/*.ts"
],
"exclude": []
}
}