eslint-plugin-lw

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-plugin-lw

Weekly Downloads

5

Version

1.0.1

License

MIT

Last publish

Collaborators

  • scottcorgan