Skip to content

Commit

Permalink
feat(javascript): enable exceptAfterSingleLine option
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jul 5, 2020
1 parent 419725d commit edd25f9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ const config = {
'grouped-accessor-pairs': ['error', 'getBeforeSet'],
'guard-for-in': 'error',
'init-declarations': 'error',
'lines-between-class-members': 'error',
'lines-between-class-members': [
'error',
'always',
{ exceptAfterSingleLine: true }
],
'max-classes-per-file': ['error', 1],
'max-statements-per-line': ['error', { max: 1 }],
'new-cap': ['error', { capIsNewExceptions: ['ESLintUtils.RuleCreator'] }],
Expand Down

0 comments on commit edd25f9

Please sign in to comment.