Add an eslint check for compass-components usage in the monorepo

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed

      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

            Assignee:
            Unassigned
            Reporter:
            Sergey Petushkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: