Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[standard] Parsing error: Unexpected token = #18

Closed
Junting-Liu opened this issue Apr 21, 2019 · 4 comments
Closed

[standard] Parsing error: Unexpected token = #18

Junting-Liu opened this issue Apr 21, 2019 · 4 comments

Comments

@Junting-Liu
Copy link

Junting-Liu commented Apr 21, 2019

there is my config:

  "standardx": { 
    "parser": "babel-eslint",
    "plugins": [ "react-hooks" ]
  },
 "eslintConfig": {
      "rules": { 
        "react-hooks/rules-of-hooks": "error",
        "react-hooks/exhaustive-deps": "warn" 
      } 
    }

there is the code
handleScroll = () => {...}

@Junting-Liu
Copy link
Author

I think i find the reason.
It' seem like StandardJS (the vscode plugin) can't read the standardx in package.json.
Will this problem be fixed?

@ArmorDarks
Copy link

I guess the only way to fix that would be to release Standardx VS Code extension, which will use standardx properties.

@ArmorDarks
Copy link

See related issue standard/vscode-standard#71

This one can be closed since it's not Standardx-related,

@Junting-Liu
Copy link
Author

See related issue standard/vscode-standardjs#71

This one can be closed since it's not Standardx-related,

yes, you are right. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants