lefthook 0.6.5

Lefthook #

The fastest polyglot Git hooks manager out there

Fast and powerful Git hooks manager for Node.js, Ruby or any other type of projects.

  • Fast. It is written in Go. Can run commands in parallel.
  • Powerful. With a few lines in the config you can check only the changed files on pre-push hook.
  • Simple. It is single dependency-free binary which can work in any environment.

Original tool #

This repo is just Dart-wrapper for Lefthook. For detailed documentation, check the main repository.

Installation #

pub global activate lefthook

You are beautiful!

Use this package as an executable

1. Install it

You can install the package from the command line:

$ pub global activate lefthook

2. Use it

The package has the following executables:

$ lefthook
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 13, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5

Health suggestions

Fix bin/lefthook.dart. (-5.36 points)

Analysis of bin/lefthook.dart reported 11 hints, including:

line 12 col 18: Unnecessary new keyword.

line 26 col 19: Unnecessary new keyword.

line 73 col 11: Unnecessary new keyword.

line 85 col 11: Unnecessary new keyword.

line 95 col 23: Unnecessary new keyword.

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
archive ^2.0.10 2.0.13
cli_util ^0.1.3+2 0.1.3+2
system_info ^0.1.1 0.1.2
Transitive dependencies
args 1.5.2
charcode 1.1.3
collection 1.14.12
convert 2.1.1
crypto 2.1.4
file_utils 0.1.4
globbing 0.3.0
path 1.6.4
typed_data 1.1.6