[COMPASS-5536] Add an eslint check for compass-components usage in the monorepo Created: 24/Feb/22  Updated: 24/Feb/22

Status: Open
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Sergey Petushkov Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones COMPASS-5421 Introduce a check in the monorepo tha... Closed
Documentation Changes: Not Needed

 Description   

Follow-up to COMPASS-5421. I initially opened it to have an eslint check set up for that so that we can immediately see the issue when writing code, not only a CI failure that reacts on the dependency list of the package. This ticket is to finish the POC that I already have as an addition to the check that was added.

Things to do in POC

  • Align the license in the package.json of the new package
  • Add a few tests
  • Check for @emotion usage in addition to checking for @leafygreen usage

See https://github.com/mongodb-js/compass/pull/2820


Generated at Wed Feb 07 22:39:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.