Troubleshooting
No gameface/ messages after setup
Section titled “No gameface/ messages after setup”- Confirm
eslint.config.jsspreads...gameface.configs["flat/recommended"]. - Run ESLint from the project root:
npx eslint path/to/your-file.html. - Check the file extension is covered (
.html,.css,.scss,.js,.jsx,.ts,.tsx,.vue,.svelte). - Ensure the file is not under
ignores(for exampledist/**).
Vue .vue files not linted in the editor
Section titled “Vue .vue files not linted in the editor”- Add
"vue"toeslint.validatein.vscode/settings.json(see Installation). - Ensure
eslint.config.jsspreads...gameface.configs["flat/recommended"]—the preset registersvue-eslint-parserfor**/*.vue. <style>blocks are linted viavue-sfc-css-*rules on the same.vuefile (not as separate virtual files).
Svelte .svelte files not linted in the editor
Section titled “Svelte .svelte files not linted in the editor”- Add
"svelte"toeslint.validatein.vscode/settings.json(see Installation). - Ensure
eslint.config.jsspreads...gameface.configs["flat/recommended"]—the preset registerssvelte-eslint-parserfor**/*.svelte. <style>blocks are linted viasvelte-sfc-css-*rules on the same.sveltefile (not as separate virtual files).
Editor shows “unknown property” but ESLint does not
Section titled “Editor shows “unknown property” but ESLint does not”VS Code and other editors often validate CSS separately from ESLint. coh-* properties for example may look invalid in the editor even when Gameface supports them. Use VS Code custom CSS data or adjust editor CSS lint — not this plugin.
SCSS variables skip some warnings
Section titled “SCSS variables skip some warnings”Rules see $variable values as unresolved text, so some property/value checks are skipped on those lines. That is expected; keep critical Gameface constraints in plain CSS or literals where possible.
Too many HTML partial warnings
Section titled “Too many HTML partial warnings”Relax or disable gameface/html-partial-features, or switch its mode in Configuration:
"gameface/html-partial-features": ["warn", { mode: "tag-warn" }],Migrating from HTMLHint / Stylelint
Section titled “Migrating from HTMLHint / Stylelint”The previous workflow was to use HTMLLint and CSS Linter.
Now you can adopt this plugin gradually and stop using previous HTMLLint and CSS Linter. Enable flat/recommended for HTML and CSS first, then expand to JSX/TS, Vue, or Svelte in your project if needed. Once you adopted eslint-plugin-gameface you can safely remove HTMLLint and CSS Linter.
Still stuck?
Section titled “Still stuck?”Check the exact rule id in the ESLint message (for example gameface/css-no-unsupported-properties) and look it up in Rules reference to see what it enforces and how to turn it off.
© 2026 Coherent Labs. All rights reserved.