NAME

App::CharmKit::Role::Lint

SYNOPSIS

$ charmkit lint

DESCRIPTION

Performs various lint checks to make sure the charm is in accordance with Charm Store policies.

Format of lint rules

Lint rules are loaded from lint_rules.yaml in the distributions share directory. The format for rules is as follows:

---
files:
  file:
    name: 'config.yaml'
    attributes:
      - NOT_EMPTY
      - EXISTS
  file:
    name: 'copyright'
    attributes:
      - NOT_EMPTY
      - EXISTS
    parse:
      - pattern: '^options:\s*\n'
        error: 'ERR_INVALID_COPYRIGHT'

AUTHOR

Adam Stokes <adamjs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Adam Stokes.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.