-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
refactor: update the default behavior of import check, closes #858 #860
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
👋 @Rel1cx! I think I’ve noticed new issue in In foo.bar.map((value, index) => <MyComponent key={index} />); However, after upgrading to If I replace property chaining with I am thinking of creating a new issue but in needs a proper reproduction and I don’t have time on it today. I’ve decided to ping you here first with my initial investigation to just sense-check what I observe. WDYT? |
Hello! I just reviewed the code and have pinpointed the issue and started fixing it. Your initial investigation was correct and helpful; this commit indeed introduced the problem. Thank you for providing the information. |
Another thing that I noticed after upgrading from import * as React from 'react';
export const Foo: React.FunctionComponent<{
bar: string;
}> = ({ bar }) => {
return <>{bar}</>;
}; The rule is included in I believe that we have a bug fix rather than a new problem, so no action needed on this one. Just sharing my observation with you for context. You might want to add some new tests though to avoid future regressions. |
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Checklist
fix: remove a typo, closes #___, #___
)Other information