-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
shebang should be ignored by all rules #1294
Labels
enhancement
Ideas for improvements of existing features and rules.
Comments
norio-nomura
added
the
enhancement
Ideas for improvements of existing features and rules.
label
Feb 8, 2017
Maybe we should do some pre-processing in SwiftLint before passing the contents to the rules? This feels hacky and potentially dangerous with offsets, positioning, etc, but I don't think all the rules should treat this by theirselves. |
I'd like to add that if used with autocorrect, it turns into |
marcelofabri
added a commit
that referenced
this issue
Jul 21, 2017
By making a creative use of regions. Fixes #1294.
marcelofabri
added a commit
that referenced
this issue
Jul 21, 2017
By making a creative use of regions. Fixes #1294.
marcelofabri
added a commit
that referenced
this issue
Jul 22, 2017
By making a creative use of regions. Fixes #1294.
marcelofabri
added a commit
that referenced
this issue
Jul 23, 2017
By making a creative use of regions. Fixes #1294.
marcelofabri
added a commit
that referenced
this issue
Jul 23, 2017
By making a creative use of regions. Fixes #1294.
marcelofabri
added a commit
that referenced
this issue
Jul 25, 2017
By making a creative use of regions. Fixes #1294.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current implementation detects two
operator_usage_whitespace
violations in shebang.e.g:
The text was updated successfully, but these errors were encountered: