0.1.5 • Published 10 years ago
coffeelint-braces-padding v0.1.5
coffeelint-braces-padding
Examples
# Padding is 0
{a: b} # Good
{a: b } # Bad
{ a: b} # Bad
{ a: b } # Bad
# Padding is 1
{a: b} # Bad
{a: b } # Bad
{ a: b} # Bad
{ a: b } # Good
{ a: b } # Bad
{ a: b } # Bad
{ a: b } # Bad
Installation
npm install coffeelint-braces-padding
Usage
Put this in your coffeelint config:
"braces_padding": {
"module": "coffeelint-braces-padding",
"padding": 0
}
Options
padding
- the number of spaces there should be inside curly braces. Default: 0