ionic-team / ionic-team/eslint-config
add to recommended: padding-line-between-statements
- Dominant language
- JavaScript
- Stars
- 13
- Forks
- 9
- Avg merge
- 12d 22h
- Merged PRs (30d)
- 1
Description
```
'padding-line-between-statements': ['error',
{ 'blankLine': 'always', 'prev': '*', 'next': 'multiline-block-like' },
{ 'blankLine': 'always', 'prev': 'multiline-block-like', 'next': '*' },
{ 'blankLine': 'always', 'prev': '*', 'next': ['const', 'let', 'export'] },
{ 'blankLine': 'always', 'prev': ['const', 'let', 'export'], 'next': '*' },
{ 'blankLine': 'any', 'prev': ['const', 'let', 'export'], 'next': ['const', 'let', 'export'] },
{ 'blankLine': 'always', 'prev': '*', 'next': 'return' },
],
```
https://eslint.org/docs/rules/padding-line-between-statements
Style preferences for newlines that doesn't conflict with Prettier.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.