Add preferred exports to contributing

[MAILPOET-3172]
This commit is contained in:
Jan Lysý
2020-09-30 14:08:54 +02:00
committed by Veljko V
parent 3887d11fce
commit 849e0272c5

View File

@@ -11,7 +11,7 @@
- Require other classes with 'use' at the beginning of the class file.
- Do not specify 'public' if method is public, it's implicit.
- Always use guard clauses.
- Ensure compatibility with PHP 5.5 and newer versions.
- Ensure compatibility with PHP 7.1 and newer versions.
- Cover your code in tests.
## SCSS Code
@@ -20,6 +20,7 @@
## JS Code
- Javascript code should follow the [Airbnb style guide](https://github.com/airbnb/javascript).
- Prefer named export before default export in JS and TS files
## Git flow
- Do not commit to master.