tools/lint/eslint/eslint-plugin-mozilla/docs/mark-test-function-used.rst
author Andrew Halberstadt <ahalberstadt@mozilla.com>
Thu, 02 Jun 2016 15:38:36 -0400
changeset 301096 20660b4251932301bcc95bece0a1d6c5a5b1756e
parent 297719 testing/eslint/eslint-plugin-mozilla/docs/mark-test-function-used.rst@b4564c057f93c736521672ffa54b23d9b4c92b94
permissions -rw-r--r--
Bug 1271734 - Move all eslint related infrastructure to tools/lint, r=miker This commit simply moves 'testing/eslint' to 'tools/lint/eslint' and the eslint related mach command from 'python/mach_commands.py' to 'tools/lint/mach_commands.py'. It shouldn't have any functional change on running eslint, either through mach or taskcluster. This is in preparation for bug 1258341, to make the diffs there a little easier to read. MozReview-Commit-ID: K03sn9lv9Lv

.. _mark-test-function-used:

=======================
mark-test-function-used
=======================

Rule Details
------------

Simply marks test (the test method) as used. This avoids ESLint telling
us that the function is never called.