From 8cdff6a3370ef4786a77d87d3ea130c53dc04221 Mon Sep 17 00:00:00 2001 From: Elies Lou Date: Sat, 10 Mar 2018 18:18:32 +0100 Subject: [PATCH 1/2] Increase Print Width to improve readability --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index b66f445..c8046ed 100644 --- a/src/index.js +++ b/src/index.js @@ -9,6 +9,7 @@ module.exports = { "object-literal-sort-keys": false, "ordered-imports": [false], "no-submodule-imports": [true, "lodash"], - "quotemark": [true, "single", "jsx-double"] + "quotemark": [true, "single", "jsx-double"], + "prettier": [true, { "print-width": 130 }] }, }; From 23f496f29d29ef99830e3a59749c7b64a1fe876d Mon Sep 17 00:00:00 2001 From: Elies Lou Date: Sat, 10 Mar 2018 20:22:16 +0100 Subject: [PATCH 2/2] Allow no brace on one line condition --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index c8046ed..5c54a3a 100644 --- a/src/index.js +++ b/src/index.js @@ -10,6 +10,7 @@ module.exports = { "ordered-imports": [false], "no-submodule-imports": [true, "lodash"], "quotemark": [true, "single", "jsx-double"], - "prettier": [true, { "print-width": 130 }] + "prettier": [true, { "print-width": 130 }], + "curly": ["error", "multi"] }, };