devtools/.eslintrc.xpcshell
author Nicholas Nethercote <nnethercote@mozilla.com>
Tue, 05 Jan 2016 17:08:45 -0800
changeset 314225 fd2b9869729288b7e236410a45b45e80ba4c7ad6
parent 313447 f13750b0247d0decc640ea858b4df98539c40969
child 317876 bbdb71a5c1c002ae6c3c679f76e19705bdc6cd67
permissions -rw-r--r--
Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj.

// Parent config file for all devtools browser mochitest files.
{
  "extends": [
    "../testing/xpcshell/xpcshell.eslintrc"
  ],
  "rules": {
    // Allow non-camelcase so that run_test doesn't produce a warning.
    "camelcase": 0,
    // Allow using undefined variables so that tests can refer to functions
    // and variables defined in head.js files, without having to maintain a
    // list of globals in each .eslintrc file.
    // Note that bug 1168340 will eventually help auto-registering globals
    // from head.js files.
    "no-undef": 0,
    "block-scoped-var": 0
  }
}