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 | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /testing/xpcshell/xpcshell.eslintrc.js | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/xpcshell/xpcshell.eslintrc.js')
-rw-r--r-- | testing/xpcshell/xpcshell.eslintrc.js | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/testing/xpcshell/xpcshell.eslintrc.js b/testing/xpcshell/xpcshell.eslintrc.js new file mode 100644 index 000000000..4f8fc3d51 --- /dev/null +++ b/testing/xpcshell/xpcshell.eslintrc.js @@ -0,0 +1,57 @@ +// Parent config file for all xpcshell files. +module.exports = { + rules: { + "mozilla/import-headjs-globals": "warn", + "mozilla/mark-test-function-used": "warn", + "no-shadow": "error", + }, + + // All globals made available in the test environment. + "globals": { + "add_task": false, + "add_test": false, + "Assert": false, + "deepEqual": false, + "do_check_eq": false, + "do_check_false": false, + "do_check_matches": false, + "do_check_neq": false, + "do_check_null": false, + "do_check_true": false, + "do_execute_soon": false, + "do_get_cwd": false, + "do_get_file": false, + "do_get_idle": false, + "do_get_profile": false, + "do_get_tempdir": false, + "do_load_manifest": false, + "do_load_module": false, + "do_parse_document": false, + "do_print": false, + "do_register_cleanup": false, + "do_report_unexpected_exception": false, + "do_test_finished": false, + "do_test_pending": false, + "do_throw": false, + "do_timeout": false, + "equal": false, + "greater": false, + "greaterOrEqual": false, + "less": false, + "lessOrEqual": false, + "load": false, + "mozinfo": false, + "notDeepEqual": false, + "notEqual": false, + "notStrictEqual": false, + "ok": false, + "run_next_test": false, + "run_test": false, + "run_test_in_child": false, + "strictEqual": false, + "throws": false, + "todo": false, + "todo_check_false": false, + "todo_check_true": false, + } +}; |