ESLint 10 added 3 options to RuleTester:
requireMessage
requireLocation
requireData
These options are not required for correctness. Tests ported from ESLint's RuleTester to Oxlint's will still work fine.
These options just make RuleTester stricter when they're enabled, forcing the writer of tests to add further details to each invalid test case.
We should add these options for feature-parity with ESLint's RuleTester, but it's not a very high priority.
ESLint 10 added 3 options to
RuleTester:requireMessagerequireLocationrequireDataThese options are not required for correctness. Tests ported from ESLint's
RuleTesterto Oxlint's will still work fine.These options just make
RuleTesterstricter when they're enabled, forcing the writer of tests to add further details to each invalid test case.We should add these options for feature-parity with ESLint's
RuleTester, but it's not a very high priority.