STENCIL

  • Docs
  • GitHub
Star
COMMANDS

stencil lint

Validate a Stencil module’s manifest without resolving dependencies (template linting follows in DT-4828)

stencil lint

NAME:
   stencil lint - Validate a Stencil module without resolving dependencies

USAGE:
   stencil lint [command [command options]] [dir]

DESCRIPTION:
   Validate a Stencil module's manifest without resolving dependencies (template linting follows in DT-4828)

COMMANDS:
   module-manifest  Validate a module's manifest.yaml without resolving dependencies

OPTIONS:
   --warnings-as-errors  treat warnings as errors (fail on any finding)
   --fix                 automatically fix safe deprecations in place, re-encoding the manifest at 2-space indent when a fix is applied (re-lints after fixing)
   --help, -h            show help
  • About Stencil
    • What is Stencil?
    • License
  • Getting Started
    • Get Started Overview
    • Install Stencil
    • Quick Start
    • Module Quick Start
    • Native Extension Quick Start
  • Reference Docs
    • Reference Docs Overview
    • Stencil Modules Overview
    • Native Extensions
    • Template Module
    • Service Manifest
  • Functions
    • Functions Quick Reference
    • file.Block
    • file.Create
    • file.Delete
    • file.Path
    • file.RemoveAll
    • file.SetContents
    • file.SetPath
    • file.Skip
    • file.Static
    • stencil.AddToModuleHook
    • stencil.ApplyTemplate
    • stencil.Arg
    • stencil.Args
    • stencil.Debug
    • stencil.Exists
    • stencil.GetGlobal
    • stencil.GetModuleHook
    • stencil.ReadBlocks
    • stencil.ReadFile
    • stencil.SetGlobal
  • CLI
    • Commands Quick Reference
    • stencil
    • stencil create
    • stencil create module
    • stencil describe
    • stencil docs
    • stencil docs generate
    • stencil lint
    • stencil lint module-manifest
    • stencil module
    • stencil module configure
    • stencil updater
    • stencil updater get-channels
    • stencil updater rollback
    • stencil updater set-channel
    • stencil updater status
    • stencil updater use
  • Contribute
    • Contribute to Stencil
    • Development
    • Documentation
  • Maintenance
Last updated: June 30, 2026: feat(lint): add `stencil lint module-manifest --fix` (#490) (d9dcadd)
Improve this page
By the Stencil Authors
Hugo Logo
  • File an Issue
  • Get Help
  • Docs
  • GitHub
  • About Stencil
  • Getting Started
  • Reference Docs
  • Functions
  • CLI
  • Contribute
  • Maintenance