Skip to content

Commit

Permalink
Add @typescript-eslint/padding-line-between-statements rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Sep 7, 2021
1 parent f14d707 commit e09d7ce
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,15 @@ module.exports = {
'error',
'never'
],
'padding-line-between-statements': 'off',
'@typescript-eslint/padding-line-between-statements': [
'error',
{
blankLine: 'always',
prev: 'multiline-block-like',
next: '*'
}
],
'@typescript-eslint/no-var-requires': 'error',
'@typescript-eslint/non-nullable-type-assertion-style': 'error',
'@typescript-eslint/prefer-as-const': 'error',
Expand Down

0 comments on commit e09d7ce

Please sign in to comment.