# ava/use-t 📝 Require test functions to use `t` as their parameter. 💼 This rule is enabled in the ✅ `recommended` [config](https://github.com/avajs/eslint-plugin-ava#recommended-config). Translations: [Français](https://github.com/avajs/ava-docs/blob/main/fr_FR/related/eslint-plugin-ava/docs/rules/use-t.md) The convention is to have the parameter in AVA's test function be named `t`. Most rules in `eslint-plugin-ava` are based on that assumption. ## Examples ```js import test from 'ava'; // ❌ test('foo', foo => { // Incorrect name t.pass(); }); // ✅ test('foo', () => { // ... }); test('bar', t => { t.pass(); }); ```