IDE
Commitlint offers schema by supporting JSON schema so that you can configure your IDE to work with Commitlint and have better developer experience.
Visual Studio Code
Configure your Visual Studio Code to work with Commitlint.
Edit in settings.json
Update your user settings.json
or workspace settings (/.vscode/settings.json
) to configure the schema.
JSON
YAML
Associating schemas with YAMLs are supported by the YAML language server.
Specify schema in the configuration file
JSON
Add the following comment in your .commitlintrc
or .commitlintrc.json
file.
YAML
Associating schemas with YAMLs are supported by the YAML language server. Add the following comment in your .commitlintrc
, .commitlintrc.yaml
or .commitlintrc.yml
file.