Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #41 from tobiipro/allow-singleline-singlevar-destruct
Browse files Browse the repository at this point in the history
breaking: prefer single-var destructuring without multiline
  • Loading branch information
andreineculau authored Nov 1, 2019
2 parents a5981d5 + cc18514 commit e1af02e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ module.exports = {
},
ObjectPattern: {
multiline: true,
minProperties: 1,
minProperties: 2, // aka allow 1
consistent: true
},
ImportDeclaration: {
Expand Down
2 changes: 1 addition & 1 deletion configs/firecloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = {
},
ObjectPattern: {
multiline: true,
minProperties: 1,
minProperties: 2, // aka allow 1
consistent: true
},
ImportDeclaration: {
Expand Down

0 comments on commit e1af02e

Please sign in to comment.