Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a4ff03

Browse files
committed
Update README.md
1 parent 30ad96d commit 8a4ff03

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,16 @@ For example:
134134
files: \.(js|rb|md|py|sh|txt|yaml|yml)$
135135

136136

137+
### Supported languages
138+
139+
- `node`
140+
- `python`
141+
- `ruby`
142+
- `pcre` - "Perl Compatible Regular Expression" Specify the regex as the `entry`
143+
- `script` - A script existing inside of a repository
144+
- `system` - Executables available at the system level
145+
146+
137147
## Popular Hooks
138148

139149
JSHint:
@@ -182,6 +192,15 @@ pyflakes:
182192

183193
## Advanced features
184194

195+
### Running in Migration Mode
196+
197+
By default, if you have existing hooks `pre-commit install` will install in
198+
a migration mode which runs both your existing hooks and hooks for pre-commit.
199+
To disable this behavior, simply pass `-f` / `--overwrite` to the `install`
200+
command. If you decide not to use pre-commit, `pre-commit uninstall` will
201+
restore your hooks to the state prior to installation.
202+
203+
185204
### Temporarily Disabling Hooks
186205

187206
Not all hooks are perfect so sometimes you may need to skip execution of

0 commit comments

Comments
 (0)