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
{{ message }}
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.
We are using ember 3.12 with typescript. Currently we are migrating to ESLint for linting JavaScript and TypeScript. The project is configured according to the @typescript-eslint project documentation. The linting is working ok in VSCode. When the project is served there are some linting errors:
C:\src\temp\ember312\lib\auto-import\app\app\services\auto-import.js
0:0 error Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.
The file does not match your project config: C:\src\temp\ember312\lib\auto-import\app\app\services\auto-import.js.
The file must be included in at least one of the projects provided
The thing that bothers me is the double app\app folder that doesn't exist in the project. The actual path is C:\src\temp\ember312\lib\auto-import\app\services\auto-import.js.
ember-cli-build configuration
eslint: {extensions: ['js','ts']}
Any suggestions?
The text was updated successfully, but these errors were encountered:
atstoyanov
changed the title
Linting typescript and in-repo-addons does not work
Linting typescript for in-repo-addons does not work
Oct 14, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We are using ember 3.12 with typescript. Currently we are migrating to ESLint for linting JavaScript and TypeScript. The project is configured according to the @typescript-eslint project documentation. The linting is working ok in VSCode. When the project is served there are some linting errors:
The error is documented here.
The thing that bothers me is the double
app\app
folder that doesn't exist in the project. The actual path isC:\src\temp\ember312\lib\auto-import\app\services\auto-import.js.
ember-cli-build configuration
Any suggestions?
The text was updated successfully, but these errors were encountered: