From dd9c94e47e20ea402c158aa63b439ac07161af8f 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 4dd9b6ad02..473e92b505 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 { +```