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

prefer-export-from: Add ignoreUsedVariables option #1590

Merged
merged 8 commits into from Nov 10, 2021

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Nov 10, 2021

Fixes #1577

test/prefer-export-from.mjs Outdated Show resolved Hide resolved
@fisker fisker marked this pull request as ready for review November 10, 2021 08:18
docs/rules/prefer-export-from.md Outdated Show resolved Hide resolved
@sindresorhus
Copy link
Owner

Lint is failing

@sindresorhus sindresorhus merged commit a8d52e4 into sindresorhus:main Nov 10, 2021
@fisker fisker deleted the prefer-export-from-ignore-used branch November 10, 2021 12:36
@fregante
Copy link
Collaborator

No default? 😇 🙏

'unicorn/prefer-export-from': 'error',

@fisker
Copy link
Collaborator Author

fisker commented Nov 29, 2021

Sindre prefer to check them all.

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.

prefer-export-from shouldn't report re-export of variable that is used in other statements
3 participants