-
Notifications
You must be signed in to change notification settings - Fork 40
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
Detect missing Java when validating mustache template #281
Comments
I've been thinking about this and, honestly, think that sutomatically switching to the online alternative is not a good idea. We can start flooding by default https://html5.validator.nu or any other service providing that. So, maybe, a better alternative could be something like:
And then, in
The point that I want to avoid here is to start "abusing" the public html5 validator without control, that's the reason I think we only should use it if explicitly said. How does that sound? |
That sounds good to me! |
Maybe we also document more clearly how to run the docker validator image
and include it in our Moodle-docker toolchain
https://validator.github.io/validator/
Moodle could also run a public validator too but that’s likely to get
abused too
|
@stronk7 points to this line https://github.com/stronk7/moodle-local_ci/blob/master/mustache_lint/mustache_lint.php#L297
Example error in moodle-plugin-ci when Java is apparently not present
We can
The text was updated successfully, but these errors were encountered: