Got it resolved by executing npm run lint – --fix