couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noah Slater (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (COUCHDB-401) Remove trailing whitespaces from JavaScript files
Date Mon, 06 Jul 2009 00:31:14 GMT

     [ 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.


Mime
View raw message