Skip to content

Linting embedded POD documents #962

Description

@ferki

First, thanks for maintaining vale!

I noticed it includes some initial support to lint Perl-related files. At least it seems to recognize code comments in files with the .pl, .pm extension, and general text in files with the .pod extension.

The section about Embedding Pods in Perl Modules of the official POD documentation describes support for mixing Perl code with POD documentation. I perceive that as a fairly common practice in the wider Perl community, since it enables code and docs to exist right next to each other, decreasing the related maintenance overhead.

It appears vale does not recognize this type of POD usage yet, and I'd like to learn more about how we might achieve that. Perhaps I merely miss an existing approach for this with vale?

Judging by the HTML support, as well as by the approach of converting some other formats to HTML first, pod2html may prove interesting, which comes with Perl itself.

While I don’t write Go code myself, I’d happily assist enabling such capability in a future release from the Perl/POD and “beta” testing side of the story. Let me know how I may support.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions