.jshintrc
author Boris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:18:45 +0100
changeset 53680 cebaaa38f8fd9986b2896ba55ef8ce1fec70b4db
parent 40830 bdd2e18b54c51137822b501dfcf6e26a11630385
permissions -rw-r--r--
test: enable sparse-revlog for test-wireproto-caching.t We are about to enable sparse-revlog globally. To help with reviewing the tests change, we isolate them in individual changesets. Differential Revision: https://phab.mercurial-scm.org/D5341

{
    // Enforcing
    "eqeqeq"        : true,     // true: Require triple equals (===) for comparison
    "forin"         : true,     // true: Require filtering for..in loops with obj.hasOwnProperty()
    "freeze"        : true,     // true: prohibits overwriting prototypes of native objects such as Array, Date etc.
    "nonbsp"        : true,     // true: Prohibit "non-breaking whitespace" characters.
    "undef"         : true,     // true: Require all non-global variables to be declared (prevents global leaks)

    // Environments
    "browser"       : true      // Web Browser (window, document, etc)
}