Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 716 Bytes

no-extra-semi.md

File metadata and controls

34 lines (22 loc) · 716 Bytes

no-extra-semi

Disallow unnecessary semicolons.

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