Skip to content

fix: import sorting with interpreter command #348

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vladislavarsenev
Copy link
Contributor

Hi,

This tiny fix aimed to close case with combination of ignore comment and interpreter directive. Interpreter directive has to be on the first line, thus in this case comment with ignoring would be on 2nd line instead of the 1st.

like this

#!/usr/bin/env node
// sort-imports-ignore

Also, I put .DS_Store file to gitignore. It's a common utility file within Mac OS. It creates it in every directory.

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.

1 participant