Skip to content

Linting for 100% style usage #22

@alexlafroscia

Description

@alexlafroscia
  • Generate a test for every style.js file within a pod
    • Specifically don't want to add tests for non-pod style.js files
  • Fail the test suite if an Emotion class is used that does not exist
  • Fail the test suite if there are any classes not consumed in the template
    • This would probably need to be an optional feature (opt out?)
    • If there are any styles defined that are exported by the file but not used in an emotion-class helper, fail the generated test
    • How should would this interact with dynamically setting the value passed into emotion-class?

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions