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

Replace gometalinter with golangci-lint. #103

Merged
merged 18 commits into from
Jan 22, 2019

Conversation

metmajer
Copy link
Member

@metmajer metmajer commented Jan 22, 2019

Prerequisites

Put an x into the box(es) that apply:

  • This pull request fixes a bug.
  • This pull request adds a feature.
  • This pull request enhances existing functionality.
  • This pull request introduces breaking change.

For more information, see the Contributing Guide.

Description

This PR replaces gometalinter with the more performance alternative golangci-lint.

Checklist

Put an x into all boxes that apply:

Tests

  • I have added tests to cover my changes.
  • All tests pass when I run make test.

Documentation

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Code Style

  • My code follows the code style of this project.

metmajer and others added 18 commits July 25, 2018 20:58
Add support for default values for variable types list and map.
Literal types remain unquoted in pretty presentation. Simplify code.
Fix printing of '-' for required variables.
Type is optional (https://www.terraform.io/docs/configuration/variables.html#type), so infer the type when possible.

This fixes panics for cases like:

```
variable "foo" {
  default = []
}
```
Add support for type inference
@metmajer metmajer merged commit 278067d into terraform-docs:master Jan 22, 2019
@metmajer metmajer deleted the add-golangci-lint branch January 22, 2019 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants