From bb391b1390f35c7bcb036de4ad9b0d1a8a902d06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5var=20Aamb=C3=B8=20Fosstveit?= Date: Tue, 19 May 2020 14:22:03 +0200 Subject: [PATCH] Disallow trailing white spaces. --- app/.eslintrc.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/.eslintrc.json b/app/.eslintrc.json index 44a50ba..d052d77 100644 --- a/app/.eslintrc.json +++ b/app/.eslintrc.json @@ -159,6 +159,12 @@ "no-inner-declarations": 2, "no-invalid-regexp": 2, "no-irregular-whitespace": 2, + "no-trailing-spaces": [ + "error", + { + "ignoreComments": true + } + ], "no-lonely-if": 2, "no-mixed-operators": 2, "no-mixed-spaces-and-tabs": 2,