--- description: 'Disallow unnecessary semicolons.' --- > 🛑 This file is source code, not the primary documentation location! 🛑 > > See **https://typescript-eslint.io/rules/no-extra-semi** for documentation. ## Rule Details This rule extends the base [`eslint/no-extra-semi`](https://eslint.org/docs/rules/no-extra-semi) rule. It adds support for class properties. ## How to Use ```jsonc { // 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](https://eslint.org/docs/rules/no-extra-semi#options). Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/no-extra-semi.md)