Skip to content

laurelandwolf/eslint-plugin-lw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ESlint plugin for that extra Laurel & Wolf style.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published