Comments (1)
This is by design - you need to extend the jsx-runtime
config, as detailed in the readme here
from eslint-plugin-react.
Related Issues (20)
- [Bug]: Rule "react/no-direct-mutation-state" failing in a stateless component HOT 1
- Remove `react/prop-types` from the recommended config HOT 8
- `jsx-no-leaked-render` should only complain if there is a certian leaked render HOT 7
- Quick question: does `settings.version` default to "detect" yet? HOT 3
- [Bug]: Unable to use with eslint 9.x HOT 1
- `jsx-no-leaked-render` can work better if it checks the TS type of the left-side value HOT 1
- [Bug]: react/boolean-prop-naming not working with TS & declaration HOT 8
- with redux there is not necessary error HOT 10
- [Bug]: Key "plugins": Cannot redefine plugin "react" HOT 10
- [Bug]: `react/no-object-type-as-default-prop` is disabled when using a `ref` prop HOT 5
- [Bug]: `non-jsx` is listed in `react/jsx-one-expression-per-line` options but is not available HOT 1
- [Bug]: Not compatible with eslint HOT 4
- Missing type declarations HOT 3
- Failed prop type: its value is `undefined`. HOT 2
- [Bug]: react/jsx-filename-extension ignoreFilesWithoutCode option not working with eslint v8 HOT 2
- Add option to `react/destructuring-assignment` to skip destructuring on union types on `always` HOT 4
- [Bug]: `sort-prop-types`'s autofix doesn't move the semicolon, producing broken code, on single-line Props types HOT 9
- [Bug]: `prefer-read-only-props` rule doesn't work with namespaces
- Latest version forces users to use Eslint 9.7 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-plugin-react.