# rpk connect 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 lint
latest-redpanda-tag: v24.3.9
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: December 3, 2025
latest-connect-version: 4.93.0
docname: rpk/rpk-connect/rpk-connect-lint
page-component-name: streaming
page-version: "24.3"
page-component-version: "24.3"
page-component-title: Streaming
page-relative-src-path: rpk/rpk-connect/rpk-connect-lint.adoc
page-edit-url: https://github.com/redpanda-data/docs/edit/v/24.3/modules/reference/pages/rpk/rpk-connect/rpk-connect-lint.adoc
page-git-created-date: "2024-05-30"
page-git-modified-date: "2024-07-26"
support-status: past end-of-life
---

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

Parse Redpanda Connect configs 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 lint [command options] [arguments...]
```

## [](#examples)Examples

```bash
rpk connect lint target.yaml
```

```bash
rpk connect lint ./configs/*.yaml
```

```bash
rpk connect lint -r ./foo.yaml ./bar.yaml
```

```bash
rpk connect lint ./configs/...
```

## [](#flags)Flags

| Value | Type | Description |
| --- | --- | --- |
| --resources, -r | - | Pulls in extra resources from a file, which you can reference with a unique label in the main configuration. Supports glob patterns (requires quotes). |
| --deprecated | - | Print linting errors for the presence of deprecated fields (default: false). |
| --labels | - | Print linting errors when components do not have labels (default: false). |
| --skip-env-var-check | - | Do not produce lint errors for environment interpolations missing defaults (default: false). |
| --help, -h | - | Show help. |