eslint-plugin-lw
v1.0.1
Published
ESlint plugin for that extra Laurel & Wolf style
Downloads
73
Readme
eslint-plugin-lw
ESlint plugin for that extra Laurel & Wolf style.
Install
npm install eslint-plugin-lw --save-devConfiguration
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
