Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 574 Bytes

empty-brace-spaces.md

File metadata and controls

33 lines (24 loc) · 574 Bytes

Enforce no spaces between braces

💼 This rule is enabled in the ✅ recommended config.

🔧 This rule is automatically fixable by the --fix CLI option.

Fail

class Unicorn {
}
try {
	foo();
} catch { }

Pass

class Unicorn {}
try {
	foo();
} catch {}