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

Update prettier to be CI-friendly #55

Merged
merged 3 commits into from
May 18, 2018
Merged

Update prettier to be CI-friendly #55

merged 3 commits into from
May 18, 2018

Conversation

timleslie
Copy link
Contributor

This PR factors out prettier_lint (as distinct from format and lint) to allow it to be run in isolation on Circle CI.

This allows for more specific failure reporting on Circle CI and gives devs the flexibility to run eslint and prettier as separate scripts if desired.

We also remove the specific lint_ci and jest_ci scripts and move their functionality into .circleci/config.yml, which keeps all the details of where they send their output in a single location.

We also update all the existing code to be prettier-compliant.

Finally, we add a Circle CI badge to the README so we can all feel good about our tests passing 🎉

@timleslie timleslie requested a review from JedWatson May 18, 2018 01:22
@jesstelford
Copy link
Contributor

Mind if we merge keystonejs/keystone-5#49 first? There'll be a lot of conflicts otherwise.

@jesstelford jesstelford merged commit 881a85f into master May 18, 2018
@jesstelford jesstelford deleted the prettier-ci branch May 18, 2018 02:49
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

Successfully merging this pull request may close these issues.

2 participants