From 51cc2839c47dd364a99d1b7a0554bcb288cb43a9 Mon Sep 17 00:00:00 2001 From: lucasrmendonca Date: Mon, 2 Sep 2024 16:43:52 -0300 Subject: [PATCH] Fix react config not linting .jsx files Before, only .tsx files were being linted for react config, now both .jsx and .tsx files are being linted --- configurations/react.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configurations/react.js b/configurations/react.js index c68d701..5f9567f 100644 --- a/configurations/react.js +++ b/configurations/react.js @@ -1,7 +1,7 @@ const globals = require('globals'); module.exports.recommended = { - files: ['**/*.tsx'], + files: ['**/*.{jsx,tsx}'], languageOptions: { globals: { ...globals.browser,