-
- | ${md('`repo`, `sha`')} |
- where to get plugins (git repos). sha can also be a tag. |
-
-
- id |
- What plugins from the repo you want to use. |
-
-
- language_version |
- (optional) Override the default language version for the hook. See Advanced Features: "Overriding Language Version". |
-
-
- files |
- (optional) Override the default pattern for files to run on. |
-
-
- exclude |
- (optional) File exclude pattern. |
-
-
- types |
- (optional) Override the default file types to run on. See Filtering files with types. new in 0.15.0 |
-
-
- exclude_types |
- (optional) File types exclude. new in 0.15.0 |
-
-
- args |
- (optional) additional parameters to pass to the hook. |
-
-
- stages |
- (optional) Confines the hook to the commit, push, or commit-msg stage. See Advanced Features: "Confining Hooks To Run At A Certain Stage". |
-
-
- additional_dependencies |
- (optional) A list of dependencies that will be installed in the environment where this hook gets run. One useful application is to install plugins for hooks such as eslint. new in 0.6.6 |
-
-
- always_run |
- (optional) Default false. If true this hook will run even if there are no matching files. new in 0.7.2 |
-
-
-