Content-Length: 1084040 | pFad | https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/142

68 Rule proposal: jsx-curly-spacing · Issue #142 · jsx-eslint/eslint-plugin-react · GitHub
Skip to content

Rule proposal: jsx-curly-spacing #142

@moretti

Description

@moretti

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}
/>

Metadata

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









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/142

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy