description |
---|
Enforce consistent brace style for blocks. |
🛑 This file is source code, not the primary documentation location! 🛑
See https://typescript-eslint.io/rules/brace-style for documentation.
This rule extends the base eslint/brace-style
rule.
It adds support for enum
, interface
, namespace
and module
declarations.
{
// note you must disable the base rule as it can report incorrect errors
"brace-style": "off",
"@typescript-eslint/brace-style": ["error"]
}
See eslint/brace-style
options.
Taken with ❤️ from ESLint core