Skip to content

Commit

Permalink
style: prefer object destructuring (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Oct 2, 2022
1 parent 218b43c commit 4d4f336
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,8 @@ module.exports = {
rules: {
"import/no-extraneous-dependencies": "error",
"no-console": "off",
"no-multiple-empty-lines": [
"error",
{
max: 1,
},
],
"prefer-destructuring": "off",
"no-multiple-empty-lines": ["error", { max: 1 }],
"prefer-destructuring": ["error", { object: true, array: false }],
"promise/prefer-await-to-callbacks": "warn",
"promise/prefer-await-to-then": "warn",
},
Expand Down

0 comments on commit 4d4f336

Please sign in to comment.