atom-react-snippets icon indicating copy to clipboard operation
atom-react-snippets copied to clipboard

Enable/Disable "use strict";

Open alexkvazos opened this issue 10 years ago • 4 comments

Is it possible that we disable the forced use of "use strict";?

Many thanks for this very useful plugin, I still find it useful (despite it bugs me with that use strict thing).

Thanks!

alexkvazos avatar Sep 13 '16 03:09 alexkvazos

Sure! Would you be willing to create a PR removing them?

webbushka avatar Sep 16 '16 20:09 webbushka

Can I simply remove them from the snippets?

alexkvazos avatar Sep 20 '16 06:09 alexkvazos

I don't see why not, no need to have 'use strict;' anymore, if anyone uses these snippets they are most likely using babel and can use the babel-plugin-transform-strict-mode to add strict mode back in after transformation.

webbushka avatar Sep 20 '16 06:09 webbushka

Waiting on your merge :)

alexkvazos avatar Sep 21 '16 04:09 alexkvazos