Lint warning: missing semicolon

For topics about current BETA or future releases, including feature requests.
User avatar
RSteinwand
Rank VI - Professional
Posts: 596
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND

Lint warning: missing semicolon

Post by RSteinwand »

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
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Post by Albert Wiersch »

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.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
User avatar
RSteinwand
Rank VI - Professional
Posts: 596
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND

Post by RSteinwand »

There is no option to disable lint messages.

<script type="text/javascript">alert('hi')</script>
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Post by Albert Wiersch »

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.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial