diff --git a/HACKING b/HACKING index a1997275..3710550f 100644 --- a/HACKING +++ b/HACKING @@ -24,3 +24,9 @@ We try to be quite consistent, but of course, that's not always possible. setTimeout(function () { ... }); + +* Prefer // over /* */ comments (exceptions for big comments are usually ok) + Right: if (HACK) // TODO: remove hack + Wrong: if (HACK) /* TODO: remove hack */ + +* Use UNIX new lines (\n), not windows (\r\n) or old Mac ones (\r)