From 0a54b18d6430e3f6de0768d428c401ed9de87b90 Mon Sep 17 00:00:00 2001 From: Nishant Arora Date: Fri, 22 Oct 2021 00:32:43 -0600 Subject: [PATCH] Making newline as warning --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index c2ca68b..36427d4 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -19,7 +19,7 @@ module.exports = { "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/no-explicit-any": "off", "indent": ["warn", 4, { "SwitchCase": 1 }], - "newline-before-return": "error", + "newline-before-return": "warn", "no-multiple-empty-lines": ["error", { max: 2, maxEOF: 0 }], "no-self-assign": "off", "no-trailing-spaces": "warn",