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

Error linting class property #1038

Closed
amaurymartiny opened this issue Jan 3, 2018 · 1 comment

Comments

@amaurymartiny
Copy link

commented Jan 3, 2018

I'm writing a MobX store:

class Store {
  @observable isScanning = false;
  // ...
}

And using standard --parser babel-eslint src/**/*.js to lint.

However I get an error 'isScanning' is not defined.


Using eslint with the following .eslintrc works:

{
  "extends": ["standard"],
  "parser": "babel-eslint"
}
@amaurymartiny

This comment has been minimized.

Copy link
Author

commented Jan 3, 2018

No errors with standard@beta. Closing.

@lock lock bot locked as resolved and limited conversation to collaborators May 25, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
1 participant
You can’t perform that action at this time.