Hi Fazlan, As Dakshika said you can follow the Style Guide for JavaScript to format the Jaggery. At WSO2 we are trying to maintain a JavaScript Style Guide[1] Which is initiated by manu. Please feel free to add important guide lines to the Doc if you find any.
[1]. https://docs.google.com/a/wso2.com/document/d/13WVvwMbJ-wFoNns0Gi4vTQUJGLezqunKAYIYEqPiWvk/edit?usp=sharing Normally we follow the Google JavaScript Style Guideline[2]. [2]. https://google.github.io/styleguide/javascriptguide.xml Regards, On Tue, Jan 12, 2016 at 7:42 AM, Dakshika Jayathilaka <[email protected]> wrote: > Hi Fazian, > > since Jaggery consider as a server side js language you can follow > standard options that available for js. AFAIK > we follow google js style guide. [1] > > As for tools, > > For code sanity check - JSLint [2] or Closure Linter [3] > Javascript documentation - JSDoc-toolkit [4] > Unit testing - QUnit [5], JSUnit [6] > > > [1] https://google.github.io/styleguide/javascriptguide.xml > [2] https://code.google.com/p/jslint4java/ > [3] https://developers.google.com/closure/utilities/ > [4] http://code.google.com/p/jsdoc-toolkit/ > [5] http://docs.jquery.com/QUnit > [6] http://www.jsunit.net/ > > > Regards, > > *Dakshika Jayathilaka* > PMC Member & Committer of Apache Stratos > Senior Software Engineer > WSO2, Inc. > lean.enterprise.middleware > 0771100911 > > On Mon, Jan 11, 2016 at 7:59 PM, Fazlan Nazeem <[email protected]> wrote: > >> Hi, >> >> Is there any guideline documentation on how to format jaggery files or >> any existing formatter that we could use with sublime/intellij that follows >> the wso2 standard for formatting jaggery files? >> >> >> -- >> Thanks & Regards, >> >> Fazlan Nazeem >> >> *Software Engineer* >> >> *WSO2 Inc* >> Mobile : +94772338839 >> <%2B94%20%280%29%20773%20451194> >> [email protected] >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Nipuna Marcus *Software Engineer* WSO2 Inc. http://wso2.com/ - "lean . enterprise . middleware" Mobile : +94 (0) 713 667906 [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
