Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b66d6e4

Browse files
committed
[eslint config] [base] [breaking] lines-between-class-members: set to “always”
1 parent 2b3c86d commit b66d6e4

File tree

1 file changed

+1
-2
lines changed
  • packages/eslint-config-airbnb-base/rules

1 file changed

+1
-2
lines changed

packages/eslint-config-airbnb-base/rules/style.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ module.exports = {
155155

156156
// require or disallow an empty line between class members
157157
// https://eslint.org/docs/rules/lines-between-class-members
158-
// TODO: semver-major: enable
159-
'lines-between-class-members': ['off', 'always', { exceptAfterSingleLine: false }],
158+
'lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: false }],
160159

161160
// enforces empty lines around comments
162161
'lines-around-comment': 'off',

0 commit comments

Comments
 (0)