-
Notifications
You must be signed in to change notification settings - Fork 140
Closed
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested
Description
Feature Request
Would be nice to be able to configure glob options. 😄
| { cwd: rootPath, nodir: true, absolute: true, strict: false }, |
Use case
For example, glob options follow: true.
I use pnpm to manage shell dependency to avoid doppelgangers. 😄
But, pnpm use symlink...
Alternative
Glob here is about sourcing files, existing sourcing file pattern allowed by shellcheck.
# src/foo.sh
# shellcheck source-path=../node_modules/MODULE_NAME
BASE=/path/to/node_modules/MODULE_NAME
source "${BASE}"/lib/bar1.sh
source "${BASE}"/lib/bar2.sh
...Maybe when found syntax
source ${VARIABLE}/SUBPATHLet bashls source
path.join(
path.resolve(
path.dirname(CURRENTFILE),
SHELLCHECK_SOURCE_PATH_ELEMENT
),
SUBPATH
)Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested