This message was deleted.
# atlantis-community
s
This message was deleted.
g
Just tested it and I can confirm
make lint
has a lot of warning currently 😬
looks related to a
revive
update
j
Is revive a commit?
g
it’s a go linter -> https://github.com/mgechev/revive
example
Copy code
server/controllers/events/events_controller_e2e_test.go:56:36: unused-parameter: parameter 'dst' seems to be unused, consider removing or renaming it as _ (revive)
func (m *NoopTFDownloader) GetFile(dst, src string) error {
You see
(revive)
in the end of the first line, that’s the linter that is complaining
on this one it’s
(gosimple)
Copy code
server/core/config/raw/global_cfg.go:283:77: S1002: should omit comparison to bool constant, can be simplified to `!*r.PolicyCheck` (gosimple)
                if globalReq == valid.PoliciesPassedCommandReq && r.PolicyCheck != nil && *r.PolicyCheck == false {
j
Ahh ok so the linter has changed. If I use an older version. It should.be fine.
🤞 1
g
it’s probably this PR released on <https:v1.3.0|v1.3.0>
I’ve had this before on other repos. Although I’d say we should have the rules on the repo to prevent this for other contributors
j
Makes sense. Thanks for clearing this up.
😊 1
p
mmmm I’m looking at the atlantis PRs an I do not find any `revive`related PRs recently
ohhh the workflow
I bet we are just using latest….I had so many issue with workflows lately that we should start pinging minor versions
g
I’m happy to send a PR to fix all these linter errors
but I have to rely on the tests to not break anything
since I’m not aware of most of the codebase
p
sure, please do
👍 1