Skip to content

Commit 36f03da

Browse files
committed
fix(eslint): set eslintPath to use-at-your-own-risk for FlatESLint error
1 parent 780f0ec commit 36f03da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rspack.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ const getJSPlugins = () => {
4545
fix: true,
4646
emitError: true,
4747
lintDirtyModulesOnly: true,
48+
configType: 'flat',
49+
eslintPath: require.resolve('eslint/use-at-your-own-risk'),
4850
}),
4951
);
5052
// plugins.push(

0 commit comments

Comments
 (0)