Skip to content

Commit

Permalink
Fix react config not linting .jsx files
Browse files Browse the repository at this point in the history
Before, only .tsx files were being linted for react config, now both .jsx and .tsx files are being linted
  • Loading branch information
lucasrmendonca authored Sep 2, 2024
1 parent 00331e6 commit 51cc283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configurations/react.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const globals = require('globals');

module.exports.recommended = {
files: ['**/*.tsx'],
files: ['**/*.{jsx,tsx}'],
languageOptions: {
globals: {
...globals.browser,
Expand Down

0 comments on commit 51cc283

Please sign in to comment.