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

no-unsupported-features "blockScopedFunctions" misbehaving? #59

Closed
rhys-vdw opened this issue Nov 29, 2016 · 3 comments
Closed

no-unsupported-features "blockScopedFunctions" misbehaving? #59

rhys-vdw opened this issue Nov 29, 2016 · 3 comments

Comments

@rhys-vdw
Copy link

source

I get an error from a top level function definition:

// whatever.js
function whatever() { } // Block-Scoped Functions are not supported yet on Node v0.10  node/no-unsupported-features
rhys-vdw added a commit to usabilityhub/rails-erb-loader that referenced this issue Nov 29, 2016
Lint for JS features not supported by Node 0.10.0.

Ignore the `"blockScopedFunctions"` rule beacuse it seems to be buggy. See mysticatea/eslint-plugin-node#59.
@mysticatea
Copy link
Owner

Thank you for this issue.

I confirmed it, if eslintrc has {sourceType: "module"} setting.
I will fix it.

@rhys-vdw
Copy link
Author

Thanks @mysticatea. 👍

@rhys-vdw
Copy link
Author

rhys-vdw commented Dec 2, 2016

Thanks @mysticatea, seems good. 👍

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

No branches or pull requests

2 participants