Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule to make sure opening and closing HTML/JSX tags have the same indentation #1

Open
hem-brahmbhatt opened this issue May 4, 2017 · 0 comments

Comments

@hem-brahmbhatt
Copy link

I couldn't see an existing rule for this.

e.g.

    { withImg(type) && <TeaserImage
      href={url}
      desktopImg={getImage(images.landscape, desktopImg(type))}
      mobileImg={getImage(images.landscape, 'thesun-mobile-medium')}
      label={label}
      hasVideo={hasVideo}
    />
    }

should be

    { withImg(type) && 
    <TeaserImage
      href={url}
      desktopImg={getImage(images.landscape, desktopImg(type))}
      mobileImg={getImage(images.landscape, 'thesun-mobile-medium')}
      label={label}
      hasVideo={hasVideo}
    />
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant