Hello we analyse a code which is written in ES2015, which have now deprecated: “for each…in”
(https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for_each...in)
We get: “ERROR: Failed to parse file [testFileHere.ts] at line 31: ‘(’ expected.”
This is because of code snippet:
for each (var header in headers){
System.log(header.toString());
}
Where and how we can configure this one not to fail, but instead to be like: “code smell”?
Thanks for the help!