tickets deno.json
The tickets compiler flags
Everything in strict, plus every extra flag that finds bugs:
noUncheckedIndexedAccess:list[0]has typeT | undefined, notT. The empty list is no longer a surprise.exactOptionalPropertyTypes: a field markedname?: stringmay be missing, but may not be set toundefinedunless the type says so.noImplicitReturns: every branch of a function must return.noFallthroughCasesInSwitch: nocaseruns on into the next by accident.noImplicitOverride: a method that replaces a parent's method must sayoverride.noUnusedLocalsandnoUnusedParameters: the type checker backs up the linter on dead names.