Is your feature request related to a problem? Please describe.
We keep committing unused variables, unused imports, etc. It's not great for code quality over time.
Describe the solution you'd like
I would like to consider some of the stricter TS compiler options and implement them. I would also like this to not prevent fast prototyping. If you press F5 and have unused variables, that should be totally fine (?)
It's a fine line to navigate because that also means that you might only fail in CI and not locally.....
{ // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */ // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */ // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */ // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */ // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */ "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */ "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */ }