Skip to content

Commit 1b310e6

Browse files
committed
docs: sort hook sections by name
1 parent 42b1ba0 commit 1b310e6

File tree

1 file changed

+84
-84
lines changed

1 file changed

+84
-84
lines changed

README.md

+84-84
Original file line numberDiff line numberDiff line change
@@ -204,16 +204,65 @@ clang-format supports.
204204
- [mix-format](https://hexdocs.pm/mix/main/Mix.Tasks.Format.html)
205205
- [mix-test](https://hexdocs.pm/mix/1.13/Mix.Tasks.Test.html)
206206

207-
### OCaml
207+
### Fortran
208208

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)
213210

214-
### Purescript
211+
### Git
215212

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/)
217266

218267
### JavaScript/TypeScript
219268

@@ -223,6 +272,25 @@ clang-format supports.
223272
- [eslint](https://github.com/eslint/eslint)
224273
- rome: (alias to the biome hook)
225274

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+
226294
### Python
227295

228296
- [autoflake](https://github.com/PyCQA/autoflake)
@@ -245,115 +313,47 @@ clang-format supports.
245313
- [ruff-format](https://github.com/charliermarsh/ruff)
246314
- [sort-requirements-txt](https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/requirements_txt_fixer.py)
247315

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-
256316
### Rust
257317

258318
- cargo-check: Runs `cargo check`
259319
- [clippy](https://github.com/rust-lang/rust-clippy)
260320
- [rustfmt](https://github.com/rust-lang/rustfmt)
261321

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-
275322
### Shell
276323

277324
- [bats](https://github.com/bats-core/bats-core)
278325
- [beautysh](https://github.com/lovesegfault/beautysh)
279326
- [shellcheck](https://github.com/koalaman/shellcheck)
280327
- [shfmt](https://github.com/mvdan/sh)
281328

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
299330

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)
303334

304335
### Terraform
305336

306337
- `terraform-format`: built-in formatter (using [OpenTofu](https://opentofu.org/)'s [`fmt`](https://opentofu.org/docs/cli/commands/fmt/))
307338
- `terraform-validate`: built-in validator (using [OpenTofu](https://opentofu.org/)'s [`validate`](https://opentofu.org/docs/cli/commands/validate/))
308339
- [tflint](https://github.com/terraform-linters/tflint)
309340

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-
317341
### TOML
318342

319343
- [check-toml](https://github.com/pre-commit/pre-commit-hooks/blob/main/pre_commit_hooks/check_toml.py)
320344
- [taplo fmt](https://github.com/tamasfe/taplo)
321345

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-
327346
### Typst
328347

329348
- [typstfmt](https://github.com/astrale-sharp/typstfmt)
330349
- [typstyle](https://github.com/Enter-tainer/typstyle)
331350

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
348352

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)
357357

358358
### Various other hooks
359359

0 commit comments

Comments
 (0)