.pre-commit-config.yml
pre-commit configuration file
| Type | object |
|---|---|
| File match |
.pre-commit-config.yml
.pre-commit-config.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/pre-commit-config-yml/latest.json |
| Source | https://www.schemastore.org/pre-commit-config.json |
Validate with Lintel
npx @lintel/lintel check
Properties
Repository mappings of the current project https://pre-commit.com/#pre-commit-configyaml---top-level
pre-commit.ci specific settings https://pre-commit.ci/#configuration
7 nested properties
A commit message for pull request autofixes https://pre-commit.ci/#configuration
Whether to autofix pull requests https://pre-commit.ci/#configuration
A branch to send pull request's autoupdate to https://pre-commit.ci/#configuration
A commit message for autoupdate pull requests https://pre-commit.ci/#configuration
An autoupdate frequency https://pre-commit.ci/#configuration
List of skipped hook's ids https://pre-commit.ci/#configuration
Whether to recursively check out submodules https://pre-commit.ci/#configuration
A list of hook types which will be used by default when running pre-commit install
https://pre-commit.com/#pre-commit-configyaml---top-level
[
"pre-commit"
]
Mappings for the default language versions of the current project https://pre-commit.com/#pre-commit-configyaml---top-level
The default stages of the current project https://pre-commit.com/#pre-commit-configyaml---top-level
A file include pattern of the current project https://pre-commit.com/#pre-commit-configyaml---top-level
A file exclude pattern of the current project https://pre-commit.com/#pre-commit-configyaml---top-level
Whether stop running hooks after a first failure https://pre-commit.com/#pre-commit-configyaml---top-level
A minimum version of pre-commit https://pre-commit.com/#pre-commit-configyaml---top-level
Definitions
A list of local hooks https://pre-commit.com/#2-add-a-pre-commit-configuration
A repository url https://pre-commit.com/#2-add-a-pre-commit-configuration
A revision or tag to clone at https://pre-commit.com/#2-add-a-pre-commit-configuration
A list of hook mappings https://pre-commit.com/#pre-commit-configyaml---hooks.
An identifier of the current hook https://pre-commit.com/#pre-commit-configyaml---hooks
An additional identifier of the current hook for pre-commit run <hookid>
https://pre-commit.com/#pre-commit-configyaml---hooks
A name of the current hook https://pre-commit.com/#pre-commit-configyaml---hooks
A language version of the current hook https://pre-commit.com/#pre-commit-configyaml---hooks
A pattern to include files to run on of the current hook https://pre-commit.com/#pre-commit-configyaml---hooks
A pattern to exclude files from files to run on of the current hook
https://pre-commit.com/#pre-commit-configyaml---hooks
A list of file types to run on combined via logical and of the current hook
https://pre-commit.com/#pre-commit-configyaml---hooks
A list of file types to run on combined via logical or of the current hook
https://pre-commit.com/#pre-commit-configyaml---hooks
A list of file types to exclude of the current hook https://pre-commit.com/#pre-commit-configyaml---hooks
List of additional parameters to pass to the current hook https://pre-commit.com/#pre-commit-configyaml---hooks
A stage of the current hook https://pre-commit.com/#pre-commit-configyaml---hooks
A list of additional_dependencies of the current hook https://pre-commit.com/#pre-commit-configyaml---hooks
Run the current hook when no files matched https://pre-commit.com/#pre-commit-configyaml---hooks
Display an output of the current hook even it passes https://pre-commit.com/#pre-commit-configyaml---hooks
A command of the current hook https://pre-commit.com/#pre-commit-configyaml---hooks
A log file of the current hook
A language the current hook is written in https://pre-commit.com/#pre-commit-configyaml---hooks
Whether to pass filenames to the current hook or not https://pre-commit.com/#pre-commit-configyaml---hooks