@arkweid/lefthook
Advanced tools
Comparing version 0.6.7 to 0.7.0
{ | ||
"name": "@arkweid/lefthook", | ||
"version": "0.6.7", | ||
"version": "0.7.0", | ||
"description": "Simple git hooks manager", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -85,2 +85,14 @@ ![Build Status](https://api.travis-ci.org/Arkweid/lefthook.svg?branch=master) | ||
* ### **Execute in sub-directory** | ||
If you want to execute the commands in a relative path | ||
```yml | ||
pre-commit: | ||
commands: | ||
backend-linter: | ||
root: "api/" # Careful to have only trailing slash | ||
glob: "*.rb" # glob filter | ||
run: bundle exec rubocop {all_files} | ||
``` | ||
* ### **Run scripts** | ||
@@ -163,3 +175,3 @@ | ||
## Table of content: | ||
## Table of contents: | ||
@@ -166,0 +178,0 @@ ### Guides |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
28682069
204
4