Disallow unnecessary semicolons (no-extra-semi
)
Rule Details
This rule extends the base eslint/no-extra-semi
rule.
It adds support for class properties.
How to Use
{
// note you must disable the base rule as it can report incorrect errors
"no-extra-semi": "off",
"@typescript-eslint/no-extra-semi": ["error"]
}
Options
See eslint/no-extra-semi
options.
Taken with โค๏ธ from ESLint core
Attributes
- โ Recommended
- ๐ง Fixable
- ๐ญ Requires type information