File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ repos:
151151
152152With the introduction of `--chdir` into tflint, the `--config` argument is now bound to whatever subdirectory you are
153153running the check against. For mono-repos this isn't ideal as you may have a central configuration file you'd like to
154- use. If this matches your use-case, you can specify the placeholder `__GIT_DIR__ ` value in the `--config` argument
154+ use. If this matches your use-case, you can specify the placeholder `__GIT_ROOT__ ` value in the `--config` argument
155155that will evaluate to the root of the repository you are in.
156156
157157` ` ` yaml
@@ -161,7 +161,7 @@ repos:
161161 hooks:
162162 - id: tflint
163163 args:
164- - "--config=__GIT_DIR__ /.tflint.hcl"
164+ - "--config=__GIT_ROOT__ /.tflint.hcl"
165165` ` `
166166
167167# ### Changing the placeholder value
You can’t perform that action at this time.
0 commit comments