diff options
Diffstat (limited to 'docs/code-quality/lint/linters/eslint-plugin-mozilla/no-useless-run-test.rst')
-rw-r--r-- | docs/code-quality/lint/linters/eslint-plugin-mozilla/no-useless-run-test.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/code-quality/lint/linters/eslint-plugin-mozilla/no-useless-run-test.rst b/docs/code-quality/lint/linters/eslint-plugin-mozilla/no-useless-run-test.rst new file mode 100644 index 0000000000..a079405696 --- /dev/null +++ b/docs/code-quality/lint/linters/eslint-plugin-mozilla/no-useless-run-test.rst @@ -0,0 +1,6 @@ +no-useless-run-test +=================== + +Designed for xpcshell-tests. Rejects definitions of ``run_test()`` where the +function only contains a single call to ``run_next_test()``. xpcshell's head.js +already defines a utility function so there is no need for duplication. |