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

Roger Meier commented on THRIFT-3627:
-------------------------------------

I think we should add something like https://www.npmjs.com/package/jscs to 
package.json and automate this, so the 
https://github.com/apache/thrift/blob/master/lib/js/coding_standards.md might 
become obsolete.

> 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