[ 
https://issues.apache.org/jira/browse/COUCHDB-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Noah Slater resolved COUCHDB-401.
---------------------------------

    Resolution: Fixed

It's important because it's a coding standard.

Every single committer should configure his or her editor to trim trailing 
white space and trailing newlines at the end of a file. I have run this command 
over every text file in the source. Thanks for bringing it to our attention. 

> Remove trailing whitespaces from JavaScript files
> -------------------------------------------------
>
>                 Key: COUCHDB-401
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-401
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: JavaScript View Server, Test Suite
>    Affects Versions: 0.10
>            Reporter: Volker Mische
>            Priority: Minor
>
> The JavaScript failes contain many trailing whitespaces, please remove them.
> I could submit a patch, but I think it's way easier if one of the committers 
> runs the one-liner locally and committs the changes.
> I've used
> find . -name '*.js' -exec sed -i {} -e 's/[ \t]*$//' ';'
> which I've found at 
> http://zebert.blogspot.com/2009/06/clean-up-trailing-whitespaces-in.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to