JavaScript and TypeScript
Scripts can call APIs that Gameface does not provide/support. The plugin flags obvious unsupported usage in .js, .jsx, .ts, and .tsx files.
What you will see
Section titled “What you will see”- Errors for globals Gameface does not support (for example some browser-only APIs used as bare identifiers)
- Warnings for partial APIs—
Something.memberwherememberis known to be missing on that type in Gameface
These are static checks. They help during development but do not replace testing in the actual Gameface runtime.
Examples of patterns that may not be reported
Section titled “Examples of patterns that may not be reported”obj.chromeor other property access through a variableglobalThis['Chrome']with a computed name- Code paths only reachable at runtime
If a warning is wrong for your build
Section titled “If a warning is wrong for your build”Some projects polyfill or inject globals at runtime. You can lower severity or disable the rule for that file pattern:
{ files: ["src/legacy/**/*.js"], rules: { "gameface/js-no-unsupported-globals": "off", },},See Rules reference for rule ids.
© 2026 Coherent Labs. All rights reserved.