Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
front: turn on @typescript-eslint/no-unnecessary-type-assertion lint
First part of #8772 Enable typed hinting so that ESLint has information about types and can provide more feedback. Only enable a single typed lint rule for now (rest will be a lot more work to fix). The rule @typescript-eslint/no-unnecessary-type-assertion prevents unnecessary type assertions (casting a string to a string). Reducing type assertions is nice because type assertions override type checking and thus may hide type mismatches. Signed-off-by: Simon Ser <[email protected]>
- Loading branch information