[ 
https://issues.apache.org/jira/browse/THRIFT-3627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15145953#comment-15145953
 ] 

Aki Sukegawa commented on THRIFT-3627:
--------------------------------------

+1 for white space changes, as git history pollution can be mostly worked 
around by "git blame -w".

Things that I'm not sure about:

* double quotes -> single quotes
* removing trailing commas after last elements of arrays/objects
* removing quotes from object keys

Are they that "strange" in the Node.js world ?

> Missing basic code style consistency of JavaScript.
> ---------------------------------------------------
>
>                 Key: THRIFT-3627
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3627
>             Project: Thrift
>          Issue Type: Improvement
>          Components: JavaScript - Library
>            Reporter: Kazuki Matsuda
>            Priority: Minor
>
> E.g.)
> * No white space in {code}function(args){// beteween `){`{code}
> https://github.com/apache/thrift/blob/84cf363eeedf4cc9bb618bb2b1980696b9f6fc9b/lib/js/src/thrift.js#L1497
> * "Double quoted" (not 'single quoted') string litteral
> https://github.com/apache/thrift/blob/84cf363eeedf4cc9bb618bb2b1980696b9f6fc9b/lib/js/src/thrift.js#L133
> Those errors can be easily fixed by fixjsstyle.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to