From 043e21939554c209951d42f3e7c2ed32e8233b1e Mon Sep 17 00:00:00 2001 From: provokateurin Date: Mon, 28 Oct 2024 07:40:01 +0100 Subject: [PATCH] chore(tool): Remove commit hook Signed-off-by: provokateurin --- .husky/commit-msg | 4 ---- CONTRIBUTING.md | 1 - pubspec.yaml | 1 - tool/setup.sh | 2 -- 4 files changed, 8 deletions(-) delete mode 100755 .husky/commit-msg diff --git a/.husky/commit-msg b/.husky/commit-msg deleted file mode 100755 index a4c6f295cfd..00000000000 --- a/.husky/commit-msg +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -fvm dart run commitlint_cli --edit "$1" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c40ab8a76ca..41c8152da59 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,6 @@ This project uses an assortment of tools for the development. Currently included are: - [fvm](https://pub.dev/packages/fvm) for managing Flutter versions - [melos](https://pub.dev/packages/melos) for managing packages in this monorepo -- [husky](https://pub.dev/packages/husky) for managing git hooks - [commitlint_cli](https://pub.dev/packages/commitlint_cli) for validating commits according to the conventional commits specification To set up all these tools run the `./tool/setup.sh` script. diff --git a/pubspec.yaml b/pubspec.yaml index 5852a80661c..e0b72ec3338 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -7,7 +7,6 @@ environment: dev_dependencies: commitlint_cli: ^0.7.2 fvm: ^3.2.1 - husky: ^0.1.7 melos: ^6.0.0 custom_lint: ^0.6.8 coverage: ^1.10.0 diff --git a/tool/setup.sh b/tool/setup.sh index 47f8e5abf86..fd8b0a67e62 100755 --- a/tool/setup.sh +++ b/tool/setup.sh @@ -15,5 +15,3 @@ else melos exec -c1 -- flutter pub get melos run format fi - -fvm dart run husky install