github.com/nozzle/golangci-lint@v1.49.0-nz3/test/testdata/misspell.go (about)

     1  //golangcitest:args -Emisspell
     2  //golangcitest:config_path testdata/configs/misspell.yml
     3  package testdata
     4  
     5  func Misspell() {
     6  	// comment with incorrect spelling: occured // want "`occured` is a misspelling of `occurred`"
     7  }
     8  
     9  // the word langauge should be ignored here: it's set in config