diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | ad18d877ddd2a44d98fa12ccd3dbbcf4d0ac4299 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /devtools/.eslintrc.xpcshell.js | |
parent | 15477ed9af4859dacb069040b5d4de600803d3bc (diff) | |
download | uxp-ad18d877ddd2a44d98fa12ccd3dbbcf4d0ac4299.tar.gz |
Add m-esr52 at 52.6.0
Diffstat (limited to 'devtools/.eslintrc.xpcshell.js')
-rw-r--r-- | devtools/.eslintrc.xpcshell.js | 19 |
1 files changed, 19 insertions, 0 deletions
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, + } +}; |