8000 add revive for go · Issue #2429 · neomake/neomake · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
add revive for go #2429
Open
Open
@delfick

Description

@delfick

Hi,

Can we have an addition to the go linters for revive? https://github.com/mgechev/revive

I copied the golangci-lint definition and added this locally and it seems to work

function! neomake#makers#ft#go#revive() abort
    return {
        \ 'exe': 'revive',
        \ 'args': ['%t'],
        \ 'cwd': '%:h',
        \ 'errorformat':
            \ '%f:%l:%c: %m,' .
            \ '%f:%l: %m'
        \ }
endfunction

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0