Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>ytt lintNew to Visual Studio Code? Get it now.
ytt lint

ytt lint

phil9909

|
3,793 installs
| (1) | Free
ytt lint validates ytt-templates and plain yaml-files. It is designed for Kubernetes artifacts, but works with other yaml-files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ytt-lint README

Features

Lint your yaml-files and ytt-templates with ytt-lint

Requirements

install ytt-lint

Extension Settings

None

Known Issues

Everything

Release Notes

0.3.1 - autoimport

  • bugfix release

0.3.0 - autoimport

  • schema can now be imported directly from CRD files. From the command-line use the --autoimport flag, in vscode right-click a CRD file (or folder with multiple CRD files) and select ytt-lint: Import crd schemas from current file or folder.
  • added option to select kubeconfig (and context) when pulling schema from k8s via extension

0.2.2 - GKE

  • support kubernetes auth plugins when pulling schema from k8s (e.g. required for GKE clusters)

0.2.1 - kustomize

  • add schema for Kustomization
  • add Kubernetes 1.19 schemas

0.2.0 - ignore

  • support a git-like ignore file
  • detect helm-templates and warn
  • support ytt 0.28.0
  • support recursive linting of directories

0.1.0 - new home

  • ytt-lint has a new home at https://github.com/SAP/ytt-lint
  • an icon was added
  • minor bugfixes

0.0.5 - kubebuilder

  • support ytt 0.27.1
  • detect cases where object is expected but string, bool, etc. is given
  • support validating CRDs itself (not the custom object, but the custom resource definition)
  • add special exception for CRDs generated by kubebuilder. See https://github.com/kubernetes-sigs/controller-tools/issues/402
  • vscode will now show 'ytt-lint' as source of diagnostics

0.0.4 - Concourse

  • support linting concourse pipelines
  • improve "pull from k8s" to make sure extracted schemas contain kind and apiVersion

0.0.3 - Custom Libraries

  • support 'load' of custom lib.yaml
  • improve schema extraction to include multiple k8s versions (now supporting Deployment v1 out of the box)
  • linting is now less pedantic about values used as strings.

0.0.2 - MVP

MVP release. IMHO it is already quite useful.

0.0.1 - Internal

Internal Only

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft