Commit Graph

4 Commits

Author SHA1 Message Date
Sean Lilley d74ee83ba8 Update jsHint to esversion 11 2022-03-22 18:11:09 -04:00
Peter Gagliardi bcafd892fc Update Codemirror + JSHint to support ES6+ syntax 2020-02-20 08:57:26 -05:00
Matthew Amato 2576a8fe82 Fix Sandcastle jsHint
We were writing out jsHintOptions with the `extends` attribute, which
wasn't working when loaded into the browser.  Now the build process
loads the primary jshint file and modifies is to match the gallery
in order to write out a complete jsHintOptions object.

This could probably be a little more robust (since not all changes
to Apps/Sandcastle/.jshintrc get reflected automatically jsHintOptions,
but I doubt that will be an issue given that these files will rarely change.
2015-12-01 02:29:41 -05:00
Matthew Amato 25a7591337 Fix Eclipse jsHint integration
Because jshint-eclipse does not support multiple `.jshintrc` files, I've
updated the root .jshintrc to include jasmine.  This is then set to
false in lower-down `.jshintrc files using the extends capability.

This has the added benefit of meaning we no longer write out .jshintrc
files as part of the build step.

The only downside here is that jsHint in Eclipse thinks Jasmine globals
are okay in all of our Source files. However, that's not a big deal
and travis and our own jshint build step will detect the problem if
someone tries to call jasmine outside of the Specs directory.
2015-11-16 10:42:41 -05:00