From f9156e6fd668c2cdd785357e3d53b187d82eb0a5 Mon Sep 17 00:00:00 2001 From: HendrikThePendric Date: Tue, 2 Jul 2024 12:22:43 +0200 Subject: [PATCH] chore: tweak ESLint config so that jsx property is allowed --- .eslintrc.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 7ff770b69..b1b9dcd24 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -2,4 +2,7 @@ const { config } = require('@dhis2/cli-style') module.exports = { extends: [config.eslintReact], + rules: { + 'react/no-unknown-property': ['error', { ignore: ['jsx', 'global'] }], + }, }