Terminating validation due to too many errors on jQuery

For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
User avatar
DimitriAus
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 6
Joined: Thu Sep 15, 2011 7:10 am
Location: Sydney
Contact:

Terminating validation due to too many errors on jQuery

Post by DimitriAus » Sat Apr 15, 2017 8:45 pm

17.02 spit numerous errors in jQuery regardless version. Specifically v1.12.4 (still used in Wordpress), v2.2.4.
Does HTML validator actually work with JavaScript or is that jQuery so badly written?

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3221
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Terminating validation due to too many errors on jQuery

Post by Albert Wiersch » Sat Apr 15, 2017 9:54 pm

Hello,

What JavaScript linter are you using as CSE HTML Validator contains 3 of them (1 of which, JavaScript Lint, is deprecated and not recommended)? Also, it may need to be configured properly for jQuery. For example, if using JSHint, then you may want to allow specific globals like '$' by adding this comment to the top:

Code: Select all

/* globals $ */
Can you copy and paste some of the errors you are getting?
Image
Albert Wiersch

Post Reply