double quote rule

This commit is contained in:
Florian Dold 2015-12-17 22:35:40 +01:00
parent 34b039de45
commit 5f907c13fc

View File

@ -4,6 +4,7 @@ Javascript style
Basics: Basics:
- Indent with 2 spaces. - Indent with 2 spaces.
- Keep a maximum line length of 120 characters. - Keep a maximum line length of 120 characters.
- Prefer "double quotes" for strings/
- Never omit optional semicolons. - Never omit optional semicolons.
- Do not put opening braces or brackets on a new line. - Do not put opening braces or brackets on a new line.
- Call functions without spaces: foo(bar) - Call functions without spaces: foo(bar)