Skip to content

Commit 1c23d30

Browse files
authored
Merge pull request #251 from orionrobots/extend-pre-commit-linters
Update .pre-commit-config.yaml
2 parents 63b459b + d387c23 commit 1c23d30

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.pre-commit-config.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ repos:
2929
exclude: "^.*drawio$"
3030
- id: detect-private-key
3131
exclude: "^.*drawio$"
32+
3233
# - id: detect-aws-credentials
3334
# exclude: "^.*drawio$"
3435
- id: check-ast
@@ -39,3 +40,22 @@ repos:
3940
# hooks:
4041
# - id: cspell
4142
# docker run --rm -v $PWD:/app madewithlove/htaccess-cli -p _site https://orionrobots.co.uk/wiki/usb - verified htaccess on one file. But doesnt validate whole file syntax.
43+
44+
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
45+
rev: 3.2.1
46+
hooks:
47+
- id: editorconfig-checker
48+
alias: ec
49+
50+
- repo: https://github.com/gitleaks/gitleaks
51+
rev: v8.16.1
52+
hooks:
53+
- id: gitleaks
54+
55+
- repo: https://github.com/semgrep/pre-commit
56+
rev: 'v1.117.0'
57+
hooks:
58+
- id: semgrep-docker
59+
require_serial: true
60+
pass_filenames: false
61+
args: ["ci", "--dry-run", "--baseline-commit", "HEAD"]

0 commit comments

Comments
 (0)