|
|
@@ -23,16 +23,13 @@ repos:
|
|
|
target_chains/sui/vendor/|
|
|
|
patches/
|
|
|
)
|
|
|
- # Hook to format many type of files in the repo
|
|
|
- # including solidity contracts.
|
|
|
- - repo: https://github.com/pre-commit/mirrors-prettier
|
|
|
- rev: "v2.7.1"
|
|
|
+ - repo: local
|
|
|
hooks:
|
|
|
- - id: prettier
|
|
|
- additional_dependencies:
|
|
|
- - "prettier@2.7.1"
|
|
|
- - "prettier-plugin-solidity@1.0.0-rc.1"
|
|
|
- exclude: target_chains/sui/vendor/
|
|
|
+ - id: pnpm-fix-format
|
|
|
+ name: Format files using pnpm fix:format
|
|
|
+ entry: pnpm turbo fix:format
|
|
|
+ language: system
|
|
|
+ pass_filenames: false
|
|
|
- repo: local
|
|
|
hooks:
|
|
|
# Hooks for the remote executor
|