-
Notifications
You must be signed in to change notification settings - Fork 34
selectorTrailingComma
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 entity selectors or not.
- (boolean)
{
"selectorTrailingComma": false
}
kill @e[type=!minecraft:player,tag=foo]
kill @e[type=!minecraft:player,tag=foo,]
{
"selectorTrailingComma": true
}
kill @e[type=!minecraft:player,tag=foo,]
kill @e[type=!minecraft:player,tag=foo]
This rule was introduced in DHP 2.0.0.