Extend linting of the static-site tree to also look at *.ts and *.tsx files. Includes updates to existing files to correct or silence errors based on established usage.
N.b., I elected to add individual eslint-disable <rule> comments rather than globally disabling in the config, as that felt like it would probably be less controversial during review. Happy to convert any of those changes to global rule changes instead; each type of rule is in a distinct commit to facilitate these sorts of changes.
Description of proposed changes
Extend linting of the
static-site
tree to also look at*.ts
and*.tsx
files. Includes updates to existing files to correct or silence errors based on established usage.N.b., I elected to add individual
eslint-disable <rule>
comments rather than globally disabling in the config, as that felt like it would probably be less controversial during review. Happy to convert any of those changes to global rule changes instead; each type of rule is in a distinct commit to facilitate these sorts of changes.Related issue(s)
905
Checklist