Skip to content

Commit 9cea04a

Browse files
committed
Update samplre sript
add path to samplr config remove all admin emails quick fix readme
1 parent 4d6750d commit 9cea04a

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Add this to your .pre-commit-config.yaml:
106106
After the configuration is added, you'll need to run
107107

108108
```bash
109-
pre-commit install -t pre-push
109+
pre-commit install -t pre-commit
110110
```
111111

112112
___

scripts/samplr/run-samplr.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
# https://github.com/unmultimedio/samplr#5-set-up-a-githook-optional
66
########## MODIFIED: ##########
77
# t.hamoudi
8-
######### MAINTAINED: #########
9-
10-
###############################
11-
128
###############################
139
# Prerequisites
1410
# - samplr v0.2.1
@@ -20,6 +16,6 @@
2016
set -e
2117

2218
# Run samplr command to generate sample files
23-
samplr
19+
samplr --config ./.samplr.yml
2420
# List all changed and not-ignored files, with a filename that matches with ".sample", and add it to the commit
2521
git ls-files -mo --exclude-standard | grep "\.sample" | xargs git add

scripts/validate-eslint.sh

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
# CREDITS: https://gist.github.com/linhmtran168/2286aeafe747e78f53bf
44
# MODIFIED: t.hamoudi
5-
# MAINTAINED: [email protected]
65

76
STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep -E "(.js$|.jsx$|.ts$|.tsx$|.vue$)")
87

0 commit comments

Comments
 (0)