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

sorted_imports should support auto-correction #1822

Johennes opened this Issue Sep 7, 2017 · 1 comment


None yet
2 participants

Johennes commented Sep 7, 2017

New Issue Checklist

Enhancement Request

The sorted_imports rule should support autocorrection. It seems like a relatively easy task to just cut all import ... lines, sort them and then re-insert them wherever the first import statement was.


  • SwiftLint version: 0.22.0
  • Installation method used: Homebrew,
  • Paste your configuration file:
  - sorted_imports

This comment has been minimized.

Show comment
Hide comment

marcelofabri Oct 24, 2017


Implemented in #1922.


marcelofabri commented Oct 24, 2017

Implemented in #1922.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment