Skip to content

possible to exclude dependencies/requires in documentation lint #956

Closed

Description

@insipx
  • What version of documentation.js are you using?: 5.3.3
  • How are you running documentation.js (on the CLI, Node.js API, Grunt, other?): Node.js npm:
    ./node_modules/.bin/documentation lint lib/**.js

running documentation.js like I am currently, it lints files outside of ./lib, presumably because they are local and required by a file inside of lib/. These local dependencies are 3rd-party deps in the form of git submodules.

Is there a way to run 'shallow' on documentation lint to exclude any dependencies?

Activity

  1. tmcw commented on Nov 21, 2017

    @tmcw
    Member

    Have you tried the --shallow flag? I'm seeing that it's not correctly documented in lint --help but it should work nonetheless.

  2. bubenkoff commented on Jan 15, 2018

    @bubenkoff
    Contributor

    @tmcw no, --shallow is not an allowed argument, any other ways of working this around?

  3. added 2 commits that reference this issue on Jan 15, 2018
    16aeb80
    99134f6
  4. added a commit that references this issue on Mar 21, 2024
    64f660d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions