Skip to content

Added golangci configuration and travis fix #248

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

Merged
merged 4 commits into from
Jul 9, 2020
Merged

Added golangci configuration and travis fix #248

merged 4 commits into from
Jul 9, 2020

Conversation

PacoDw
Copy link
Contributor

@PacoDw PacoDw commented Jun 17, 2020

Description

Implemented golangci.yml configuration file that will allow us to have more Lints for the code which helps to have more clean code and introduce good programming practices. Also, Travis was fixed.

Type of change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Documentation fix/enhancement

Required Checklist:

  • I have signed the MongoDB CLA
  • I have read the Terraform contribution guidelines
  • I have added tests that prove my fix is effective or that my feature works per HashiCorp requirments
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code

@ghost ghost added the size/XXL label Jun 17, 2020
@PacoDw PacoDw force-pushed the golangci_conf branch 2 times, most recently from e9842d2 to 385feb6 Compare June 18, 2020 14:22
@PacoDw PacoDw changed the title WIP: Added golangci configuration Added golangci configuration Jun 18, 2020
Copy link
Collaborator

@gssbzn gssbzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a couple of nits since I recently did this for the atlas client

@themantissa
Copy link
Collaborator

Just noting: Holding off on review until comments are addressed - seems we have a bit to adjust here first. Thanks!

@PacoDw PacoDw force-pushed the golangci_conf branch 10 times, most recently from 5c5ad46 to e125578 Compare July 7, 2020 15:07
@PacoDw PacoDw changed the title Added golangci configuration Added golangci configuration and travis fix Jul 7, 2020
Copy link
Contributor

@marinsalinas marinsalinas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few typos found, otherwise LGTM :)

@PacoDw PacoDw requested a review from marinsalinas July 7, 2020 16:53
Copy link
Collaborator

@themantissa themantissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - please ensure we wait for @gssbzn to check his comments were resolved and approves before merging.

@PacoDw
Copy link
Contributor Author

PacoDw commented Jul 8, 2020

@gssbzn could you check if it's okay plz?

Copy link
Collaborator

@gssbzn gssbzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for doing all this

@PacoDw PacoDw merged commit 5a44374 into master Jul 9, 2020
@PacoDw PacoDw deleted the golangci_conf branch July 9, 2020 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants