Closed jayaddison closed 1 year ago
Note for transparency: this pull request also disables eslint
checks for all code within the service-worker submodule (src/sw/*
). That's 49 lines of code that has been stable for a year and is not written in TypeScript.. even so, it'd be nice to lint that again at some point (it's important, but infrequently modified code).
Describe the reason for these changes and the problem that they solve
Enables some additional linting rules provided by
@typescript-eslint
(in fact, enables therecommended-type-checked
base ruleset, but with a few items selectively disabled). This is done to catch more errors (particularly datatype-related errors) earlier during the development lifecycle.Briefly summarize the changes
recommended-type-checked
ruleset in the project'seslintrc
.How have the changes been tested?
make lint
has been used to check that the rules are enabled and that the lint tooling considers that the codebase adheres to them.List any issues that this change relates to N/A