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

Implement automatic adding of jsxImportSource pragma definition - eslint-plugin-emotion #2070

Closed
Emiliano-Bucci opened this issue Nov 2, 2020 · 1 comment · Fixed by #2353

Comments

@Emiliano-Bucci
Copy link

What:
Implement the possibility - when using the new fragma jsxImportSource - to automatically add the new pragma definition to the top of the file page, like already is implemented with the "old" pragma /* @jsx jsx */

Why:
This way we don't have to manually add it every time.

@osdiab
Copy link
Contributor

osdiab commented Sep 6, 2021

agreed - relevant to #2467 , to opt into that toolset i'd need to in the status quo use the JSX pragma, but it's super inconvenient for NextJS since it does set the runtime to automatic, so it appears I do need to use jsxImportSource instead.

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

Successfully merging a pull request may close this issue.

2 participants