So, I want to enable strict mode for my project, but I have many files, and adding "use strict";all of them to the beginning would be a pain. I found the --use_strictCLI option for node, which is awesome, but allows it for every single file inside my project directory, including all third-party modules and their modules, and I really don't want to fix all the files, just mine.
So my question is: is there a way to automate adding "use strict" only to my files?
source
share