Skip to content

Commit 419725d

Browse files
committed
feat(@typescript-eslint): enable exceptAfterSingleLine option
1 parent d171f43 commit 419725d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

@typescript-eslint.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ const config = {
1616
'@typescript-eslint/explicit-member-accessibility': 'error',
1717
'@typescript-eslint/explicit-module-boundary-types': 'error',
1818
'@typescript-eslint/interface-name-prefix': 'off',
19-
'@typescript-eslint/lines-between-class-members': 'error',
19+
'@typescript-eslint/lines-between-class-members': [
20+
'error',
21+
'always',
22+
{ exceptAfterSingleLine: true }
23+
],
2024
'@typescript-eslint/naming-convention': [
2125
'error',
2226
{

0 commit comments

Comments
 (0)