Skip to content

Commit 149e21c

Browse files
feat: allow t as identifier (id-length)
Used when working with vitest.
1 parent 26bccce commit 149e21c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/eslint-config-base/style.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ const config = {
166166
'R',
167167
// jQuery 🤮
168168
'$',
169+
// vitest in-test context: `it('works', t => { t.expect(1).toBe(1) })`
170+
't',
169171
],
170172
}],
171173

0 commit comments

Comments
 (0)