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

feature request: Ignore commented lines #96

Open
TL-Garcia opened this issue Jun 30, 2021 · 0 comments
Open

feature request: Ignore commented lines #96

TL-Garcia opened this issue Jun 30, 2021 · 0 comments

Comments

@TL-Garcia
Copy link

TL-Garcia commented Jun 30, 2021

Hey there, thanks for the awesome plugin!

It'd be really nice to be able to ignore commented lines when sorting, since many times comments are interspersed in the code.

For example, turning this:

const props = {
  onAsyncCallback,
  // handles calls to X API 
 isOpen,
 // toggles modal
 bar: true,
 // does nothing
}

Into this:

const props = {
  bar: true,
  // does nothing
  isOpen,
  // toggles modal
  onAsyncCallback,
  // handles calls to X API 
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants