Skip to content

Commit e3aff7b

Browse files
committed
chore: list 3rd alternative
1 parent c3a09c4 commit e3aff7b

File tree

1 file changed

+4
-0
lines changed
  • designs/2025-rule-tester-assertion-options

1 file changed

+4
-0
lines changed

designs/2025-rule-tester-assertion-options/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,10 @@ new RuleTester(testerConfig: {...}, assertionOptions: {
312312
} = {});
313313
```
314314

315+
### Options Setter Method
316+
317+
Alternatively add an `setAssertionOptions()` method independently of the constructor and test method.
318+
315319
### ESLint RuleTester Lint-Rule
316320

317321
As an alternative to this proposal, we could add a eslint rule that applies the same assertions, but uses the central eslint config.

0 commit comments

Comments
 (0)