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

Add rules for importing deprecated and removed symbols #32

Merged
merged 4 commits into from
Mar 15, 2024

Conversation

kit1980
Copy link
Contributor

@kit1980 kit1980 commented Mar 14, 2024

TOR004 Import of removed function
TOR103 Import of deprecated function

These rules are companions for existing
TOR101 Use of deprecated function
TOR001 Use of removed function

I'll add a codemod for updating the imports in a different PR.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 14, 2024
@kit1980 kit1980 requested review from huydhn and izaitsevfb March 14, 2024 21:33
@kit1980 kit1980 marked this pull request as ready for review March 14, 2024 21:33
@kit1980 kit1980 merged commit e782670 into main Mar 15, 2024
2 checks passed
@kit1980 kit1980 deleted the sdym/deprecated-import branch March 19, 2024 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants