Update CONTRIBUTING.md

This commit is contained in:
syuilo 2019-02-07 14:54:14 +09:00 committed by GitHub
parent 055863144d
commit dd9c94e47e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

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