@@ -161,6 +161,8 @@ use nix
161
161
### Haskell
162
162
163
163
- [ cabal-fmt] ( https://github.com/phadej/cabal-fmt )
164
+ - [ cabal-gild] ( https://github.com/tfausak/cabal-gild )
165
+ - [ cabal2nix] ( https://github.com/NixOS/cabal2nix )
164
166
- [ fourmolu] ( https://github.com/parsonsmatt/fourmolu )
165
167
- [ hindent] ( https://github.com/chrisdone/hindent )
166
168
- [ hlint] ( https://github.com/ndmitchell/hlint )
@@ -186,11 +188,41 @@ clang-format = {
186
188
Otherwise, the default internal list is used which includes everything that
187
189
clang-format supports.
188
190
191
+ ### Ansible
192
+
193
+ - [ ansible-lint] ( https://github.com/ansible/ansible-lint )
194
+
195
+ ### C/C++
196
+
197
+ - [ cmake-format] ( https://cmake-format.readthedocs.io/en/latest/ )
198
+
189
199
### Clojure
190
200
191
201
- [ cljfmt] ( https://github.com/weavejester/cljfmt )
192
202
- [ zprint] ( https://github.com/kkinnear/zprint )
193
203
204
+ ### Crystal
205
+
206
+ - [ crystal] ( https://crystal-lang.org/reference/man/crystal#crystal-tool-format )
207
+
208
+ ### Dart
209
+
210
+ - [ dart analyze] ( https://dart.dev/tools/dart-analyze )
211
+ - [ dart format] ( https://dart.dev/tools/dart-format )
212
+
213
+ ### Dhall
214
+
215
+ - [ dhall format] ( https://github.com/dhall-lang/dhall-lang )
216
+
217
+ ### Dockerfile
218
+
219
+ - [ hadolint] ( https://github.com/hadolint/hadolint )
220
+
221
+ ### Editorconfig
222
+
223
+ - [ eclint] ( https://github.com/jednano/eclint )
224
+ - [ editorconfig-checker] ( https://github.com/editorconfig-checker/editorconfig-checker )
225
+
194
226
### Elm
195
227
196
228
- [ elm-format] ( https://github.com/avh4/elm-format )
@@ -223,6 +255,7 @@ clang-format supports.
223
255
224
256
- gofmt: Runs ` go fmt `
225
257
- [ golangci-lint] ( https://golangci-lint.run/ )
258
+ - [ golines] ( https://github.com/segmentio/golines )
226
259
- gotest: Runs ` go test `
227
260
- [ govet] ( https://pkg.go.dev/cmd/vet )
228
261
- [ revive] ( https://github.com/mgechev/revive )
@@ -261,14 +294,15 @@ clang-format supports.
261
294
### Markdown
262
295
263
296
- [ markdownlint] ( https://github.com/DavidAnson/markdownlint )
297
+ - [ mdformat] ( https://github.com/hukkin/mdformat )
264
298
- [ mdl] ( https://github.com/markdownlint/markdownlint/ )
265
299
- [ mdsh] ( https://zimbatm.github.io/mdsh/ )
266
300
267
301
### JavaScript/TypeScript
268
302
269
303
- [ biome] ( https://biomejs.dev/ )
270
- - denofmt: Runs ` deno fmt `
271
- - denolint: Runs ` deno lint `
304
+ - [ denofmt] ( https://docs. deno.com/runtime/reference/cli/ fmt/ )
305
+ - [ denolint] ( https://docs. deno.com/runtime/reference/cli/ lint/ )
272
306
- [ eslint] ( https://github.com/eslint/eslint )
273
307
- rome: (alias to the biome hook)
274
308
@@ -289,6 +323,7 @@ clang-format supports.
289
323
290
324
### Purescript
291
325
326
+ - [ purs-tidy] ( https://github.com/natefaubion/purescript-tidy )
292
327
- [ purty] ( https://gitlab.com/joneshf/purty )
293
328
294
329
### Python
@@ -300,25 +335,33 @@ clang-format supports.
300
335
- [ check-python] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/check_ast.py )
301
336
- [ fix-encoding-pragma] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/fix_encoding_pragma.py )
302
337
- [ flake8] ( https://github.com/PyCQA/flake8 )
338
+ - [ flynt] ( https://github.com/ikamensh/flynt )
303
339
- [ isort] ( https://github.com/PyCQA/isort )
304
340
- [ mypy] ( https://github.com/python/mypy )
305
341
- [ name-tests-test] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/tests_should_end_in_test.py )
342
+ - [ poetry-check] ( https://python-poetry.org/docs/pre-commit-hooks ) : Run ` poetry check ` .
343
+ - [ poetry-lock] ( https://python-poetry.org/docs/pre-commit-hooks ) : Run ` poetry lock ` .
306
344
- [ pylint] ( https://github.com/PyCQA/pylint )
307
345
- [ pyright] ( https://github.com/microsoft/pyright )
308
346
- [ python-debug-statements] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/debug_statement_hook.py )
309
- - [ poetry-check] ( https://python-poetry.org/docs/pre-commit-hooks ) : Run ` poetry check ` .
310
- - [ poetry-lock] ( https://python-poetry.org/docs/pre-commit-hooks ) : Run ` poetry lock ` .
311
347
- [ pyupgrade] ( https://github.com/asottile/pyupgrade )
312
348
- [ ruff] ( https://github.com/charliermarsh/ruff )
313
349
- [ ruff-format] ( https://github.com/charliermarsh/ruff )
350
+ - [ single-quoted-strings] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/string_fixer.py )
314
351
- [ sort-requirements-txt] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/requirements_txt_fixer.py )
315
352
316
353
### Rust
317
354
318
- - cargo-check: Runs ` cargo check `
355
+ - [ cargo-check] ( https://doc.rust-lang.org/ cargo/commands/cargo- check.html )
319
356
- [ clippy] ( https://github.com/rust-lang/rust-clippy )
320
357
- [ rustfmt] ( https://github.com/rust-lang/rustfmt )
321
358
359
+ ### Secret detection
360
+
361
+ - [ pre-commit-ensure-sops] ( https://github.com/yuvipanda/pre-commit-hook-ensure-sops )
362
+ - [ ripsecrets] ( https://github.com/sirwart/ripsecrets )
363
+ - [ trufflehog] ( https://github.com/trufflesecurity/trufflehog ) : Secret scanner
364
+
322
365
### Shell
323
366
324
367
- [ bats] ( https://github.com/bats-core/bats-core )
@@ -330,7 +373,9 @@ clang-format supports.
330
373
331
374
- [ cspell] ( https://cspell.org/ )
332
375
- [ hunspell] ( https://github.com/hunspell/hunspell )
376
+ - [ proselint] ( https://github.com/amperser/proselint )
333
377
- [ typos] ( https://github.com/crate-ci/typos )
378
+ - [ vale] ( https://github.com/errata-ai/vale )
334
379
335
380
### Terraform
336
381
@@ -366,26 +411,23 @@ clang-format supports.
366
411
- [ check-symlinks] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/check_symlinks.py )
367
412
- [ check-vcs-permalinks] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/check_vcs_permalinks.py )
368
413
- [ check-xml] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/check_xml.py )
369
- - [ cmake-format ] ( https://cmake-format.readthedocs.io/en/latest / )
370
- - [ crystal ] ( https://crystal-lang.org/reference/man/crystal#crystal-tool-format )
414
+ - [ circleci ] ( https://circleci.com / )
415
+ - [ conform ] ( https://github.com/edmundhung/conform )
371
416
- [ detect-aws-credentials] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/detect_aws_credentials.py )
372
417
- [ detect-private-keys] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/detect_private_key.py )
373
- - ` dhall format ` : built-in formatter
374
- - [ editorconfig-checker] ( https://github.com/editorconfig-checker/editorconfig-checker )
375
418
- [ end-of-file-fixer] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/end_of_file_fixer.py )
376
419
- [ fix-byte-order-marker] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/fix_byte_order_marker.py )
377
- - [ hadolint] ( https://github.com/hadolint/hadolint )
378
420
- [ headache] ( https://github.com/frama-c/headache )
379
421
- [ mixed-line-endings] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/mixed_line_ending.py )
380
422
- [ mkdocs-linkcheck] ( https://github.com/byrnereese/linkchecker-mkdocs )
381
423
- [ openapi-spec-validator] ( https://github.com/python-openapi/openapi-spec-validator )
382
424
- [ prettier] ( https://prettier.io )
425
+ - [ reuse] ( https://github.com/fsfe/reuse-tool )
383
426
- [ sort-file-contents] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/file_contents_sorter.py )
384
427
- [ tagref] ( https://github.com/stepchowfun/tagref )
385
428
- [ topiary] ( https://github.com/tweag/topiary )
386
429
- [ treefmt] ( https://github.com/numtide/treefmt )
387
430
- [ trim-trailing-whitespace] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/trailing_whitespace_fixer.py )
388
- - [ trufflehog] ( https://github.com/trufflesecurity/trufflehog ) : Secret scanner
389
431
390
432
### Custom hooks
391
433
0 commit comments