Update CONTRIBUTING.md

This commit is contained in:
syuilo 2019-02-07 14:54:14 +09:00 committed by GitHub
parent 35b7f31360
commit a88dc34a28

View file

@ -44,3 +44,15 @@ Stands for _**S**ervice**W**orker_.
#### Denyaize #### Denyaize
Nyaizeを解除すること Nyaizeを解除すること
## Code style
### Don't use `export default`
Bad:
``` ts
export default function(foo: string): string {
```
Good:
``` ts
export function something(foo: string): string {
```