3 ms·
You can configure a lot of options for JSLint, but not all of them. For instance, JSLint objects to the following: new Entity(parentEntity); This can't be tur
by camtarn 15y ago
You can configure a lot of options for JSLint, but not all of them. For instance, JSLint objects to the following:
new Entity(parentEntity);
This can't be turned off without modifying the JSLint parsing process.
(Yes, this is a rather odd bit of code, and it definitely should be flagged up normally. This is from a project where invoking a constructor would add the object to its parent object and trigger a GUI update.)