Commit Graph

4 Commits

Author SHA1 Message Date
Alexander Hughes
2d523314d8 Bump linter from 1.29 to 1.36
Updating linter to latest version, which also updates
gosec to latest version to keep on top of updated security
checks in source code. Also disable gosec testing for rand.new.

Co-Authored-By: Alexander Hughes <Alexander.Hughes@pm.me>
Co-Authored-By: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I46e71c41597f70150ace6d9611da5a01f93a933d
Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
2021-02-11 12:08:21 +00:00
Vladislav Kuzmin
43fad9ad85 Replace Non-ASCII symbols
Update golanci version, because we need to add asciicheck linter.
Because of update appears some gosec issues.

Closes: #312

Change-Id: I54759e7301f0fb9dcb60eb7d9a2d1e9cebfaf359
2020-08-05 13:22:59 +00:00
Ian Howell
b669efb95b Uplift linter
The golangci-lint linter runs into issue [0] when linting airshipctl
with go1.14. This uplifts the linter to a version in which the issue is
fixed.

[0] https://github.com/golangci/golangci-lint/issues/893

Change-Id: I50d3c4ab2533c1d14d01effed21906f0ef79aafc
2020-03-04 09:19:19 -06:00
Ian Howell
5b25f0bd00 This removes golangci-lint as a go module dependency.
golangci-lint is GPL-licensed, and its presence in go.mod might lead
people to believe that airshipctl links against a GPL-licensed
dependency. In reality airshipctl does not link against golangci-lint
(thanks to the // +build tools comment), but this change helps to avoid
that misconception from being made.

Change-Id: I95c223a7f6597e1aa07a025ed2cebbbd6bd7cbd8
2019-10-30 09:26:42 -05:00