ricardofbarros / linter-js-standard

Atom linter plugin for JavaScript, using JavaScript Standard Style
https://atom.io/packages/linter-js-standard
MIT License
99 stars 50 forks source link

[bug] parsing error in react-native #228

Closed xiaweiss closed 5 years ago

xiaweiss commented 5 years ago

image

[bug] when i create a new react-native app( 0.58.4 ),and installed "standard ^12.0.1" ,then delete annotation, the bug will appear

if I install standard 10.0.3,it worked no error

sonicdoe commented 5 years ago

Sorry, I’m not able to reproduce this. As far as I can tell, I have the same file as you and when I run standard against it, everything works fine. Do you experience this error only in Atom or also when running standard on the command line?

xiaweiss commented 5 years ago

only in Atom, thank you

sonicdoe commented 5 years ago

Do you have any custom standard settings in your package.json? If possible, could you share the full repository in which you encounter this error? I’ve used react-native init before but perhaps there are still some differences between your and my project.

xiaweiss commented 5 years ago

thank you