chore: install @nextcloud/prettier-config, eslint-config-prettier
📝 Summary
- Resolves: #6449
- Install @nextcloud/prettier-config
- Install eslint-config-prettier
- Format code with prettier
@max-nextcloud I have checked through prettier config options. The only way to avoid line break is rising the value of printWidth. The current value is 85. I think it will work?
BTW, we can use // prettier-ignore to ignore formatting for any code block that we don't want to format.
I like the fact that prettier has so little options. Maybe we can briefly discuss on Monday before moving the code over?
@luka-nextcloud What are the next steps here? Do we want to continue or close this?
@max-nextcloud @juliusknorr I will close this PR and open a new one.
- Install
@nextcloud/prettier-configandeslint-config-prettier - Format code with prettier
- Add flow
.github/workflows/lint-prettier.yml - Remove flow
.github/workflows/lint-stylelint.yml