Skip to content

add no-import-side-effect converter #239

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

Merged

Conversation

bmeverett
Copy link
Contributor

@bmeverett bmeverett commented Oct 14, 2019

PR Checklist

Overview

I added the converter to convert the rule to ESLint. I didn’t try and convert the reflex to glob syntax. I can explore that if you feel it would be valuable.

@bmeverett bmeverett changed the title WIP: add no-import-side-effect converter add no-import-side-effect converter Oct 14, 2019
@bmeverett bmeverett force-pushed the no-import-side-effect branch from 196adb7 to a963dcd Compare October 15, 2019 01:30
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small phrasing request, but otherwise looks great! I'll merge this in if you don't take a look soon. 😃

@JoshuaKGoldberg JoshuaKGoldberg added the status: waiting for author The PR author should address requested changes label Oct 19, 2019
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My apologies for not noting this earlier! 😦

Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect. Thanks for sticking with this @bmeverett!

@JoshuaKGoldberg JoshuaKGoldberg merged commit 4d6797f into typescript-eslint:master Oct 22, 2019
@buu700
Copy link

buu700 commented Nov 3, 2019

@bmeverett it doesn't look like eslint has a no-import-side-effect rule. Was this a mistake?

@JoshuaKGoldberg
Copy link
Member

🤦‍♂ oops, I should have checked that. Thank you @buu700! Fixed in #271.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for author The PR author should address requested changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing converter: no-import-side-effect
3 participants