From 1e29dda72ccfa7e694ebcc66def45cc277851a62 Mon Sep 17 00:00:00 2001 From: "hortonr6@coventry.ac.uk" Date: Wed, 20 Nov 2019 23:40:05 +0000 Subject: [PATCH] Updated linter rules --- .eslintrc.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index d3b85a4..6dc6845 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -24,8 +24,8 @@ "indent": [1, "tab", {"SwitchCase": 1}], "key-spacing": ["error", {"beforeColon": false, "afterColon": true}], "max-depth": ["error", 3], - "max-len": ["warn", { "code": 120, "tabWidth": 4 }], - "max-lines": ["warn", 150], + "max-len": ["warn", { "code": 120, "tabWidth": 4, "ignoreComments": true }], + "max-lines": ["warn", { "max": 150, "skipComments": true, "skipBlankLines": true }], "max-lines-per-function": ["error", 25], "max-nested-callbacks": ["error", 4], "max-params": ["error", 5],