From aeaf84f159cf95a86165c55cf5a043345e877635 Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Tue, 20 Apr 2021 23:23:26 +0100 Subject: [PATCH] Update eslint config --- .eslintrc.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 0b38568..663f323 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -42,9 +42,11 @@ module.exports = { '@typescript-eslint/no-use-before-define': 'off', 'react/prop-types': 'off', 'react/react-in-jsx-scope': 'off', + 'react/self-closing-comp': 0, '@typescript-eslint/camelcase': 'off', '@typescript-eslint/explicit-function-return-type': 0, '@typescript-eslint/explicit-module-boundary-types': 0, + '@typescript-eslint/no-explicit-any': 0, 'linebreak-style': 'off', 'jsx-a11y/label-has-associated-control': [ 'error', @@ -56,6 +58,7 @@ module.exports = { depth: 25, }, ], + 'jsx-a11y/control-has-associated-label': 0, 'prettier/prettier': [ 'error', {