From 480adad5a17bff734ca3aaa6c8538585378340e5 Mon Sep 17 00:00:00 2001 From: WestonPlatter Date: Fri, 13 Jun 2025 13:02:58 -0600 Subject: [PATCH 1/5] feat: move tflint config to root directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move .tflint.hcl from .trunk/configs/ to root directory and update trunk.yaml to use default config discovery. This simplifies the configuration and follows standard tflint conventions. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .trunk/configs/.tflint.hcl => .tflint.hcl | 0 .trunk/trunk.yaml | 7 ------- 2 files changed, 7 deletions(-) rename .trunk/configs/.tflint.hcl => .tflint.hcl (100%) diff --git a/.trunk/configs/.tflint.hcl b/.tflint.hcl similarity index 100% rename from .trunk/configs/.tflint.hcl rename to .tflint.hcl diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 472353f..35c1009 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -31,13 +31,6 @@ lint: - trivy@0.63.0 - trufflehog@3.88.35 - yamllint@1.37.1 - # NOTE(tflint): specific override required so it uses .tflint.hcl file in .trunk/configs directory - # https://github.com/trunk-io/plugins/tree/main/linters/tflint - definitions: - - name: tflint - environment: - - name: TFLINT_CONFIG_FILE - value: ${workspace}/.trunk/configs/.tflint.hcl ignore: - linters: [tofu] paths: From b796243e226418d68cad6dac6878a971a51e5ffd Mon Sep 17 00:00:00 2001 From: WestonPlatter Date: Fri, 13 Jun 2025 13:07:23 -0600 Subject: [PATCH 2/5] feat: move remaining linter configs to root directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move .checkov.yaml, .yamllint.yaml, and .markdownlint.yaml from .trunk/configs/ to root directory. This consolidates all important configs at the top level for better visibility and independence from trunk tooling. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .trunk/configs/.checkov.yaml => .checkov.yaml | 0 .claude/settings.local.json | 12 ++++++++++++ .../configs/.markdownlint.yaml => .markdownlint.yaml | 0 .trunk/configs/.yamllint.yaml => .yamllint.yaml | 0 4 files changed, 12 insertions(+) rename .trunk/configs/.checkov.yaml => .checkov.yaml (100%) create mode 100644 .claude/settings.local.json rename .trunk/configs/.markdownlint.yaml => .markdownlint.yaml (100%) rename .trunk/configs/.yamllint.yaml => .yamllint.yaml (100%) diff --git a/.trunk/configs/.checkov.yaml b/.checkov.yaml similarity index 100% rename from .trunk/configs/.checkov.yaml rename to .checkov.yaml diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..c7ca9a5 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,12 @@ +{ + "permissions": { + "allow": [ + "Bash(trunk check:*)", + "Bash(git checkout:*)", + "Bash(find:*)", + "Bash(git mv:*)", + "Bash(git add:*)" + ], + "deny": [] + } +} diff --git a/.trunk/configs/.markdownlint.yaml b/.markdownlint.yaml similarity index 100% rename from .trunk/configs/.markdownlint.yaml rename to .markdownlint.yaml diff --git a/.trunk/configs/.yamllint.yaml b/.yamllint.yaml similarity index 100% rename from .trunk/configs/.yamllint.yaml rename to .yamllint.yaml From 019756e9cca80607abdd16f412d988c3bcadcbd9 Mon Sep 17 00:00:00 2001 From: WestonPlatter Date: Fri, 13 Jun 2025 13:08:16 -0600 Subject: [PATCH 3/5] ignore claude code folder --- .trunk/.gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.trunk/.gitignore b/.trunk/.gitignore index 15966d0..99717e7 100644 --- a/.trunk/.gitignore +++ b/.trunk/.gitignore @@ -7,3 +7,5 @@ plugins user_trunk.yaml user.yaml tmp + +.claude/* \ No newline at end of file From 77f36ea609221944670008284d8d8dfa8f6738d3 Mon Sep 17 00:00:00 2001 From: WestonPlatter Date: Fri, 13 Jun 2025 13:25:11 -0600 Subject: [PATCH 4/5] remvoe claude code configs from repo --- .claude/settings.local.json | 12 ------------ .gitignore | 6 +++++- 2 files changed, 5 insertions(+), 13 deletions(-) delete mode 100644 .claude/settings.local.json diff --git a/.claude/settings.local.json b/.claude/settings.local.json deleted file mode 100644 index c7ca9a5..0000000 --- a/.claude/settings.local.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "permissions": { - "allow": [ - "Bash(trunk check:*)", - "Bash(git checkout:*)", - "Bash(find:*)", - "Bash(git mv:*)", - "Bash(git add:*)" - ], - "deny": [] - } -} diff --git a/.gitignore b/.gitignore index 0f95997..4c85809 100644 --- a/.gitignore +++ b/.gitignore @@ -44,4 +44,8 @@ backend.tf.json **/*.temp **/*.bak **/*.*swp -**/.DS_Store \ No newline at end of file +**/.DS_Store + +# 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/* From 19499e51b31c7fd6eeaa0edd3fd4889904beec5c Mon Sep 17 00:00:00 2001 From: WestonPlatter Date: Fri, 13 Jun 2025 13:25:53 -0600 Subject: [PATCH 5/5] remove claude code ref in trunk folder --- .trunk/.gitignore | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.trunk/.gitignore b/.trunk/.gitignore index 99717e7..072b680 100644 --- a/.trunk/.gitignore +++ b/.trunk/.gitignore @@ -6,6 +6,4 @@ plugins user_trunk.yaml user.yaml -tmp - -.claude/* \ No newline at end of file +tmp \ No newline at end of file