empty-brace-spaces
March 27, 2026 Β· View on GitHub
π Enforce no spaces between braces.
πΌπ« This rule is enabled in the β
recommended config. This rule is disabled in the βοΈ unopinionated config.
π§ This rule is automatically fixable by the --fix CLI option.
Examples
// β
class Unicorn {
}
// β
class Unicorn {}
// β
try {
foo();
} catch { }
// β
try {
foo();
} catch {}