Support for require-pragma option (Issue #573 closed with #574)
Thanks to @yannick-paz for the contribution !
// Input
/**
* @prettier
*/
public class Example { private int test=-1;}
// Output with require-pragma option activated
/**
@prettier
*/
public class Example {
private int test = -1;
}
// Input
public class Example { private int test=-1;}
// Output with require-pragma option activated
public class Example { private int test=-1;}
Fixes
Break long assignments after equals (Issue #527 closed with #564)
Thanks to @jtkiesel for the fix !
// Input
class Example {
void example() {
Object aParticularlyLongAndObnoxiousNameForIllustrativePurposes = new Object()
.someMethod();
Object[] aParticularlyLongAndObnoxiousNameForIllustrativePurposes2 = new Object[] {
new Object(),
new Object()
};
Object aParticularlyLongAndObnoxiousNameForIllustrativePurposes3 = SomeClass.someStaticMethod();
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps prettier-plugin-java from 0.8.3 to 2.1.0.
Release notes
Sourced from prettier-plugin-java's releases.
... (truncated)
Changelog
Sourced from prettier-plugin-java's changelog.
... (truncated)
Commits
28084f4
Publishe27fa26
chore: update CHANGELOGa010f01
chore: upgrade to prettier 2.8.43358ada
break long assignments after equals3bb0653
Added support for require-pragma option (#574)fbb3bc9
chore: remove broken test repository (#576)cc37310
Merge pull request #572 from jhipster/copyright-date-update5e76f36
Merge pull request #571 from jhipster/add_copyright_script539e994
Remove pull_request workflow00aed26
Update copyright headersDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)