porter lint

porter lint

Lint a bundle

Synopsis

Check the bundle for problems and adherence to best practices by running linters for porter and the mixins used in the bundle.

The lint command is run automatically when you build a bundle. The command is available separately so that you can just lint your bundle without also building it.

porter lint [flags]

Examples

  porter lint
  porter lint --file path/to/porter.yaml
  porter lint --output plaintext

Options

  -f, --file string     Path to the porter manifest file. Defaults to the bundle in the current directory.
  -h, --help            help for lint
  -o, --output string   Specify an output format.  Allowed values: plaintext, json (default "plaintext")
  -v, --verbose         Enable verbose logging

Options inherited from parent commands

      --debug           Enable debug logging
      --debug-plugins   Enable plugin debug logging

SEE ALSO

  • porter - I am porter 👩🏽‍✈️, the friendly neighborhood CNAB authoring tool