Use Pronto to check code conventions
This way developers can run the checks on their machines and using `bundle exec` we guarantee the right versions of all our gems are being used; with Hound we can only use the versions supported by their service. When including the pronto-erb_lint gem, we're getting errors in development where our ERB does not follow the conventions Better HTML expects. Since we only use Better HTML because ERB Lint depends on it, and right now we are not ready to follow its conventions, we're disabling it. Note pronto depends on rugged, which requires CMake and pkg-config to build the `libgit2` library it depends on. CMake and pkg-config are installed by default in some GNU/Linux distributions like Ubuntu, but might not be installed on other systems, so we're adding them as development dependencies.
This commit is contained in:
@@ -34,7 +34,7 @@ Si quieres que revisemos tu código con una sonrisa, por favor sigue nuestras co
|
||||
|
||||
* Incluye tests para los cambios que hayas hecho
|
||||
* Los tests se ejecutarán automáticamente para comprobar que el resto de la aplicación sigue funcionando; asegúrate de que los tests pasan
|
||||
* Tus cambios serán revisados automáticamente por Hound CI; arregla los problemas de los que informa (si es que hay alguno)
|
||||
* Ejecuta `bundle exec pronto run` y arregla los problemas de los que informe (si es que hay alguno)
|
||||
* Sigue [las siete reglas para un gran mensaje de commit](https://chris.beams.io/posts/git-commit/)
|
||||
|
||||
Cuando revisemos tu código y te pidamos que cambies alguna cosa, si tienes experiencia con `git rebase` edita los commits existentes en vez de añadir más. Si no tienes experiencia con `git rebase`, puedes saltarte este punto.
|
||||
|
||||
Reference in New Issue
Block a user