Bug 1239437 - Allow run_test to be unused in xpcshell tests. r=pbrosset

This commit is contained in:
J. Ryan Stinnett 2016-01-19 18:49:39 -06:00
parent 291fcf80ac
commit 482e796bd3

View File

@ -1,4 +1,4 @@
// Parent config file for all devtools browser mochitest files.
// Parent config file for all devtools xpcshell files.
{
"extends": [
"../testing/xpcshell/xpcshell.eslintrc"
@ -12,6 +12,8 @@
// Note that bug 1168340 will eventually help auto-registering globals
// from head.js files.
"no-undef": 0,
"block-scoped-var": 0
"block-scoped-var": 0,
// Allow run_test to be unused in xpcshell
"no-unused-vars": [2, { "varsIgnorePattern": "run_test" }],
}
}