From ad18d877ddd2a44d98fa12ccd3dbbcf4d0ac4299 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- devtools/.eslintrc.xpcshell.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 devtools/.eslintrc.xpcshell.js (limited to 'devtools/.eslintrc.xpcshell.js') diff --git a/devtools/.eslintrc.xpcshell.js b/devtools/.eslintrc.xpcshell.js new file mode 100644 index 0000000000..a9c8faf824 --- /dev/null +++ b/devtools/.eslintrc.xpcshell.js @@ -0,0 +1,19 @@ +// Parent config file for all devtools xpcshell files. +module.exports = { + "extends": [ + "../testing/xpcshell/xpcshell.eslintrc.js" + ], + "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, + // Tests can always import anything. + "mozilla/reject-some-requires": 0, + } +}; -- cgit v1.2.3