Format frontend projects with prettier#2769
Conversation
e43be6b to
92c1164
Compare
b1acdb3 to
f6c8ee4
Compare
carlobeltrame
left a comment
There was a problem hiding this comment.
Shouldn't we also give some formatting love to the react components?
|
@carlobeltrame in which form? :D |
|
Ah! My phone didn't show me all changed files I think. Looks great 👍 |
|
When i run lint:check locally, i get >5000 problems. And the github actions also passes on my changes...? https://github.com/BacLuc/ecamp3/runs/6810618861?check_suite_focus=true |
|
This could be connected to https://prettier.io/docs/en/rationale.html#multi-line-objects and a different printWidth somehow set. |
I thought i understand eslint and prettier, but i don't. |
c9f130a to
1c35f41
Compare
1c35f41 to
c210e54
Compare
|
@BacLuc does this work for you now? |
|
🙄 ui, many merge conflicts this will create... I'm not sure this PR works as expected. I tried to merge into #2683, with the intention to accept all my changes in the merge conflicts and then re-run lint. Following is observed:
|
|
Sorry for the inconvenience, I did intend for you to review before merging. As for the rest, I'm not sure why the linting has no effect. It could be an installation issue. Because yesterday when I pulled develop into this, and forgot to do the linting, it correctly showed the same errors as local. |
Fixes #2749