From 17e36bd2b8bc4f2ea49cb9fd02b15e0ee9c7f7c1 Mon Sep 17 00:00:00 2001 From: Akash <2557058+aksdevac@users.noreply.github.com> Date: Wed, 14 Feb 2024 20:35:04 +0530 Subject: [PATCH] update lint rules to disable new warning after eslint update --- .eslintrc.front.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.eslintrc.front.js b/.eslintrc.front.js index debf48ed..c47cb044 100644 --- a/.eslintrc.front.js +++ b/.eslintrc.front.js @@ -119,15 +119,15 @@ module.exports = { 'react/state-in-constructor': 0, 'react/static-property-placement': 0, 'react/display-name': 0, - 'default-param-last': 'warn', 'prefer-regex-literals': 0, 'react/jsx-no-useless-fragment': 0, - 'react/jsx-no-constructed-context-values': 'warn', + 'react/jsx-no-constructed-context-values': 0, 'react/no-unused-class-component-methods': 0, - 'react/no-unstable-nested-components': 'warn', - 'import/no-import-module-exports': 'warn', - 'no-fallthrough': 'warn', - 'class-methods-use-this': 'warn', - 'no-loss-of-precision': 'warn' + 'react/no-unstable-nested-components': 0, + 'import/no-import-module-exports': 0, + 'no-fallthrough': 0, + 'class-methods-use-this': 0, + 'no-loss-of-precision': 0, + 'default-param-last': 0, }, };