devtools/.eslintrc.xpcshell
author Lars T Hansen <lhansen@mozilla.com>
Thu, 24 Mar 2016 18:14:37 +0100
changeset 291505 71eb251a0f29de94082623b91326e2449a3aa81e
parent 281715 bbdb71a5c1c002ae6c3c679f76e19705bdc6cd67
permissions -rw-r--r--
Bug 1253371 - make atomics range checking conformant. r=jolesen

// Parent config file for all devtools xpcshell 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,
    // Allow run_test to be unused in xpcshell
    "no-unused-vars": [2, { "varsIgnorePattern": "run_test" }],
  }
}