From 1fd132c8596dd160e33ea567b2ec0197eb374925 Mon Sep 17 00:00:00 2001 From: izzy lyseggen Date: Wed, 5 Aug 2020 16:35:56 +0100 Subject: [PATCH] style(eslint): added space-unary-ops rule --- .eslintrc.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index be1e1314c..e8a81e5c3 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -47,6 +47,11 @@ "padded-blocks": [ "error", "never" - ] + ], + "space-unary-ops": [ + 2, { + "words": true, + "nonwords": false + }] } } \ No newline at end of file