DEV Community

Discussion on: ⚙️ Migrate Angular app to ESLint with Prettier, AirBnB Styleguide, Husky and lint-staged

Collapse
 
tmmschmit profile image
tmmschmit

Hi, I followed your tutorial with Angular 10, and I got an error on the first line of each files :

Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.
The file does not match your project config: src/index.html.
The extension for the file (.html) is non-standard. You should add "parserOptions.extraFileExtensions" to your config.eslint
Enter fullscreen mode Exit fullscreen mode

or

Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.
The file does not match your project config: src/app/app.component.ts.
The file must be included in at least one of the projects provided.eslint
Enter fullscreen mode Exit fullscreen mode

Any idea? Thanks!

Collapse
 
tmmschmit profile image
tmmschmit

Ok, we just have to wait :-)

github.com/angular-eslint/angular-...

Collapse
 
bzvyagintsev profile image
Bogdan Zvyagintsev

👍