-
Notifications
You must be signed in to change notification settings - Fork 376
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
Add a pre-commit hook for psscriptanalyzer #1969
Comments
@winterz What do you expect PSScriptAnalyzer to do to enable that? Because it is a PowerShell based tool and therefore not in the list of supported languages here: https://pre-commit.com/#supported-languages |
right. I had forgotten about the supported languages problem. |
it would be quite useful if I could use the
https://pre-commit.com/
tool to run PSScriptAnalyzer on my powershell scripts during the git commit stage. then I could find problems in my powershell code before they land into git repositories.information how about to write a pre-commit hook can be found at
https://pre-commit.com/#new-hooks
Proposed technical implementation details (optional)
for example, a pre-commit hook for pylint (the python linter) is at
https://github.com/pylint-dev/pylint
The text was updated successfully, but these errors were encountered: