-
Notifications
You must be signed in to change notification settings - Fork 33
blockStateTrailingComma
SPGoding edited this page Apr 26, 2020
·
1 revision
🎨 Stylistic: this is a stylistic rule used by the formatting feature.
Whether there should be a trailing comma after the last key-value pair in block states or not.
- (boolean)
{
"blockStateTrailingComma": false
}
setblock ~ ~ ~ minecraft:stone_button[]
setblock ~ ~ ~ minecraft:stone_button[face=ceiling]
setblock ~ ~ ~ minecraft:stone_button[face=ceiling,]
{
"blockStateTrailingComma": true
}
setblock ~ ~ ~ minecraft:stone_button[]
setblock ~ ~ ~ minecraft:stone_button[face=ceiling,]
setblock ~ ~ ~ minecraft:stone_button[face=ceiling]
This rule was introduced in DHP 2.0.0.