[ESCONF-7] eslint-plugin-import@"2.14.0" causes peer-dep inconsistency Created: 13/May/21  Updated: 22/Sep/22  Resolved: 22/Sep/22

Status: Closed
Project: eslint-config-stripes
Components: None
Affects versions: None
Fix versions: None

Type: Story Priority: P3
Reporter: Zak Burke Assignee: Ryan Berger
Resolution: Done Votes: 0
Labels: delegate_candidate, ui-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to STRIPES-676 migrate off yarn v1 to npm 7/node 16 Closed
Sprint:
Development Team: None

 Description   
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: eslint-plugin-import@2.14.0
npm WARN ui-calendar/node_modules/eslint-plugin-import
npm WARN   eslint-plugin-import@"2.14.0" from @folio/eslint-config-stripes@3.2.100038
npm WARN   ui-calendar/node_modules/@folio/eslint-config-stripes
npm WARN     dev @folio/eslint-config-stripes@"^3.2.1" from ui-calendar@6.0.0
npm WARN     ui-calendar
npm WARN   2 more (eslint-config-airbnb, eslint-import-resolver-webpack)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer eslint-plugin-import@"^2.17.2" from eslint-config-airbnb-base@13.2.0
npm WARN ui-calendar/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base
npm WARN   eslint-config-airbnb-base@"^13.1.0" from eslint-config-airbnb@17.1.0
npm WARN   ui-calendar/node_modules/eslint-config-airbnb
 


 Comments   
Comment by Zak Burke [ 22/Sep/22 ]

This is a little wacky: in fact, we migrated off v2.14.0 back in 2019 (see PR #52) but it continues to creep into builds via UI apps that haven't updated their eslint-config-stripes deps, as seen in ui-calendar in the description here. IOW, the problem is really "UI apps depending on outdated versions of our eslint-conf package" rather than "our eslint-conf package continues to be out of date".

Generated at Thu Feb 08 22:14:35 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.