Skip to content

Commit f18486a

Browse files
MathiasVPjbj
andauthored
Update docs/pre-commit-hook-setup.md
Co-authored-by: Jonas Jensen <[email protected]>
1 parent ae388ec commit f18486a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/pre-commit-hook-setup.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CodeQL pre-commit-hook setup
22

3-
As stated in [CONTRIBUTING](../CONTRIBUTING.md) all CodeQL files must be formatted according to our [CodeQL style guide](ql-style-guide.md). You can use our pre-commit hook to avoid committing incorrectly formatted code. To use it, simply copy the [pre-commit](../misc/scripts/pre-commit) script to `.git/modules/ql/hooks/pre-commit` and make sure that:
3+
As stated in [CONTRIBUTING](../CONTRIBUTING.md) all CodeQL files must be formatted according to our [CodeQL style guide](ql-style-guide.md). You can use our pre-commit hook to avoid committing incorrectly formatted code. To use it, simply copy the [pre-commit](../misc/scripts/pre-commit) script to `.git/hooks/pre-commit` and make sure that:
44

55
- The script is executable. On Linux and macOS this can be done using `chmod +x`.
66
- The CodeQL CLI has been added to your `PATH`.

0 commit comments

Comments
 (0)