SIGN IN SIGN UP

[Tests] strip 'type:' from RuleTester errors on eslint >= 10 via helper

Wrap invalid test cases in `tests/helpers/ruleTester.js` to strip `type` when the running ESLint is >= 10.
On older versions the function does nothing, keeping all `type:` assertions intact.
C
captaindonald committed
fa5e416571dd6f6df71da895f9c3cf936ccca75b
Parent: 77c5fa8
Committed by Jordan Harband <ljharb@gmail.com> on 5/10/2026, 6:57:13 AM