diff --git a/CHANGELOG.md b/CHANGELOG.md index a233d4a..15f668a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Remove `parserOptions` from typescript config - Disable `unicorn/prefer-module` for `.cjs` files - Disable `import/no-extraneous-dependencies` for node configs +- Update `@typescript-eslint/parser` settings to include `.tsx` files ## [1.1.0](https://github.com/rezstream/eslint-plugin-rezstream/compare/v1.0.1...v1.1.0) - 2023-01-27 diff --git a/lib/configs/typescript.js b/lib/configs/typescript.js index 14e52fa..d3620b9 100644 --- a/lib/configs/typescript.js +++ b/lib/configs/typescript.js @@ -9,7 +9,7 @@ const config = { plugins: ["@typescript-eslint"], settings: { "import/parsers": { - "@typescript-eslint/parser": [".ts"], + "@typescript-eslint/parser": [".ts", ".tsx"], }, }, rules: {