rwaldron / idiomatic.js

Principles of Writing Consistent, Idiomatic JavaScript
Other
24.83k stars 3.48k forks source link

Empty line after opening brackets? #190

Open DavidKDeutsch opened 9 years ago

DavidKDeutsch commented 9 years ago

While not addressed explicitly in the style guide, some of the code examples have an empty line after opening brackets (and sometimes, before closing brackets), and some do not. Since the style guide emphasizes consistency, I found this surprising. Is there a recommendation as to whether to have these empty lines, or is it one of those things that are up to each individual developer?