gecko-dev/devtools/.eslintrc.xpcshell
Dave Townsend ca9efe5553 Bug 1229142: Add shared eslintrc files for the different test suites. r=Standard8
--HG--
extra : commitid : AhpmLFDapbw
extra : rebase_source : 2f78e3b01a56c9fb969370967ee20acaf53bd570
extra : histedit_source : 3c8e2b70317bc799d25ff5c6012aa878feecc668
2015-12-17 15:28:06 -08:00

18 lines
586 B
Plaintext

// 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
}
}