Skip to content

Commit 6142651

Browse files
feat: add linter configs to the os sync task (#26)
## what - sync linter configs from template repo when - See this for more context masterpointio/terraform-module-template#44 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated the default set of modules to target only one specific module. - Expanded the list of configuration files included in synchronization tasks. - Improved comments and ignore patterns for project-specific directories. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 2238455 commit 6142651

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
.cursor/rules/*
1+
.cursor/rules/*
2+
3+
# Claude Code - we beleive engineers are responsible for the code they push no matter how it's generated.
4+
# Therefore, configs specific to their coding practices are their responsibilty to judiciously manage.
5+
.claude/*
6+

lib/os-modules/Taskfile.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ vars:
55
terraform-aws-ssm-agent \
66
terraform-aws-tailscale \
77
terraform-datadog-users \
8-
terraform-github-teams \
98
terraform-github-organization \
9+
terraform-github-teams \
1010
terraform-googleworkspace-users-groups-automation \
1111
terraform-postgres-config-dbs-users-roles \
1212
terraform-secrets-helper \
@@ -32,12 +32,16 @@ tasks:
3232
vars:
3333
MODULES: "{{if .CLI_ARGS}}{{.CLI_ARGS}}{{else}}{{.DEFAULT_MODULES}}{{end}}"
3434
FILES: >-
35-
.github
36-
.trunk
35+
.checkov.yaml
3736
.coderabbit.yaml
3837
.editorconfig
3938
.gitignore
39+
.github
40+
.markdownlint.yaml
4041
.terraform-docs.yaml
42+
.tflint.hcl
43+
.trunk
44+
.yamllint.yaml
4145
LICENSE
4246
aqua.yaml
4347
cmds:
@@ -46,7 +50,7 @@ tasks:
4650
modules=$(echo "{{.MODULES}}" | tr '\n' ' ' | sed 's/\\//g')
4751
for module in $modules
4852
do
49-
echo "Syncing files to ../$module..."
53+
echo "Syncing files to ../$module ..."
5054
for file in {{.FILES}}
5155
do
5256
echo " Syncing $file"

0 commit comments

Comments
 (0)