tsconfig / bases

Hosts TSConfigs to extend in a TypeScript app, tuned to a particular runtime environment
MIT License
6.41k stars 240 forks source link

"strictest" includes non-typesafety relevant options #262

Closed domdomegg closed 7 months ago

domdomegg commented 7 months ago

Going with the definition that strictest "automatically enables every TypeScript compiler flag that has to do with type checking, making it as strict as possible.", I think the following should be out of scope given that these do not detect type errors - and are more just general linting rules (i.e. violations of these alone will never lead to a runtime error):

Also see #156. I think this is a separate discussion: that discussion foucses on build-related flags and logistics around how the configs are used. This issue relates to specific flags that aren't performing type checking.

--

Proposed solutions:

orta commented 7 months ago

No, I think these are the "strictest" version of TypeScript - you're welcome to a differing opinion but I don't think we need to make breaking changes to strict to remove the linter-ish properties only to eventually have to remake a version a bit like this.