Skip to content

Commit

Permalink
Add grouped-accessor-pairs rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 24, 2019
1 parent 05b3988 commit 04bd7c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions index.js
Expand Up @@ -90,6 +90,10 @@ module.exports = {
'property'
],
eqeqeq: 'error',
'grouped-accessor-pairs': [
'error',
'getBeforeSet'
],
'guard-for-in': 'error',
'no-alert': 'error',
'no-caller': 'error',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -54,11 +54,11 @@
},
"devDependencies": {
"ava": "^2.3.0",
"eslint": "^6.4.0",
"eslint": "^6.7.0",
"is-plain-obj": "^2.0.0",
"temp-write": "^4.0.0"
},
"peerDependencies": {
"eslint": ">=6.4.0"
"eslint": ">=6.7.0"
}
}

0 comments on commit 04bd7c2

Please sign in to comment.