Closed erikvold closed 8 years ago
Sounds good, would you like to implement it?
sure
Hmm I've come to realize that we should just accept a true
value, I don't see why someone would require that people use "use strict";
in every functions, but not at the file level. And if it turns out someone can come up with a reason why that is useful then we can add it later.
@markelog review?
It would be nice if there was a check called
requireUseStrict
or mayberequireStrictMode
that each js file started with"use strict";
.To start the value could just be set to
true
orfalse
/undefined
, later we could perhaps add something like{ "functions": true, "files": false }