ACE uses JSHint which allows you to override settings locally.

Use something like the following at the start of your Function code:

/*jshint sub:true,asi:true,maxerr:1000*/

which would, for example:

  • Turn off the warnings about using subscripting to access object properties.
  • Turn off warnings about missing semi-colons.
  • Continue processing warnings & errors up to 1,000 lines instead of the default 50.

See the JSHint documentation for more information.