In my Angular 11 project I'm trying to replace tslint with eslint but the following command:
ng add @angular-eslint/schematics
gives me this error:
Error: Angular CLI v10.1.0 and later (and no
tsconfig.base.json) is required in order to run this schematic. Please update your workspace and try again.
how come my Angular CLI version is already higher than 10.1.0 but I still have the tsconfig.base.json file and how to fix it?
I've solved the issue by running
ng update @angular/cli --migrate-only --from 9 --to 10
this will correctly remove the tsconfig.base.json file and allows me to proceed with the migration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With