Comments (4)
I think the solution is to use this instead
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
from eslint-plugin-react-native.
Hi @GitTom, thanks for reporting, feel free to make a PR with an update!
from eslint-plugin-react-native.
The solution by @GitTom fixed this for me too!
from eslint-plugin-react-native.
I will go ahead and submit a pull request for this in the docs since I don't see one open, and the issue is still present.
from eslint-plugin-react-native.
Related Issues (20)
- Unhandled case no-inline-styles + typescript when add type casting `as T`
- Unhandled case no-inline-styles + typescript when add type casting `as T` HOT 1
- Eslint 8.0 error when using --fix: Fixable rules must set the `meta.fixable` property to "code" or "whitespace" HOT 1
- [Feature] Allow rules options to include message
- Eslint 8 support HOT 3
- no-raw-text gives a false positive with spaces?
- no-raw-text breaking eslint when nearby component has an inline function
- TypeError: Cannot read property 'name' of undefined
- Custom StyleSheet ordering? HOT 1
- When does eslint 8 support available? HOT 3
- Help with running the plugin?
- [no-inline-styles] ternary style gets mistakenly reported HOT 3
- Rule to warn about styles such as `textAlignVertical` that aren't multi platform (it doesn't support iOS) HOT 1
- Ensure each style property is on its own line when inside StyleSheet.create() HOT 1
- no-unused-styles: false positive with variable based style object selection HOT 7
- TypeError: this.styleSheets[styleSheetName].filter is not a function HOT 1
- Maintainers wanted! HOT 4
- [react-native/no-raw-tex] crash when have a template literals string HOT 1
- use with new eslint config system (eslint.config.js) HOT 1
- Support "Flat Config" (ESLint 9)
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-native.