You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use TypeScript for developing the app (as written in the documentation), but adding Homey ESLint config to .eslintrc.json it breaks importing rules.
With
"extends": "athom"
or
"extends": [
"athom",
"athom/homey-app"
]
I get error on all imports referencing .ts, as example: import { Test } from './Test';
with errors:
Unable to resolve path to module './Test'.eslint[import/no-unresolved]
Missing file extension for "./Test"eslint[import/extensions]
"./Test" is not found.eslint[node/no-missing-import]
Hi,
I use TypeScript for developing the app (as written in the documentation), but adding Homey ESLint config to .eslintrc.json it breaks importing rules.
With
or
I get error on all imports referencing .ts, as example:
import { Test } from './Test';
with errors:
However, when I switch to Typescript ESLint as descibed here https://typescript-eslint.io/getting-started/, then it works OK, no error.
Once I add "athom" or "athom/homey-app", it breaks .ts imports.
Is there some missing configuration with new app creation, or some new version breaks the Typescript support ?
The text was updated successfully, but these errors were encountered: