From e57dcdbdd9a6fc0a354beb4eca3db5580a636c90 Mon Sep 17 00:00:00 2001 From: AlecM33 Date: Wed, 30 Mar 2022 21:24:08 -0400 Subject: [PATCH] change lint rules --- .eslintrc.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 6287566..f238ba3 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -23,6 +23,15 @@ "no-undef": "off", "no-return-assign": "warn", "prefer-promise-reject-errors": "warn", - "no-trailing-spaces": "off" + "no-trailing-spaces": "off", + "space-unary-ops": [ + 2, { + "words": true, + "nonwords": false, + "overrides": { + "--": true, + "++": true + } + }] } }