Project: aptanastudio
Issue APSTUD-4845: Investigate Lexing/Parsing warnings from JSLint
The following are Lexing/Parsing Warnings generated by JSLint. ||Id||Description||Details||JSLint Option||JSHint Option|| |{color:green}expected_a_b{color}	| Expected '\{a\}' and instead saw '\{b\}'. | ? see this as relating to braces around for/while loops (line 3003, approx), and eqeq (line 2744) and semicolons (2391) | eqeq/es5 | curly/eqeqeq/asi | |expected_a_b_from_c_d	| Expected '\{a\}' to match '\{b\}' from line \{c\} and instead saw '\{d\}'. | ? | |identifier_function	| Expected an identifier in an assignment and instead saw a function invocation. | ? | |missing_property	| Missing property name. | Looks for missing property when defining ES5 getters. | |{color:green}missing_a{color}	| Missing '\{a\}'. | ? | newcap | newcap | |missing_a_after_b	| Missing '\{a\}' after '\{b\}'. | ? | |statement_block	| Expected to see a statement and instead saw a block. | Looks for braces in statement context (i.e. to start a line). | | | |unclosed	| Unclosed string. | Checks for unclosed strings | |unclosed_comment	| Unclosed comment. | Checks for unclosed comments. | |unclosed_regexp | Unclosed regular expression. | checks for unclosed regexps. | |unexpected_comment	| Unexpected comment. | Looks for comments in JSLint directive sections, html. | * Check to see if each of these items are covered by our current parser * If not, write a unit test to cover the case(s) encapsulated by this rule.
Story points: 13