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

chore: add formatter config to repo #6700

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

sissbruecker
Copy link
Contributor

Currently we reference the formatter config from the Flow Github project. That has some downsides:

  • Changes to the config are out of our control, and if it changes (as is happening right now) all PRs are blocked until we create a PR for updating the formatting
  • It does not work offline

This adds a duplicate of the config to our repo so that we are not affected by changes in the Flow repo. We can try to sync. the configs from time to time.

Copy link

sonarcloud bot commented Oct 8, 2024

@@ -450,7 +450,7 @@
<configuration>
<java>
<eclipse>
<file>https://raw.githubusercontent.com/vaadin/flow/main/eclipse/VaadinJavaConventions.xml</file>
<file>${maven.multiModuleProjectDirectory}/eclipse/VaadinJavaConventions.xml</file>
Copy link
Contributor

@knoobie knoobie Oct 8, 2024

Choose a reason for hiding this comment

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

Ensure to also include the .mvn file Artur has added.. it might sound "stupid" but it's really needed.. had to deal with it in the past in multiple occasions

Edit: nvm this repo already has this folder 👍

@sissbruecker sissbruecker merged commit 2e0c2b8 into main Oct 9, 2024
5 checks passed
@sissbruecker sissbruecker deleted the chore/move-formatter-config-to-repo branch October 9, 2024 08:44
vaadin-bot pushed a commit that referenced this pull request Oct 9, 2024
vaadin-bot pushed a commit that referenced this pull request Oct 9, 2024
vaadin-bot pushed a commit that referenced this pull request Oct 9, 2024
sissbruecker added a commit that referenced this pull request Oct 9, 2024
sissbruecker added a commit that referenced this pull request Oct 9, 2024
sissbruecker added a commit that referenced this pull request Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants