diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 704f7ad..9f1e7ec 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -55,12 +55,6 @@ - c - c++ - cuda - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.8 - hooks: - - id: prettier - stages: - - pre-commit - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: @@ -119,7 +113,7 @@ - --case-indent - --space-redirects - repo: https://github.com/sirosen/texthooks - rev: 0.6.4 + rev: 0.6.3 hooks: # - id: fix-smartquotes - id: fix-ligatures @@ -160,6 +154,14 @@ types: - rust pass_filenames: false + - id: prettier + name: Prettier + entry: prettier --write --ignore-unknown + language: node + types: + - text + additional_dependencies: + - prettier@latest default_stages: - pre-commit