Skip to content
HALOWERK

Codewerk

commit lint

Runs @commitlint/lint 21.2 with the rules of @commitlint/config-conventional 21.2.4 (type-enum, type-case, subject-case, subject-full-stop, header-max-length 100, body/footer line length and leading blank lines) and the conventionalcommits parser preset 10.4 on up to 200 messages. Optional allowed scopes, required scope, extra types and header length. Merge, revert, fixup/squash and similar messages are reported as ignored, as commitlint does. Lines starting with # are stripped like git.

POST https://code.halowerk.com/v1/commit-lint

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
messagesarrayYesCommit messages (header, optional body and footers).
scopesarrayNoAllowed scopes; enables the scope-enum rule.
require_scopebooleanNoFail messages without a scope (scope-empty).
extra_typesarrayNoAdditional allowed types besides the config-conventional list.
header_max_lengthintegerNoMaximum header length (config-conventional: 100).
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "messages"
  ],
  "properties": {
    "messages": {
      "type": "array",
      "minItems": 1,
      "maxItems": 200,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 10000
      },
      "description": "Commit messages (header, optional body and footers)."
    },
    "scopes": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 60
      },
      "description": "Allowed scopes; enables the scope-enum rule."
    },
    "require_scope": {
      "type": "boolean",
      "default": false,
      "description": "Fail messages without a scope (scope-empty)."
    },
    "extra_types": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string",
        "pattern": "^[a-z][a-z0-9-]{0,30}$"
      },
      "description": "Additional allowed types besides the config-conventional list."
    },
    "header_max_length": {
      "type": "integer",
      "minimum": 20,
      "maximum": 200,
      "default": 100,
      "description": "Maximum header length (config-conventional: 100)."
    }
  }
}

Open original schema

Published input example

{
  "messages": [
    "feat(api): add user lookup endpoint",
    "Fixed stuff."
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’