mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
ca9efe5553
--HG-- extra : commitid : AhpmLFDapbw extra : rebase_source : 2f78e3b01a56c9fb969370967ee20acaf53bd570 extra : histedit_source : 3c8e2b70317bc799d25ff5c6012aa878feecc668
18 lines
586 B
Plaintext
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
|
|
}
|
|
}
|