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

Should tolerate the scope when checking for reserved words #232

Closed
emirotin opened this issue Aug 7, 2011 · 4 comments
Closed

Should tolerate the scope when checking for reserved words #232

emirotin opened this issue Aug 7, 2011 · 4 comments

Comments

@emirotin
Copy link

emirotin commented Aug 7, 2011

For example, Express defines a .static method, and JSHint marke the call like

server.use(express.static(__dirname + '/public'));

with

Expected an identifier and instead saw 'static' (a reserved word).
@serby
Copy link

serby commented Aug 13, 2011

I would also like to see this feature.

@uipoet
Copy link

uipoet commented Jan 23, 2012

+1

@tauren
Copy link

tauren commented Feb 8, 2012

+1 Agreed

In my case, I'm using FlatIron Plates, which has a method called Plates.Map.class(), where class is the reserved word.

@domenic
Copy link
Contributor

domenic commented Feb 8, 2012

This feature is already there: es5: true.

@valueof valueof closed this as completed Aug 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants