gecko-dev/devtools/platform/tests/unit/.eslintrc.js
Alexandre Poirot 51fbee878f Bug 1363533 - Move nsIJSInspector from devtools/server/ to devtools/platform/. r=gps,jryans
MozReview-Commit-ID: 3ry7pRiqNWv

--HG--
rename : devtools/server/moz.build => devtools/platform/moz.build
rename : devtools/server/nsIJSInspector.idl => devtools/platform/nsIJSInspector.idl
rename : devtools/server/nsJSInspector.cpp => devtools/platform/nsJSInspector.cpp
rename : devtools/server/nsJSInspector.h => devtools/platform/nsJSInspector.h
rename : devtools/server/tests/unit/test_nsjsinspector.js => devtools/platform/tests/unit/test_nsjsinspector.js
extra : rebase_source : 1df23f9247d9202fc7022ae73f8bf4bcf262410b
2017-05-15 18:53:19 +02:00

20 lines
682 B
JavaScript

// Parent config file for all devtools xpcshell files.
module.exports = {
"extends": [
"plugin:mozilla/xpcshell-test"
],
"rules": {
// Allow non-camelcase so that run_test doesn't produce a warning.
"camelcase": "off",
// 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": "off",
"block-scoped-var": "off",
// Tests can always import anything.
"mozilla/reject-some-requires": "off",
}
}