Using TypeScript
Using TypeScript? Here's an ESLint rule I wish was enabled from the beginning:
no-type-assertion
Some of my clients have 500+ type assertions in their TypeScript code. Some are valid. But many are dangerous hacks.
This ESLint rule at least makes people think twice.
Here's the plugin: https://www.npmjs.com/package/eslint-plugin-no-type-assertion