zone / frontend

Mono repo for Zone's frontend team.

Home Page:https://zonedigital.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for eslint's padding-line-between-statements rule

simmo opened this issue · comments

Package (if applicable)
eslint-config-zone

Is your feature request related to a problem? Please describe.
Consistent whitespace/line-breaks.

Describe the solution you'd like

"padding-line-between-statements": [
  "error",
  { "blankLine": "always", "prev": ["const", "let"], "next": "*" },
  {
    "blankLine": "any",
    "prev": ["const", "let"],
    "next": ["const", "let"]
  }
]

This should force a line break after a group of one or more const/let.

Describe alternatives you've considered
N/A

Additional context
N/A