0.1.5 • Published 10 years ago

coffeelint-braces-padding v0.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

coffeelint-braces-padding

npm version Build Status

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