[TIMOB-18554] Research various JS tools to compare capabilities against our standards
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Tooling |
Labels | n/a |
Reporter | Ingo Muschenetz |
Assignee | Muhammad Dadu |
Created | 2015-02-11T17:45:01.000+0000 |
Updated | 2015-02-11T17:59:08.000+0000 |
Description
I am working on creating formatting files for all languages we use regularly at Appcelerator, as well as configuration files for static/dynamic analysis
I’d like to create one for JavaScript. We have a standards guide here, but I want to create a complete set:
http://docs.appcelerator.com/titanium/latest/#!/guide/JavaScript_Coding_Standards
* A file we can use to format JavaScript ourselves in our favorite editor
* A command-line tool we can use to validate that JS has been formatted correctly in PRs from contributors
* An updating of the JavaScript standards in Studio to match so that promote this style in our own products as well.
The tools should offer the following:
* node.js package
* Grunt plugin
* Sublime plugin
* Atom plugin
* Gulp plugin
Review the list of capabilities across these tools and put a checkmark in each column where it has that ability:
https://wiki.appcelerator.org/display/eng/JavaScript+Tooling
For the tool with the most capabilities, create a formatting file and check it into
https://github.com/appcelerator/appc-standards/tree/master/languages/js
If we're entertaining the idea of using tools that support more than one editor, then I suggest we entertain tools that support Gulp.
It appears that gulp is has plugins for the tools I highlighted in the wiki doc.