We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We dont use default exports so we cant use match-exported rule.
match-exported
I would like a rule to complain if yoh have:
filename: Button.tsx and it contained only:
Button.tsx
const BigButton = () => <button>foo</button>; export { BigButton }
but allow it if the file contained this:
const Button = () => <button>foo</button>; export { Button }
PS. This explains alot of the reasons why we avoid default exports: https://basarat.gitbooks.io/typescript/docs/tips/defaultIsBad.html
The text was updated successfully, but these errors were encountered:
Looking for this also
Sorry, something went wrong.
No branches or pull requests
We dont use default exports so we cant use
match-exported
rule.I would like a rule to complain if yoh have:
filename:
Button.tsx
and it contained only:but allow it if the file contained this:
PS. This explains alot of the reasons why we avoid default exports: https://basarat.gitbooks.io/typescript/docs/tips/defaultIsBad.html
The text was updated successfully, but these errors were encountered: