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

legacy_constructor rule should trigger for UIOffsetMake #2126

Closed
2 tasks done
marcelofabri opened this issue Mar 30, 2018 · 0 comments
Closed
2 tasks done

legacy_constructor rule should trigger for UIOffsetMake #2126

marcelofabri opened this issue Mar 30, 2018 · 0 comments
Labels
enhancement Ideas for improvements of existing features and rules.

Comments

@marcelofabri
Copy link
Collaborator

New Issue Checklist

Bug Report

Environment

  • SwiftLint version (run swiftlint version to be sure)? 0.26.0

  • Installation method used (Homebrew, CocoaPods, building from source, etc)? CP

  • Paste your configuration file: empty

  • Are you using nested configurations?
    If so, paste their relative paths and respective contents.

No

  • Which Xcode version are you using (check xcode-select -p)?

9.2

  • Do you have a sample that shows the issue? Run echo "[string here]" | swiftlint lint --no-cache --use-stdin --enable-all-rules
    to quickly test if your example is really demonstrating the issue. If your example is more
    complex, you can use swiftlint lint --path [file here] --no-cache --enable-all-rules.
// This should trigger a violation:
let offset = UIOffsetMake(0, 8)
@marcelofabri marcelofabri added the enhancement Ideas for improvements of existing features and rules. label Mar 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Ideas for improvements of existing features and rules.
Projects
None yet
Development

No branches or pull requests

1 participant