Update CONTRIBUTING.md
This commit is contained in:
parent
055863144d
commit
dd9c94e47e
1 changed files with 12 additions and 0 deletions
|
@ -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 {
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue