Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 841 Bytes

padding-line-between-statements.md

File metadata and controls

28 lines (21 loc) · 841 Bytes

require or disallow padding lines between statements (padding-line-between-statements)

Rule Details

This rule extends the base eslint/padding-line-between-statements rule.

How to use

{
  // note you must disable the base rule as it can report incorrect errors
  "padding-line-between-statements": "off",
  "@typescript-eslint/padding-line-between-statements": [
    "error",
    {
      "blankLine": "always",
      "prev": "var",
      "next": "return"
    }
  ]
}

Options

See eslint/padding-line-between-statements options.

Taken with ❤️ from ESLint core