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

React JSX included by default #169

Closed
grahamdyson opened this issue Dec 25, 2020 · 1 comment
Closed

React JSX included by default #169

grahamdyson opened this issue Dec 25, 2020 · 1 comment

Comments

@grahamdyson
Copy link
Member

The JavaScript analyser includes support for React's JSX files. However, this support isn't turned on by default. As React is widely used with JavaScript, JSX is often used with React and that support for JSX doesn't conflict with support for other analysis, it could be turned on by default.

To have JSX on by default would require its Babel parser plugin and the ".jsx" file extension to both be added. The ".tsx" file extension could also be added when support for other TypeScript file extensions are also added (see issue #168).

@grahamdyson
Copy link
Member Author

released in JavaScript 7.22.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant