Skip to content

Conversation

vahan-hartooni
Copy link
Contributor

As stated in the Modules section, 'use strict' needs to be declared at the top of a module

JSHint has an option for something like this by enforcing the declaration of 'use strict' at the top function scope.

As stated in the [Modules section](https://github.com/airbnb/javascript#modules), `'use strict'` needs to be declared at the top of a module

[JSHint has an option](http://www.jshint.com/docs/options/#strict) for something like this by enforcing the declaration of the statement at the top function scope.
@ssorallen
Copy link
Contributor

🚢 it.

@hshoff
Copy link
Member

hshoff commented Dec 17, 2013

Thanks for this! 🍻

hshoff added a commit that referenced this pull request Dec 17, 2013
@hshoff hshoff merged commit 425d5c7 into airbnb:master Dec 17, 2013
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

Successfully merging this pull request may close these issues.

3 participants