-
Notifications
You must be signed in to change notification settings - Fork 8
Implement vale in pre-commit #104
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
Comments
I think we could probably run it with the For context, I typically run tools such as |
I see there is a Vale docker image. |
We might also consider adding it to That way, developers who have it installed get an easy way to run it (e.g. EDIT: Since this repo is mainly about docs, it may make more sense to run vale by default. For other repositories (more code-centric), not running it by default may be more reasonable. |
Vale was implemented in CI scope by @RobPasMue and @PipKat in pull request #118. At the moment, we do not provide a way for running Vale locally. Let me rename this issue for targeting this problem. |
Vale can indeed be run locally, but requires:
Once installed, one can run the following commands inside the docs folder (where the config file is located): vale sync
vale . You can also run it from the vale doc --config=doc/.vale.ini Ping me if you want further information for implementing this :) |
🐞 Problem
Documentation reviews are a tedious task and need to be automated as possible. Human approval will always be required but we could take advantage of vale during the whole development process.
This tool was proposed in one of the documentation meetings and looks promising. It is not only capable of dealing with programming languages but also with Markup ones.
💡 Solution
Vale is built on top of Go and for the moment, it cannot be integrated with pre-commit. If we want to take advantage of this tool, it should be integrated into our CI/CD pipelines.
The text was updated successfully, but these errors were encountered: