From 58b2e4b30af2c2f9bc72dcedf6e0e58a19adc8ff Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Tue, 16 Jun 2020 07:08:42 +0200 Subject: [PATCH] allow usage of console for node scripts --- scm-ui/eslint-config/src/index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scm-ui/eslint-config/src/index.js b/scm-ui/eslint-config/src/index.js index 7e4935dc52..625e5bfb55 100644 --- a/scm-ui/eslint-config/src/index.js +++ b/scm-ui/eslint-config/src/index.js @@ -31,7 +31,10 @@ const rules = { const nodeConfiguration = { extends: ["airbnb-base", "plugin:prettier/recommended"], - rules + rules: { + "no-console": "off", + ...rules + } }; const typescriptConfiguration = { @@ -41,7 +44,7 @@ const typescriptConfiguration = { "@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/ban-ts-ignore": "warn", "no-console": "error", - "jsx-a11y/href-no-hash": [0], + "jsx-a11y/href-no-hash": "off", ...rules } };