selectorKeyQuote - SpyglassMC/Spyglass GitHub Wiki
🔧 Fixable: violations of this rule can be fixed by Code Actions.
Whether to quote entity selector keys or not.
- (
false): never quotes. - (
true): always quotes.
{
"selectorKeyQuote": null
}kill @e[tag=foo]
kill @e["tag"=foo]{
"selectorKeyQuote": ["warning", false]
}kill @e[tag=foo]kill @e["tag"=foo]{
"selectorKeyQuote": ["warning", true]
}kill @e["tag"=foo]kill @e[tag=foo]This rule was introduced in DHP 2.0.0.