Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2a36e3e

Browse files
authored
feat(experimental-utils): add only property to RuleTester types (typescript-eslint#3555)
1 parent a2f1dfb commit 2a36e3e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/experimental-utils/src/ts-eslint/RuleTester.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ interface ValidTestCase<TOptions extends Readonly<unknown[]>> {
3636
* Settings for the test case.
3737
*/
3838
readonly settings?: Readonly<Record<string, unknown>>;
39+
/**
40+
* Run this case exclusively for debugging in supported test frameworks.
41+
*/
42+
readonly only?: boolean;
3943
}
4044

4145
interface SuggestionOutput<TMessageIds extends string> {

0 commit comments

Comments
 (0)