From 490226fadda6e9044ab076f47ca2fb16af52c164 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 6 Jun 2020 13:03:29 +0200 Subject: [PATCH] disable semi-style for now In generally we follow it but we want also to allow statements like: let foo = bar ? 'baz' : 'foz' ; Signed-off-by: Thomas Lamprecht --- src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.js b/src/app.js index 569b9cf..8a89f9a 100644 --- a/src/app.js +++ b/src/app.js @@ -222,7 +222,7 @@ const defaultConfig = { "quote-props": ["warn", "as-needed", { keywords: true, unnecessary: false }], // does nothing, maybe deactivate unnecessary "semi": "warn", "semi-spacing": "warn", - "semi-style": "warn", + // "semi-style": "warn", // could be useful, but for ?: we often want to allow the ; on the next line "space-before-blocks": "warn", "space-before-function-paren": ["warn", "never"], "space-in-parens": "warn", -- 2.39.2