Skip to content

Commit b6c3153

Browse files
committed
chore(lint): use detect setting for eslint-plugin-react in react projects
1 parent 830e413 commit b6c3153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/createEslintConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function createEslintConfig({
2525
settings: {
2626
react: {
2727
// Fix for https://github.com/jaredpalmer/tsdx/issues/279
28-
version: !isReactLibrary ? '999.999.999' : undefined,
28+
version: isReactLibrary ? 'detect' : '999.999.999',
2929
},
3030
},
3131
};

0 commit comments

Comments
 (0)