@@ -204,16 +204,65 @@ clang-format supports.
204
204
- [ mix-format] ( https://hexdocs.pm/mix/main/Mix.Tasks.Format.html )
205
205
- [ mix-test] ( https://hexdocs.pm/mix/1.13/Mix.Tasks.Test.html )
206
206
207
- ### OCaml
207
+ ### Fortran
208
208
209
- - [ dune-fmt] ( https://dune.build/ )
210
- - [ dune-opam-sync] ( https://dune.build/ )
211
- - [ ocp-indent] ( http://www.typerex.org/ocp-indent.html )
212
- - [ opam-lint] ( https://opam.ocaml.org/ )
209
+ - [ fprettify] ( https://github.com/pseewald/fprettify )
213
210
214
- ### Purescript
211
+ ### Git
215
212
216
- - [ purty] ( https://gitlab.com/joneshf/purty )
213
+ - [ annex] ( https://git-annex.branchable.com/ )
214
+ - [ check-merge-conflicts] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/check_merge_conflict.py )
215
+ - [ commitizen] ( https://github.com/commitizen-tools/commitizen )
216
+ - [ convco] ( https://github.com/convco/convco )
217
+ - [ forbid-new-submodules] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/forbid_new_submodules.py )
218
+ - [ gitlint] ( https://github.com/jorisroovers/gitlint )
219
+ - [ gptcommit] ( https://github.com/zurawiki/gptcommit )
220
+ - [ no-commit-to-branch] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/no_commit_to_branch.py )
221
+
222
+ ### Golang
223
+
224
+ - gofmt: Runs ` go fmt `
225
+ - [ golangci-lint] ( https://golangci-lint.run/ )
226
+ - gotest: Runs ` go test `
227
+ - [ govet] ( https://pkg.go.dev/cmd/vet )
228
+ - [ revive] ( https://github.com/mgechev/revive )
229
+ - [ staticcheck] ( https://github.com/dominikh/go-tools )
230
+
231
+ ### HTML
232
+
233
+ - [ html-tidy] ( https://github.com/htacg/tidy-html5 )
234
+
235
+ ### JSON
236
+
237
+ - [ check-json] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/check_json.py )
238
+ - [ pretty-format-json] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/pretty_format_json.py )
239
+
240
+ ### Julia
241
+
242
+ - [ JuiaFormatter.jl] ( https://github.com/domluna/JuliaFormatter.jl )
243
+
244
+ ### LaTeX
245
+
246
+ - [ chktex] ( https://www.nongnu.org/chktex/ )
247
+ - [ lacheck] ( https://ctan.org/pkg/lacheck )
248
+ - [ latexindent] ( https://github.com/cmhughes/latexindent.pl )
249
+
250
+ ### Link checker
251
+
252
+ - [ lychee] ( https://github.com/lycheeverse/lychee )
253
+ - [ mkdocs-linkcheck] ( https://github.com/byrnereese/linkchecker-mkdocs )
254
+
255
+ ### Lua
256
+
257
+ - [ luacheck] ( https://github.com/mpeterv/luacheck )
258
+ - [ lua-ls] ( https://github.com/LuaLS/lua-language-server )
259
+ - [ stylua] ( https://github.com/JohnnyMorganz/StyLua )
260
+
261
+ ### Markdown
262
+
263
+ - [ markdownlint] ( https://github.com/DavidAnson/markdownlint )
264
+ - [ mdl] ( https://github.com/markdownlint/markdownlint/ )
265
+ - [ mdsh] ( https://zimbatm.github.io/mdsh/ )
217
266
218
267
### JavaScript/TypeScript
219
268
@@ -223,6 +272,25 @@ clang-format supports.
223
272
- [ eslint] ( https://github.com/eslint/eslint )
224
273
- rome: (alias to the biome hook)
225
274
275
+ ### OCaml
276
+
277
+ - [ dune-fmt] ( https://dune.build/ )
278
+ - [ dune-opam-sync] ( https://dune.build/ )
279
+ - [ ocp-indent] ( http://www.typerex.org/ocp-indent.html )
280
+ - [ opam-lint] ( https://opam.ocaml.org/ )
281
+
282
+ ### PHP
283
+
284
+ - [ phpcbf] ( https://github.com/squizlabs/PHP_CodeSniffer )
285
+ - [ php-cs-fixer] ( https://github.com/PHP-CS-Fixer/PHP-CS-Fixer )
286
+ - [ phpcs] ( https://github.com/squizlabs/PHP_CodeSniffer )
287
+ - [ phpstan] ( https://github.com/phpstan/phpstan )
288
+ - [ psalm] ( https://github.com/vimeo/psalm )
289
+
290
+ ### Purescript
291
+
292
+ - [ purty] ( https://gitlab.com/joneshf/purty )
293
+
226
294
### Python
227
295
228
296
- [ autoflake] ( https://github.com/PyCQA/autoflake )
@@ -245,115 +313,47 @@ clang-format supports.
245
313
- [ ruff-format] ( https://github.com/charliermarsh/ruff )
246
314
- [ sort-requirements-txt] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/requirements_txt_fixer.py )
247
315
248
- ### PHP
249
-
250
- - [ phpcbf] ( https://github.com/squizlabs/PHP_CodeSniffer )
251
- - [ php-cs-fixer] ( https://github.com/PHP-CS-Fixer/PHP-CS-Fixer )
252
- - [ phpcs] ( https://github.com/squizlabs/PHP_CodeSniffer )
253
- - [ phpstan] ( https://github.com/phpstan/phpstan )
254
- - [ psalm] ( https://github.com/vimeo/psalm )
255
-
256
316
### Rust
257
317
258
318
- cargo-check: Runs ` cargo check `
259
319
- [ clippy] ( https://github.com/rust-lang/rust-clippy )
260
320
- [ rustfmt] ( https://github.com/rust-lang/rustfmt )
261
321
262
- ### Golang
263
-
264
- - gofmt: Runs ` go fmt `
265
- - [ golangci-lint] ( https://golangci-lint.run/ )
266
- - gotest: Runs ` go test `
267
- - [ govet] ( https://pkg.go.dev/cmd/vet )
268
- - [ revive] ( https://github.com/mgechev/revive )
269
- - [ staticcheck] ( https://github.com/dominikh/go-tools )
270
-
271
- ### Julia
272
-
273
- - [ JuiaFormatter.jl] ( https://github.com/domluna/JuliaFormatter.jl )
274
-
275
322
### Shell
276
323
277
324
- [ bats] ( https://github.com/bats-core/bats-core )
278
325
- [ beautysh] ( https://github.com/lovesegfault/beautysh )
279
326
- [ shellcheck] ( https://github.com/koalaman/shellcheck )
280
327
- [ shfmt] ( https://github.com/mvdan/sh )
281
328
282
- ### LaTeX
283
-
284
- - [ chktex] ( https://www.nongnu.org/chktex/ )
285
- - [ lacheck] ( https://ctan.org/pkg/lacheck )
286
- - [ latexindent] ( https://github.com/cmhughes/latexindent.pl )
287
-
288
- ### Lua
289
-
290
- - [ luacheck] ( https://github.com/mpeterv/luacheck )
291
- - [ lua-ls] ( https://github.com/LuaLS/lua-language-server )
292
- - [ stylua] ( https://github.com/JohnnyMorganz/StyLua )
293
-
294
- ### HTML
295
-
296
- - [ html-tidy] ( https://github.com/htacg/tidy-html5 )
297
-
298
- ### Markdown
329
+ ### Spell checker
299
330
300
- - [ markdownlint ] ( https://github.com/DavidAnson/markdownlint )
301
- - [ mdl ] ( https://github.com/markdownlint/markdownlint/ )
302
- - [ mdsh ] ( https://zimbatm. github.io/mdsh/ )
331
+ - [ cspell ] ( https://cspell.org/ )
332
+ - [ hunspell ] ( https://github.com/hunspell/hunspell )
333
+ - [ typos ] ( https://github.com/crate-ci/typos )
303
334
304
335
### Terraform
305
336
306
337
- ` terraform-format ` : built-in formatter (using [ OpenTofu] ( https://opentofu.org/ ) 's [ ` fmt ` ] ( https://opentofu.org/docs/cli/commands/fmt/ ) )
307
338
- ` terraform-validate ` : built-in validator (using [ OpenTofu] ( https://opentofu.org/ ) 's [ ` validate ` ] ( https://opentofu.org/docs/cli/commands/validate/ ) )
308
339
- [ tflint] ( https://github.com/terraform-linters/tflint )
309
340
310
- ### YAML
311
-
312
- - [ check-yaml] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/check_yaml.py )
313
- - [ sort-simple-yaml] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/sort_simple_yaml.py )
314
- - [ yamlfmt] ( https://github.com/google/yamlfmt )
315
- - [ yamllint] ( https://github.com/adrienverge/yamllint )
316
-
317
341
### TOML
318
342
319
343
- [ check-toml] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/check_toml.py )
320
344
- [ taplo fmt] ( https://github.com/tamasfe/taplo )
321
345
322
- ### JSON
323
-
324
- - [ check-json] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/check_json.py )
325
- - [ pretty-format-json] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/pretty_format_json.py )
326
-
327
346
### Typst
328
347
329
348
- [ typstfmt] ( https://github.com/astrale-sharp/typstfmt )
330
349
- [ typstyle] ( https://github.com/Enter-tainer/typstyle )
331
350
332
- ### Fortran
333
-
334
- - [ fprettify] ( https://github.com/pseewald/fprettify )
335
-
336
- ### Spell checker
337
-
338
- - [ cspell] ( https://cspell.org/ )
339
- - [ hunspell] ( https://github.com/hunspell/hunspell )
340
- - [ typos] ( https://github.com/crate-ci/typos )
341
-
342
- ### Link checker
343
-
344
- - [ lychee] ( https://github.com/lycheeverse/lychee )
345
- - [ mkdocs-linkcheck] ( https://github.com/byrnereese/linkchecker-mkdocs )
346
-
347
- ### Git
351
+ ### YAML
348
352
349
- - [ annex] ( https://git-annex.branchable.com/ )
350
- - [ check-merge-conflicts] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/check_merge_conflict.py )
351
- - [ commitizen] ( https://github.com/commitizen-tools/commitizen )
352
- - [ convco] ( https://github.com/convco/convco )
353
- - [ forbid-new-submodules] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/forbid_new_submodules.py )
354
- - [ gitlint] ( https://github.com/jorisroovers/gitlint )
355
- - [ gptcommit] ( https://github.com/zurawiki/gptcommit )
356
- - [ no-commit-to-branch] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/no_commit_to_branch.py )
353
+ - [ check-yaml] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/check_yaml.py )
354
+ - [ sort-simple-yaml] ( https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/sort_simple_yaml.py )
355
+ - [ yamlfmt] ( https://github.com/google/yamlfmt )
356
+ - [ yamllint] ( https://github.com/adrienverge/yamllint )
357
357
358
358
### Various other hooks
359
359
0 commit comments