You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm not sure what's wrong with my setup ( is quite default from Ignite ) but I'm getting crash whenever I try to type style in any components, doesn't matter what is it. Remove this from extends then it stop but also stopping inline style checking.
Thanks in advance!
Here's the log:
[Error - 10:27:12 PM] ESLint stack trace:
[Error - 10:27:12 PM] TypeError: Cannot read property 'expression' of null
Occurred while linting C:\Users\app\screens\cook-details\cook-details-info.tsx:22
at JSXAttribute (C:\Users\node_modules\eslint-plugin-react-native\lib\rules\no-single-element-style-arrays.js:40:24)
at C:\Users\node_modules\eslint\lib\linter\safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (C:\Users\node_modules\eslint\lib\linter\safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (C:\Users\node_modules\eslint\lib\linter\node-event-generator.js:256:26)
at NodeEventGenerator.applySelectors (C:\Users\node_modules\eslint\lib\linter\node-event-generator.js:285:22)
at NodeEventGenerator.enterNode (C:\Users\node_modules\eslint\lib\linter\node-event-generator.js:299:14)
at CodePathAnalyzer.enterNode (C:\Users\node_modules\eslint\lib\linter\code-path-analysis\code-path-analyzer.js:711:23)
at C:Users\node_modules\eslint\lib\linter\linter.js:954:32
at Array.forEach (<anonymous>)
@AlanSl@Intellicode The fix in #278 doesn't fix this issue, I still have to add "react-native/no-single-element-style-arrays": 0 to makes it stop crashing, just typed style then it crash instantly without any ="something" or the sort. I'm using v3.11.0.
Uh oh!
There was an error while loading. Please reload this page.
Hi, I'm not sure what's wrong with my setup ( is quite default from Ignite ) but I'm getting crash whenever I try to type
style
in any components, doesn't matter what is it. Remove this fromextends
then it stop but also stopping inline style checking.Thanks in advance!
Here's the log:
Here's my eslint config:
The text was updated successfully, but these errors were encountered: