Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5995

Create eslint rule to catch hardcoded colors, spacings and font sizes

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • No version
    • None
    • Tech debt
    • None
    • Not Needed

    Description

      No matter how much effort we put into code reviews, we still have a number of hardcoded pixel spacings and font sizes.

      We want to create one or more eslint rules to enforce the guidelines that we agreed upon on our Components Conventions document:

      • Components only use variables for colors, font sizes, etc.
      • Components only use LeafyGreen variables for colors, typography, and spacings.

      Attachments

        Activity

          People

            Unassigned Unassigned
            maurizio.casimirri@mongodb.com Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: