From cc18514fa223bc28b01759a2ac356b6716c360da Mon Sep 17 00:00:00 2001 From: Andrei Neculau Date: Mon, 7 Oct 2019 08:13:59 +0200 Subject: [PATCH] breaking: prefer single-var destructuring without multiline --- configs/basic.js | 2 +- configs/firecloud.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/basic.js b/configs/basic.js index 2306886..ab45a0e 100644 --- a/configs/basic.js +++ b/configs/basic.js @@ -279,7 +279,7 @@ module.exports = { }, ObjectPattern: { multiline: true, - minProperties: 1, + minProperties: 2, // aka allow 1 consistent: true }, ImportDeclaration: { diff --git a/configs/firecloud.js b/configs/firecloud.js index f5f4e58..409b754 100644 --- a/configs/firecloud.js +++ b/configs/firecloud.js @@ -37,7 +37,7 @@ module.exports = { }, ObjectPattern: { multiline: true, - minProperties: 1, + minProperties: 2, // aka allow 1 consistent: true }, ImportDeclaration: {