Disallow unnecessary semicolons.
This rule extends the base eslint/no-extra-semi
rule.
It adds support for class properties.
{
// note you must disable the base rule as it can report incorrect errors
"no-extra-semi": "off",
"@typescript-eslint/no-extra-semi": ["error"]
}
See eslint/no-extra-semi
options.
Taken with ❤️ from ESLint core
- Configs:
- ✅ Recommended
- 🔒 Strict
- 🔧 Fixable
- 💭 Requires type information