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

Add dash checks for data sources and modules #685

Merged
merged 3 commits into from Mar 23, 2020
Merged

Add dash checks for data sources and modules #685

merged 3 commits into from Mar 23, 2020

Conversation

gkze
Copy link
Contributor

@gkze gkze commented Mar 22, 2020

Thank you for this awesome project!

  • Add terraform_dash_in_data_source_name rule, which checks for dashes
    in data source names
  • Add terraform_dash_in_module_name rule, which checks for dashes in
    module declarations

* Add `terraform_dash_in_data_source_name` rule, which checks for dashes
in data source names
* Add `terraform_dash_in_module_name` rule, which checks for dashes in
module declarations
Copy link
Member

@wata727 wata727 left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution!

## Example

```hcl
module dash-name" {
Copy link
Member

Choose a reason for hiding this comment

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

😅

Suggested change
module dash-name" {
module "dash-name" {

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🤦‍♂ ⚡️

@@ -0,0 +1,34 @@
# terraform_dash_in_data_source_name
Copy link
Member

Choose a reason for hiding this comment

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

@wata727 wata727 merged commit 6dcdf51 into terraform-linters:master Mar 23, 2020
@wata727
Copy link
Member

wata727 commented Mar 23, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants