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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Tech debt
    • None
    • Not Needed

      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.

            Assignee:
            Unassigned
            Reporter:
            Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: