Skip to content
This repository has been archived by the owner on May 9, 2021. It is now read-only.

cmd/golint: introduce auto fix option (--fix) #476

Closed
wants to merge 4 commits into from

Commits on Dec 10, 2019

  1. cmd/golint: introduce auto fix option (--fix)

    This patch introduces an option to fix pointed out warnings automatically.
    This one provides such function partially; actually it has the only naming auto-correction.
    
    Ref golang#214
    moznion committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    00dcd60 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2019

  1. lint: use the same *token.FileSet to parse and generate file

    If not, `format.Node()` outputs the source code that has
    comments on an incorrect position.
    moznion committed Dec 12, 2019
    Configuration menu
    Copy the full SHA
    9e3261b View commit details
    Browse the repository at this point in the history
  2. lint: rename *ast.Ident value automatically when the ident violated…

    … name rule on fix mode
    
    When `*ast.Ident` value was fixed, it doesn't show a warning message.
    moznion committed Dec 12, 2019
    Configuration menu
    Copy the full SHA
    9ceeaa3 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2019

  1. Configuration menu
    Copy the full SHA
    601803c View commit details
    Browse the repository at this point in the history