-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
We can remove 'use strict' since we use ES6 modules #149
Comments
According to documentation http://www.ecma-international.org/ecma-262/6.0/#sec-strict-mode-code
So looks like we can remove 'use strict' from source code, but probably we need to add it automatically to CommonJS and AMD versions of builded packages. We can also configure eslint for it http://eslint.org/docs/rules/strict |
Thanks for confirming this.
We use JSHint (and JSCS). However, since JSCS is being merged to ESLint we'll have to migrate some day. |
AFAIR (needs to be confirmed) ES6 modules enable strict mode out of the box.
The text was updated successfully, but these errors were encountered: