codeforbtv / baby-equipment-exchange

MIT License
0 stars 8 forks source link

Suppress the 'React in JSX Scope' ESLint linter error #8

Closed NathanWEdwards closed 10 months ago

NathanWEdwards commented 1 year ago

Excluding React imports from JSX files currently triggers a linter error. As of React 17, JSX Transform no longer requires React to use JSX.

The react/react-in-jsx-scope ESLint rule should be set as off.

NathanWEdwards commented 10 months ago

Pull request 22 introduces a change to the ESLint configuration to conform to React 17+ JSX.