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

Disable react-in-jsx-scope rule #488

Merged
merged 2 commits into from
Jan 5, 2024
Merged

Conversation

lhansford
Copy link
Collaborator

This rule returns an error if a JSX file doesn't have:

import React from 'react';

Since React 18 (I think) this hasn't been needed. We can remove the rule and stop importing React.

This rule returns an error if a JSX file doesn't have:

```
import React from 'react';
```

Since React 18 (I think) this hasn't been needed. We can remove the
rule and stop importing React.
@lhansford lhansford merged commit 5c00743 into develop Jan 5, 2024
3 checks passed
@lhansford lhansford deleted the disable-rule-for-react-in-scope branch January 5, 2024 09:04
@FishbrainAPIMachineUser FishbrainAPIMachineUser mentioned this pull request Jan 5, 2024
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 this pull request may close these issues.

2 participants