1.0.1 • Published 9 years ago

eslint-plugin-lw v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

eslint-plugin-lw

ESlint plugin for that extra Laurel & Wolf style.

Install

npm install eslint-plugin-lw --save-dev

Configuration

Add plugins section and specify esLint-plugin-lw as a plugin

{
  "parser": "babel-eslint",
  "plugins": [
    "lw"
  ]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "lw/function-padding": 2
  }
}

Rules

  • lw/function-padding - Enforce a padding of one line below any function declaration or expression