diff --git a/.lintstagedrc.js b/.lintstagedrc.js --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -72,7 +72,7 @@ const paths = new Set(files.map(findRustProjectPath).filter(Boolean)); return `yarn rust-pre-commit ${Array.from(paths).join(' ')}`; }, - 'services/terraform/*.tf': function checkTerraform(files) { + 'services/terraform/**/*.tf': function checkTerraform(files) { return 'yarn terraform-pre-commit'; }, };