Skip to content

tools: Markdown lint script's --help does not work as advertised #30156

Description

@DerekNonGeneric

Running node tools/lint-md <PATH> always outputs the contents of the document it is linting. When used in combination with other checks, this unnecessary output causes results from previous checks to become very difficult to locate. I have not been able to find a way to stop it from outputting file contents even when passing it arguments to silence it.

Activity

  1. Xstoudi commented on Oct 29, 2019

    @Xstoudi
    Contributor

    I'll look into it.

  2. added
    toolsIssues and PRs related to the tools directory.
    on Oct 29, 2019
  3. Xstoudi commented on Oct 29, 2019

    @Xstoudi
    Contributor

    Okay, I don't think it's a problem since you can simply do : node tools/lint-md your.md --no-stdout
    Can you please confirm that it solve your issue?

  4. DerekNonGeneric commented on Oct 29, 2019

    @DerekNonGeneric
    ContributorAuthor

    Ah yes, that seems to do it. Thanks, @Xstoudi! For some reason the help menu doesn't come up when running node tools/lint-md --help. Maybe that's the real issue at hand. I had to run node tools/lint-md --wtf to get to it. 😉

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

Metadata

Metadata

Assignees

Labels

toolsIssues and PRs related to the tools directory.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions