So i have this import on my file
import { catchError, finalize } from 'rxjs/operators';
And when i run eslint i get this error:
error 'rxjs/operators' should be listed in the project's dependencies. Run 'npm i -S rxjs/operators' to add it import/no-extraneous-dependencies
I have rxjs in the package.json dependencies list, but it seems eslint thinks 'rxjs/operators' is another package instead.
In my eslintrc file, i have this rule:
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": ["**/*.test.ts", "**/*.test.tsx"]
}
],