File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
139149JSHint:
@@ -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
187206Not all hooks are perfect so sometimes you may need to skip execution of
You can’t perform that action at this time.
0 commit comments