-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Try out Vale linter for our Markdown files #14835
Comments
no, it's not on our code spaces image. |
we don't need brew, as the required binary can be easily downloaded from releases page https://docs.errata.ai/vale/install#using-vale-with-a-continuous-integration-ci-service |
@viceice Does GitHub Codespaces come with the official
|
nope, we can easily add an installer to our buildbpack, so updates are supported out of the box 🤗 |
It can also be run as a Docker container. That would simplify the install process. |
But that means a dev would need Docker locally to run all tests? |
This is another reason I'd love to have seamless codespaces or gitpod for this project so that drive by contributors can easily test their changes |
Adding installer to our buildpack
I found these files in the repository: renovate/.devcontainer/devcontainer.json Lines 1 to 19 in a8930b7
renovate/.devcontainer/Dockerfile Lines 1 to 6 in a8930b7
So I think you want to edit the Dockerfile so it fetches the Vale program from their GitHub releases? Running Vale as a Docker container
Gitpod supports a custom Dockerfile 1, which we could use to load the official Vale Docker image. But I got stuck trying to create a custom Dockerfile for our basic Gitpod config, see: #12210, so I'm not really keen on messing with that again. 😄🙈 Version control for ValeWe should pin the version of Vale in all our files that will end up using Vale:
I'll add a todo to my list in the original post, so we don't forget this. Footnotes |
I think the Vale linter is very cool. Unfortunately I can't get it working in a way that's suitable for us. I still hope to find a good linter that can help us with following our style guide, and to find typos, and so on. For now, I'm closing this issue as not planned. |
Describe the proposed change(s).
Find out if Vale will work for us.
Introduction
Vale is a command line tool to lint our Markdown files for style errors.
The project can be found on GitHub: https://github.com/errata-ai/vale
Todos:
brew install vale
).devcontainer
on GitHubThe text was updated successfully, but these errors were encountered: