Skip to content

Commit

Permalink
Add the enforceForClassMembers option
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Sep 25, 2019
1 parent f4ed7ee commit b9fedd5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,12 @@ module.exports = {
}
],
'no-unexpected-multiline': 'error',
'accessor-pairs': 'error',
'accessor-pairs': [
'error',
{
enforceForClassMembers: true
}
],
'array-callback-return': 'error',
'block-scoped-var': 'error',
complexity: 'warn',
Expand Down Expand Up @@ -267,7 +272,10 @@ module.exports = {
],
'computed-property-spacing': [
'error',
'never'
'never',
{
enforceForClassMembers: true
}
],
'eol-last': 'error',
'func-call-spacing': [
Expand Down

0 comments on commit b9fedd5

Please sign in to comment.