Skip to content

add option -i(ignore) to misspell linter #384

Closed
@hgsgtk

Description

@hgsgtk

I wanted to use misspell linter, however to use misspell we have to set ignore option -i.
Do you have a plan to add ignore option? Or Can I challenge to add ignore option to golangci-lint?

  -i string
    	ignore the following corrections, comma separated

https://github.com/client9/misspell

  1. Version of golangci-lint: golangci-lint --version (or git commit if you don't use binary distribution)
    7b2421d

  2. Config file: cat .golangci.yml

linters-settings:
  govet:
    check-shadowing: false
  golint:
    min-confidence: 0
  gocyclo:
    min-complexity: 30
  maligned:
    suggest-new: true

linters:
  enable-all: true
  disable:
    - gochecknoglobals
    - dupl
    - lll
    - goconst
    - depguard
    - goimports
    - misspell
    - scopelint
    - gosec
  1. Go environment: go version && go env
    go version go1.11 darwin/amd64
  2. Verbose output of running: golangci-lint run -v

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions