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

Keep typeAnnotation when replacing identifier #608

Merged
merged 16 commits into from Mar 17, 2020

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Mar 16, 2020

Based on #606 , not sure if other rules need this to fix #438 , I'll extract this to utils and check other rules later

Fixes #347

@fisker fisker marked this pull request as ready for review March 16, 2020 08:50
@fisker
Copy link
Collaborator Author

fisker commented Mar 16, 2020

@sindresorhus I've handled typeAnnotation in prevent-abbreviations, and extract a useful function renameIdentifier to utils.

I will check identifier renaming in other rules in separate PRs later.

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.

Rules improvements with the help of @typescript-eslint/parser
2 participants