You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
possible to exclude dependencies/requires in documentation lint #956
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
tmcw commentedon Nov 21, 2017
Have you tried the
--shallowflag? I'm seeing that it's not correctly documented inlint --helpbut it should work nonetheless.bubenkoff commentedon Jan 15, 2018
@tmcw no, --shallow is not an allowed argument, any other ways of working this around?
Support argument for command. Closes documentationjs#956
Support `--shallow` argument for `lint` command. Closes documentation…
feat: Support `--shallow` argument for `lint` command. Closes documen…