mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2025-01-23 17:18:36 +00:00
166979a297
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
781 B
781 B
Styleguide
Elixir
We format our code with the Elixir Formatter and check for issues with Credo (a few rules are not blocking).
Please run those two commands before pushing code:
mix format
mix credo
These two commands must not return an error code, since they are required to pass inside CI.
Front
We use tslint
with the tslint-config-airbnb
preset.
Errors should be reported when running in dev mode yarn run dev
or when building a production bundle yarn run build
.
Please run the following command before pushing code yanr run lint
.
This command must not return an error code, since it's required to pass inside CI.
We also try to follow the official Vue.js style guide.