Skip to content

Commit

Permalink
chore(lint): use detect setting for eslint-plugin-react in react pr…
Browse files Browse the repository at this point in the history
…ojects
  • Loading branch information
arthurdenner committed Nov 6, 2019
1 parent 830e413 commit b6c3153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createEslintConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function createEslintConfig({
settings: {
react: {
// Fix for https://github.com/jaredpalmer/tsdx/issues/279
version: !isReactLibrary ? '999.999.999' : undefined,
version: isReactLibrary ? 'detect' : '999.999.999',
},
},
};
Expand Down

0 comments on commit b6c3153

Please sign in to comment.