Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stricter linting #206

Closed
errordeveloper opened this issue Sep 12, 2018 · 0 comments · Fixed by #240
Closed

Stricter linting #206

errordeveloper opened this issue Sep 12, 2018 · 0 comments · Fixed by #240
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@errordeveloper
Copy link
Contributor

errordeveloper commented Sep 12, 2018

As of #193, we have make lint, but it's in errors-only mode and fairly light. Would be good to review and make it stricter.

https://github.com/weaveworks/eksctl/blob/584e85ad3bec1daf73165ed748639fb6f8023a29/.gometalinter.json#L1-L6

@errordeveloper errordeveloper added help wanted Extra attention is needed good first issue Good for newcomers labels Sep 12, 2018
@errordeveloper errordeveloper added this to the 0.1.x – improvements milestone Sep 12, 2018
@gruebel gruebel mentioned this issue Oct 5, 2018
5 tasks
richardcase added a commit that referenced this issue Oct 10, 2018
Changed the linter from gometalinter to [GolangCI-Lint](
https://github.com/golangci/golangci-lint) as it is faster
and the configuration and output are better.

Fixed issue highlighted by the new linter. The following
linters have been disabled and should be enabled in the future:

- gocyclo
- lll
- gosec

This is further to work already carried out in #206

Signed-off-by: Richard Case <richard.case@outlook.com>
errordeveloper pushed a commit that referenced this issue Oct 11, 2018
Changed the linter from gometalinter to [GolangCI-Lint](
https://github.com/golangci/golangci-lint) as it is faster
and the configuration and output are better.

Fixed issue highlighted by the new linter. The following
linters have been disabled and should be enabled in the future:

- gocyclo
- lll
- gosec

This is further to work already carried out in #206

Signed-off-by: Richard Case <richard.case@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant