-
-
Notifications
You must be signed in to change notification settings - Fork 114
Indentation issues since 2.3.0 #601
Copy link
Copy link
Closed
Labels
$$ bug-bounty $$https://www.jhipster.tech/bug-bounties/https://www.jhipster.tech/bug-bounties/$100https://www.jhipster.tech/bug-bounties/https://www.jhipster.tech/bug-bounties/area: bug 🐛Something isn't workingSomething isn't working
Description
Prettier-Java 2.3.0
{
"useTabs": false,
"trailingComma": "none",
"printWidth": 100,
"tabWidth": 2,
"plugins": ["prettier-plugin-java"],
"overrides": [
{ "files": "*.java", "options": { "tabWidth": 4 } }
]
}
Input:
fileSystemDetails =
FileHandlerDetails
.builder()
.fileSystemType(
EntityUtils.update(
entity.getFileSystemDetails().getFileSystemType(),
update.getFileSystemDetails().getFileSystemType()
)
)Output:
fileSystemDetails =
FileHandlerDetails
.builder()
.fileSystemType(
EntityUtils.update(
entity.getFileSystemDetails().getFileSystemType(),
update.getFileSystemDetails().getFileSystemType()
)
)Expected behavior:
The input should stay the same.
Workaround:
Stay on v2.2.0.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
$$ bug-bounty $$https://www.jhipster.tech/bug-bounties/https://www.jhipster.tech/bug-bounties/$100https://www.jhipster.tech/bug-bounties/https://www.jhipster.tech/bug-bounties/area: bug 🐛Something isn't workingSomething isn't working