1
0
Fork 0
firefox/tools/lint/eslint/eslint-plugin-mozilla/lib/configs/xpcshell-test.js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

21 lines
503 B
JavaScript

// Parent config file for all xpcshell files.
"use strict";
module.exports = {
env: {
"mozilla/privileged": true,
"mozilla/xpcshell": true,
},
name: "mozilla/xpcshell-test",
plugins: ["mozilla", "@microsoft/sdl"],
rules: {
// Turn off no-insecure-url as it is not considered necessary for xpcshell
// level tests.
"@microsoft/sdl/no-insecure-url": "off",
"mozilla/no-comparison-or-assignment-inside-ok": "error",
"mozilla/no-useless-run-test": "error",
},
};