Skip to content

Commit

Permalink
Include .tsx files
Browse files Browse the repository at this point in the history
  • Loading branch information
xt0rted committed Jan 30, 2023
1 parent f866df6 commit f1b752f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/configs/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const config = {
plugins: ["@typescript-eslint"],
settings: {
"import/parsers": {
"@typescript-eslint/parser": [".ts"],
"@typescript-eslint/parser": [".ts", ".tsx"],
},
},
rules: {
Expand Down

0 comments on commit f1b752f

Please sign in to comment.