Skip to content

Conversation

@flovilmart
Copy link
Contributor

Because it's awesome!

It's also combined with pre-commit hooks so your code will always be pretty!

@flovilmart flovilmart requested a review from acinader August 30, 2018 15:54
acinader
acinader previously approved these changes Aug 30, 2018
Copy link
Contributor

@acinader acinader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice.

@flovilmart
Copy link
Contributor Author

@acinader no more 'coding style' arguments!

@codecov
Copy link

codecov bot commented Aug 31, 2018

Codecov Report

Merging #5017 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5017      +/-   ##
==========================================
- Coverage   94.28%   94.22%   -0.06%     
==========================================
  Files         121      121              
  Lines        8728     8820      +92     
==========================================
+ Hits         8229     8311      +82     
- Misses        499      509      +10
Impacted Files Coverage Δ
src/LiveQuery/ParseLiveQueryServer.js 86.59% <ø> (+0.04%) ⬆️
src/Controllers/AdaptableController.js 95.83% <ø> (ø) ⬆️
src/Options/parsers.js 100% <ø> (ø) ⬆️
src/LiveQuery/Subscription.js 100% <ø> (ø) ⬆️
src/LiveQuery/ParseCloudCodePublisher.js 100% <ø> (ø) ⬆️
src/Adapters/Storage/Mongo/MongoCollection.js 97.29% <ø> (ø) ⬆️
src/requiredParameter.js 100% <ø> (ø) ⬆️
src/Controllers/AnalyticsController.js 81.81% <ø> (ø) ⬆️
src/Adapters/Auth/meetup.js 88.88% <ø> (ø) ⬆️
src/TestUtils.js 87.5% <ø> (ø) ⬆️
... and 214 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 189cd25...76ea78c. Read the comment docs.

@flovilmart flovilmart merged commit d83a0b6 into master Sep 1, 2018
@flovilmart flovilmart deleted the prettier branch September 1, 2018 17:58
"prettier --write",
"flow",
"eslint --cache ./",
"git add"
Copy link
Contributor

@acinader acinader Oct 2, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@flovilmart a bad side effect of this change is that if you commit with unstaged changes, they'll actually get committed.

for the time being, I have just commented out this hunk from package.json.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No they don’t only the list of files that are staged are passed as an argument.

Husky passes the list of files to the commandsz

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my case, I staged part of a file, but it would end up committing all the changes in the file, not just the parts I staged.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You’re right, still, this feels like a corner case

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can live with it

UnderratedDev pushed a commit to UnderratedDev/parse-server that referenced this pull request Mar 21, 2020
* Adds prettier

* Run lint before tests
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.

3 participants