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

Prevent merges when styling does not pass #142

Closed
raingerber opened this issue Jan 11, 2018 · 1 comment
Closed

Prevent merges when styling does not pass #142

raingerber opened this issue Jan 11, 2018 · 1 comment

Comments

@raingerber
Copy link
Contributor

raingerber commented Jan 11, 2018

Problem description:

Branches that do not pass the prettier + standard linting can still be merged to master.

Suggested solution:

In addition to running our test suite, Travis should reject pull requests that still have formatting issues. This could be a script that runs prettier-standard, then runs git status and only approves the PR if no files have been changed.

@acatl acatl assigned acatl and unassigned acatl Jan 12, 2018
@acatl acatl changed the title Prevent merges when linting does not pass Prevent merges when styling does not pass Jan 12, 2018
@victorsingh
Copy link
Contributor

I'll give this one a try

victorsingh added a commit to victorsingh/data-point that referenced this issue Jan 30, 2018
victorsingh added a commit to victorsingh/data-point that referenced this issue Feb 1, 2018
@acatl acatl closed this as completed in 55ce9d6 Feb 1, 2018
victorsingh pushed a commit to victorsingh/data-point that referenced this issue Feb 13, 2018
Added is-it-pretty.sh script for travis-ci to check if there are files not passing prettier-standard

closes ViacomInc#142
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants