From a2092f3ee9016294f8031ea9dc1fdb40bee4a46c Mon Sep 17 00:00:00 2001 From: IGFCoimbra <36641997+IGFCoimbra@users.noreply.github.com> Date: Tue, 21 Jan 2020 14:33:02 +0000 Subject: [PATCH] Update testAutdatedPatterns.js --- testAutdatedPatterns.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/testAutdatedPatterns.js b/testAutdatedPatterns.js index 3a26cbf..2849773 100644 --- a/testAutdatedPatterns.js +++ b/testAutdatedPatterns.js @@ -1,21 +1,21 @@ export default (a, b, c, d) => { - if (a === 'bla') { + if (a === "bla") { switch (b) { case 1: - return c === 'hello' ? 1 : 2; + return c === "hello" ? 1 : 2; case 2: return e => { if (e === 12) { - return 'blabla'; + return "blabla"; } - return 'ahoi'; + return "ahoi"; }; default: } } else { if (c === d) { // eslint-disable-next-line no-nested-ternary - return c === 'frumbl' ? 'FRUMBL' : c === 'frambl' ? null : c * 1000; + return c === "frumbl" ? "FRUMBL" : c === "frambl" ? null : c * 1000; } if (c === 666) { return 'hi';