chore: starting a coding convention

This commit is contained in:
simon lehericey 2022-11-30 12:36:20 +01:00
parent d6cbf738a1
commit 90cc87eb23

13
doc/coding_conventions.md Normal file
View file

@ -0,0 +1,13 @@
# early returns
## in controllers
good
```
... code
return if !DossierSearchService.id_compatible?(@search_terms)
... more code
```