Skip to content

Rule proposal: jsx-curly-spacing #142

Closed
@moretti

Description

This is similar to object-curly-spacing.

There are two main options for the rule:

  • "always" enforces a space inside of curly braces
<Component
  foo={ prop1 }
  bar={ prop2 }
/>
  • "never" disallows spaces inside of curly braces
<Component
  foo={prop1}
  bar={prop2}
/>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions