From a88dc34a2841a4ebee76bc21bd51255e7a5918ea Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 7 Feb 2019 14:54:14 +0900 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4dd9b6ad0..473e92b50 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 { +```