coffeelint-braces-padding

0.1.5 • Public • Published

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

Package Sidebar

Install

npm i coffeelint-braces-padding

Weekly Downloads

9

Version

0.1.5

License

MIT

Last publish

Collaborators

  • charlierudolph