features.js 713 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * @fileoverview The list of feature flags supported by the parser and their default
  3. * settings.
  4. * @author Nicholas C. Zakas
  5. */
  6. "use strict";
  7. //------------------------------------------------------------------------------
  8. // Requirements
  9. //------------------------------------------------------------------------------
  10. // None!
  11. //------------------------------------------------------------------------------
  12. // Public
  13. //------------------------------------------------------------------------------
  14. module.exports = {
  15. // React JSX parsing
  16. jsx: false,
  17. // allow return statement in global scope
  18. globalReturn: false,
  19. // allow implied strict mode
  20. impliedStrict: false
  21. };