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

chore(build): load optional local repo tflint config #2500

Merged
merged 5 commits into from
Aug 9, 2024
Merged

Conversation

apeabody
Copy link
Collaborator

@apeabody apeabody commented Aug 8, 2024

No description provided.

@apeabody apeabody marked this pull request as ready for review August 8, 2024 19:01
# if module, load tighter ruleset
if [[ $path == "." || $path == "./modules"* ]];then
elif [[ $path == "." || $path == "./modules"* || $path =~ "^[0-9]-.*" ]]; then
Copy link
Collaborator

Choose a reason for hiding this comment

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

What is this supposed to match: ""^[0-9]-.*"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hey @g-awmalik This pattern is used in a few repos like: https://github.com/terraform-google-modules/terraform-example-foundation

e.g. 2-environments

@apeabody apeabody merged commit e52c99b into master Aug 9, 2024
6 checks passed
@apeabody apeabody deleted the ap/repo-tflint branch August 9, 2024 18:37
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.

2 participants