# rpk connect template lint

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [streaming-full.txt](https://docs.redpanda.com/streaming-full.txt)

---
title: rpk connect template lint
latest-redpanda-tag: v25.1.1
latest-console-tag: v3.7.3
latest-operator-version: v26.1.4
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "false"
page-is-past-eol: "true"
page-eol-date: April 7, 2026
latest-connect-version: 4.93.0
docname: rpk/rpk-connect/rpk-connect-template-lint
page-component-name: streaming
page-version: "25.1"
page-component-version: "25.1"
page-component-title: Streaming
page-relative-src-path: rpk/rpk-connect/rpk-connect-template-lint.adoc
page-edit-url: https://github.com/redpanda-data/docs/edit/v/25.1/modules/reference/pages/rpk/rpk-connect/rpk-connect-template-lint.adoc
page-git-created-date: "2024-05-30"
page-git-modified-date: "2024-05-30"
support-status: past end-of-life
---

<!-- Source: https://docs.redpanda.com/streaming/25.1/reference/rpk/rpk-connect/rpk-connect-template-lint.md -->

Parse Redpanda Connect templates and report any linting errors.

Exits with a status code 1 if any linting errors are detected.

If a path ends with `…​`, Redpanda Connect lints any files with the `.yaml` or `.yml` extension.

## [](#usage)Usage

```bash
rpk connect template lint [command options] [arguments...]
```

## [](#examples)Examples

```bash
rpk connect template lint
```

```bash
rpk connect template lint ./templates/*.yaml
```

```bash
rpk connect template lint ./foo.yaml ./bar.yaml
```

```bash
rpk connect template lint ./templates/...
```

## [](#flags)Flags

| Value | Type | Description |
| --- | --- | --- |
| --help, -h | - | Show help. |