Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Modular Analyzers #1414

Open
eatnumber1 opened this issue Dec 13, 2018 · 2 comments
Open

FR: Modular Analyzers #1414

eatnumber1 opened this issue Dec 13, 2018 · 2 comments

Comments

@eatnumber1
Copy link
Contributor

Filing this as a feature request as I don't think I'll have time to do this for a while.

I've got a handful of custom analyzers that aren't broadly useful (they apply to internal tools). Currently, the analyzers have to be patched into ShellCheck's source manually. This makes upgrades a bit more painful than necessary.

Would a way of plugging in externally authored analyzers to ShellCheck be reasonable?

@koalaman
Copy link
Owner

How about a file Custom.hs that is essentially empty and doesn't change much or at all between versions?

There would be no guarantees, but it would avoid having to patch active files

@eatnumber1
Copy link
Contributor Author

An essentially empty file would be sufficient, but still require some minor patching to do upgrades.

A friend expressed some interest in looking into doing this as a proper module system over the holidays though, so let's actually hold off until after the holidays to see if he does decide to do it.

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

No branches or pull requests

2 participants