You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ns...@apache.org on 2009/07/06 02:41:30 UTC
svn commit: r791352 - /couchdb/site/htdocs/community/standards.txt
Author: nslater
Date: Mon Jul 6 00:41:30 2009
New Revision: 791352
URL: http://svn.apache.org/viewvc?rev=791352&view=rev
Log:
added new (old) coding standard
Modified:
couchdb/site/htdocs/community/standards.txt
Modified: couchdb/site/htdocs/community/standards.txt
URL: http://svn.apache.org/viewvc/couchdb/site/htdocs/community/standards.txt?rev=791352&r1=791351&r2=791352&view=diff
==============================================================================
--- couchdb/site/htdocs/community/standards.txt (original)
+++ couchdb/site/htdocs/community/standards.txt Mon Jul 6 00:41:30 2009
@@ -18,6 +18,8 @@
* Try to keep lines shorter than 80 characters.
* When you edit a file, try to stick with the conventions used in the
surrounding code.
+ * Avoid trailing spaces and newlines in your files. Good editors
+ usually have a configuration option that prevents this from happening.
* Avoid mixing purely cosmetic changes (such as removing trailing white-space)
with functional changes, as that makes review of the actual change (whether
it's a check-in or a patch) much more difficult.