You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
659 B
659 B
brace-style
Enforces consistent brace style for blocks.
Rule Details
This rule extends the base eslint/brace-style rule.
It adds support for enum, interface, namespace and module declarations.
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