Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 631 Bytes

File metadata and controls

22 lines (15 loc) · 631 Bytes

Enforce consistent brace style for blocks (brace-style)

Rule Details

This rule extends the base eslint/brace-style rule. It supports all options and features of the base rule.

How to use

{
  // note you must disable the base rule as it can report incorrect errors
  "brace-style": "off",
  "@typescript-eslint/brace-style": ["error"]
}

Options

See eslint/brace-style options.

Taken with ❤️ from ESLint core