Created
December 31, 2020 18:10
-
-
Save alunduil/a06f33dfe14e952597a4ed154bc10a2f to your computer and use it in GitHub Desktop.
.pre-commit-config.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# See https://pre-commit.com for more information | |
# See https://pre-commit.com/hooks.html for more hooks | |
repos: | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v3.3.0 | |
hooks: | |
- id: check-added-large-files | |
- id: check-case-conflict | |
- id: check-json | |
- id: check-merge-conflict | |
- id: check-symlinks | |
- id: check-toml | |
- id: check-vcs-permalinks | |
- id: check-xml | |
- id: check-yaml | |
- id: detect-private-key | |
- id: end-of-file-fixer | |
- id: fix-encoding-pragma | |
- id: mixed-line-ending | |
- id: name-tests-test | |
- id: pretty-format-json | |
- id: sort-simple-yaml | |
- id: trailing-whitespace | |
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt | |
rev: 0.1.0 | |
hooks: | |
- id: yamlfmt | |
exclude: \.travis\.ya?ml$ | |
- repo: git://github.com/detailyang/pre-commit-shell | |
rev: 1.0.5 | |
hooks: | |
- id: shell-lint | |
args: [--format=json] | |
- repo: https://github.com/adrienverge/yamllint | |
rev: v1.25.0 | |
hooks: | |
- id: yamllint | |
args: [--format, parsable, --strict] | |
exclude: \.travis\.ya?ml$ | |
- repo: https://github.com/codespell-project/codespell | |
rev: v1.17.1 | |
hooks: | |
- id: codespell | |
- repo: https://github.com/pappasam/toml-sort | |
rev: v0.18.0 | |
hooks: | |
- id: toml-sort | |
args: [--in-place] | |
additional_dependencies: [click] | |
- repo: https://github.com/executablebooks/mdformat | |
rev: 0.4.0 # Use the ref you want to point at | |
hooks: | |
- id: mdformat | |
additional_dependencies: | |
- mdformat-tables | |
- attr | |
- repo: local | |
hooks: | |
- id: hlint | |
name: hlint | |
entry: hlint | |
language: system | |
types: [haskell] | |
- id: cabal-check | |
name: cabal check | |
entry: cabal check | |
language: system | |
files: \.cabal$ | |
pass_filenames: false | |
- id: haskell-ci | |
name: haskell-ci | |
entry: haskell-ci | |
args: [--output, .travis.yml, --ghc-head, --hlint, --last-in-series] | |
language: system | |
types: [file] | |
files: \.cabal$ | |
- id: stylish-cabal | |
name: stylish-cabal | |
entry: stylish-cabal | |
args: [--in-place, --simplify-versions] | |
language: system | |
files: \.cabal$ | |
- id: nixpkgs-fmt | |
name: nixpkgs-fmt | |
entry: nixpkgs-fmt | |
language: system | |
types: [nix] | |
- id: ormolu | |
name: ormolu | |
entry: ormolu | |
args: [--mode, inplace] | |
language: system | |
types: [haskell] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment