Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add documentation to update package.json lint script to include .tsx files in react with typescript framework guide #41

Closed
hkennyv opened this issue Mar 24, 2021 · 0 comments · Fixed by electron/forge#2403

Comments

@hkennyv
Copy link

hkennyv commented Mar 24, 2021

Currently, the generated package.json for the "Typescript + Webpack" template uses the following lint script in the package.json:

    "lint": "eslint --ext .ts ."

I think it could be a good addition to the React framework integration guide to let the user know they should update this script to include the .tsx extension as well.

New package.json lint script:

    "lint": "eslint --ext .ts,.tsx ."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant