From 48697e4118f970f8cee8a2ddabcc2155c2fb13c6 Mon Sep 17 00:00:00 2001 From: Harshith Mente <109957201+joeyyy09@users.noreply.github.com> Date: Tue, 9 Apr 2024 22:15:18 +0530 Subject: [PATCH] Update .eslintrc The "import/prefer-default-export" rule is turned off for import/prefer-default-export": "off". The "no-console" rule is defined to disallow console.log statements, except for console.error statements. This is achieved with "no-console": ["error", { "allow": ["error"] }]. --- .eslintrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc b/.eslintrc index afd66fc8..69988bd1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,5 +1,5 @@ { - "extends" : [ + "extends": [ "@visionappscz/eslint-config-visionapps" ], "env": { @@ -17,6 +17,7 @@ ], "parser": "@babel/eslint-parser", "rules": { - "import/prefer-default-export": "off" + "import/prefer-default-export": "off", + "no-console": ["error", { "allow": ["error"] }] } }