Lint warning: missing semicolon

For topics about current BETA or future releases, including feature requests.

Lint warning: missing semicolon

Postby RSteinwand » Tue Jun 10, 2008 1:09 pm

Is that for real?

So I need a semicolon at the end of a line terminated with a brace? :?

...onmouseover=function(){ms.hideCurrent();}}
User avatar
RSteinwand
Rank IV - Intermediate
Rank IV - Intermediate
 
Posts: 199
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND

Postby Albert Wiersch » Tue Jun 10, 2008 2:21 pm

I doubt you need one... but it may be considered good style by the JavaScript linter and thus it is telling you about it.

Can you right-click on that message and disable it? If not, then I can probably add that feature for that message... just send me some sample code that I can use to reproduce the exact message. Thanks.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX

Postby RSteinwand » Tue Jun 10, 2008 2:58 pm

There is no option to disable lint messages.

<script type="text/javascript">alert('hi')</script>
User avatar
RSteinwand
Rank IV - Intermediate
Rank IV - Intermediate
 
Posts: 199
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND

Postby Albert Wiersch » Tue Jun 10, 2008 3:57 pm

Thanks. I've now added the ability to disable just that lint warning - "lint warning: missing semicolon".

You can turn off JavaScript linting completely or just lint warnings. These options are in the JavaScript tab of the Validator Engine Options.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX


Return to CSE BETA Talk

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron