Skip to content

Commit 59d3909

Browse files
committed
feat: add breaking test with react and typescript
1 parent a6646c1 commit 59d3909

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

test/fixtures.test.ts

+16
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,22 @@ runWithConfig(
7474
},
7575
)
7676

77+
// https://github.com/antfu/eslint-config/issues/618
78+
runWithConfig(
79+
'ts-strict-with-react',
80+
{
81+
typescript: {
82+
tsconfigPath: './tsconfig.json',
83+
},
84+
react: true,
85+
},
86+
{
87+
rules: {
88+
'ts/no-unsafe-return': ['off'],
89+
},
90+
},
91+
)
92+
7793
runWithConfig(
7894
'with-formatters',
7995
{

0 commit comments

Comments
 (0)