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
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
95
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
44
Learn more about scoring.

We analyzed this package on Dec 9, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.6.1
  • pana: 0.12.21

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.

Dependencies

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