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

Rewrite ForceUnwrappingRule #552

Merged
merged 6 commits into from
Mar 10, 2016
Merged

Rewrite ForceUnwrappingRule #552

merged 6 commits into from
Mar 10, 2016

Commits on Feb 21, 2016

  1. Configuration menu
    Copy the full SHA
    f80373f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5e3798 View commit details
    Browse the repository at this point in the history
  3. Add Structure.kindsFor(_:)

    That returns array of tupple containing "key.kind" and "byteRange" from Structure that containing the byte offset.
    norio-nomura committed Feb 21, 2016
    Configuration menu
    Copy the full SHA
    c042258 View commit details
    Browse the repository at this point in the history
  4. Rewrite ForceUnwrappingRule

    Add capture previous of "!" for:
    - checking whether SyntaxKinds is comment, string, keyword or type identifier
    - checking whether character is ")"
    - checking whether SyntaxKinds is identifier or not
    - SwiftDeclarationKind is one of some "Var*" and declaration containing "="
    
    Add capture next of "!" for:
    - checking SyntaxKinds is identifier
    
    By applying this, the duration of linting Carthage 0.14 increase from 300ms to 380ms.
    norio-nomura committed Feb 21, 2016
    Configuration menu
    Copy the full SHA
    f62fe10 View commit details
    Browse the repository at this point in the history
  5. Add changelog entry

    norio-nomura committed Feb 21, 2016
    Configuration menu
    Copy the full SHA
    5781879 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2016

  1. fix docs typos

    jpsim committed Mar 10, 2016
    Configuration menu
    Copy the full SHA
    1166b69 View commit details
    Browse the repository at this point in the history