So I want to enable strict mode for my project, but I have a lot of files and adding "use strict";
to the top of all of them would be a pain. I discovered the --use_strict
CLI option for node which is awesome, but enables it for every single file inside my project directory, including all the third-party modules and their modules and I really don't want to go through correcting everybody's files, just mine.
So my question is, is there a way I could automate adding "use strict" to only my files?