Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>YAML-fm LinterNew to Visual Studio Code? Get it now.
YAML-fm Linter

YAML-fm Linter

leneti

|
4,476 installs
| (0) | Free
A Markdown YAML front matter linter extension for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

yaml-fm-lint

VS Marketplace NPM version GitHub repo


This is the VS Code extension for real-time YAML front matter/metada linting in Markdown files. The extension is using the yaml-fm-lint npm package to do the linting.

Example of poor front matter

Features

As with the main linting package itself, this extension is quick to install and configure. If there is a .yaml-fm-lint.json configuration file in the directory of the linted file (or in a parent directory), the extension will use it.

Configuration

Only .yaml-fm-lint.json configuration files are used.

  • .yaml-fm-lint.js files are ignored and never executed. If one is found, the extension shows a one-time warning; migrate its settings to .yaml-fm-lint.json.
  • The search for a configuration file starts in the directory of the linted file and goes up, but stops at the workspace folder.
  • The nearest valid .yaml-fm-lint.json is used: a file that is not valid JSON, or whose top level is not an object, is skipped and the search continues upward.
  • A file that is outside any workspace folder only uses a .yaml-fm-lint.json in its own directory.

Known Issues

Feel free to leave feedback!

Release Notes

You can see the full change log in the CHANGELOG.md file.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft