Skip to content

Add flag to print list of files processed #205

@waldyrious

Description

@waldyrious

Basically something along the same lines as igorshubovych/markdownlint-cli#415. The output would change from:

$ markdownlint-cli2 '**/*.md'
markdownlint-cli2 v0.9.2 (markdownlint v0.30.0)
Finding: **/*.md
Linting: 5 file(s)
Summary: 3 error(s)
CHANGELOG.md:13:52 MD052/reference-links-images Reference links and images should use a label that is defined [Missing link or image reference definition: "#161"] [Context: "[#161][]"]
docs/index.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "Foobar"]
README.md:94 MD001/heading-increment/header-increment Heading levels should only increment by one level at a time [Expected: h3; Actual: h4]

to this:

$ markdownlint --verbose '**/*.md'
markdownlint-cli2 v0.9.2 (markdownlint v0.30.0)
Finding: **/*.md
Linting: 5 file(s)
    README.md
    LICENSE.md
    CONTRIBUTING.md
    CHANGELOG.md
    docs/index.md 
Summary: 3 error(s)
    CHANGELOG.md:13:52 MD052/reference-links-images Reference links and images should use a label that is defined [Missing link or image reference definition: "#161"] [Context: "[#161][]"]
    docs/index.md:1 MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading [Context: "Foobar"]
    README.md:94 MD001/heading-increment/header-increment Heading levels should only increment by one level at a time [Expected: h3; Actual: h4]

(Or something similar — I'm not particular about the specific formatting of the output!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfixed in nextFixed in the "next" branch for the next release

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions