Added misspell linter

This commit is contained in:
Kirill Muratov 2019-03-22 23:57:00 +03:00
parent 5059f0bee6
commit ef4a805b02
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,8 @@ output:
print-issued-lines: false
linters:
enable:
- misspell
disable:
- errcheck
- staticcheck

View File

@ -873,7 +873,7 @@ func (m *Migrate) lock() error {
}
}()
// wait until we either recieve ErrLockTimeout or error from Lock operation
// wait until we either receive ErrLockTimeout or error from Lock operation
err := <-errchan
if err == nil {
m.isLocked = true