Skip to content

Implement rcfile option#2908

Merged
koalaman merged 1 commit intokoalaman:masterfrom
tacerus:config
Feb 3, 2024
Merged

Implement rcfile option#2908
koalaman merged 1 commit intokoalaman:masterfrom
tacerus:config

Conversation

@tacerus
Copy link
Copy Markdown
Contributor

@tacerus tacerus commented Jan 21, 2024

This introduces the "--rcfile" argument which allows a specific shellcheckrc file to be passed.
If specified and the given file exists, the default locations will not be searched and the specified file will be used.

This introduces the "--rcfile" argument which allows a specific
shellcheckrc file to be passed.
If specified and the given file exists, the default locations
will not be searched and the specified file will be used.

Signed-off-by: Georg Pfuetzenreuter <[email protected]>
@koalaman koalaman merged commit 1bce426 into koalaman:master Feb 3, 2024
@koalaman
Copy link
Copy Markdown
Owner

koalaman commented Feb 3, 2024

Thanks! I added some minor modifications in 6a44a19 to disable normal search when the file is unavailable, and to cache the contents as with other files.

@tacerus
Copy link
Copy Markdown
Contributor Author

tacerus commented Feb 3, 2024

Thank you! This was my first Haskell patch, good to see your improvements. :-)

I think this resolves #2199.

@tacerus tacerus deleted the config branch February 3, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants