-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add linter configs to the os sync task #26
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,6 @@ | ||
| .cursor/rules/* | ||
| .cursor/rules/* | ||
|
|
||
| # Claude Code - we beleive engineers are responsible for the code they push no matter how it's generated. | ||
| # Therefore, configs specific to their coding practices are their responsibilty to judiciously manage. | ||
| .claude/* | ||
|
|
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -5,8 +5,8 @@ vars: | |||||||||||||
| terraform-aws-ssm-agent \ | ||||||||||||||
| terraform-aws-tailscale \ | ||||||||||||||
| terraform-datadog-users \ | ||||||||||||||
| terraform-github-teams \ | ||||||||||||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ordering modules in a-z order |
||||||||||||||
| terraform-github-organization \ | ||||||||||||||
| terraform-github-teams \ | ||||||||||||||
| terraform-googleworkspace-users-groups-automation \ | ||||||||||||||
| terraform-postgres-config-dbs-users-roles \ | ||||||||||||||
| terraform-secrets-helper \ | ||||||||||||||
|
|
@@ -32,12 +32,16 @@ tasks: | |||||||||||||
| vars: | ||||||||||||||
| MODULES: "{{if .CLI_ARGS}}{{.CLI_ARGS}}{{else}}{{.DEFAULT_MODULES}}{{end}}" | ||||||||||||||
| FILES: >- | ||||||||||||||
| .github | ||||||||||||||
| .trunk | ||||||||||||||
| .checkov.yaml | ||||||||||||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added and ordering a-z |
||||||||||||||
| .coderabbit.yaml | ||||||||||||||
| .editorconfig | ||||||||||||||
| .gitignore | ||||||||||||||
| .github | ||||||||||||||
| .markdownlint.yaml | ||||||||||||||
| .terraform-docs.yaml | ||||||||||||||
| .tflint.hcl | ||||||||||||||
| .trunk | ||||||||||||||
| .yamllint.yaml | ||||||||||||||
| LICENSE | ||||||||||||||
| aqua.yaml | ||||||||||||||
| cmds: | ||||||||||||||
|
|
@@ -46,7 +50,7 @@ tasks: | |||||||||||||
| modules=$(echo "{{.MODULES}}" | tr '\n' ' ' | sed 's/\\//g') | ||||||||||||||
| for module in $modules | ||||||||||||||
| do | ||||||||||||||
| echo "Syncing files to ../$module..." | ||||||||||||||
| echo "Syncing files to ../$module ..." | ||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Harden the sync script with strict error handling Add cmds:
- - |
+ - |
+ set -euo pipefail
# Convert newlines to spaces and remove backslashes
modules=$(echo "{{.MODULES}}" | tr '\n' ' ' | sed 's/\\//g')📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||
| for file in {{.FILES}} | ||||||||||||||
| do | ||||||||||||||
| echo " Syncing $file" | ||||||||||||||
|
|
||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.