stringQuote - SpyglassMC/Spyglass GitHub Wiki
🔧 Fixable: violations of this rule can be fixed by Code Actions.
Whether to quote string arguments or not.
- (false): only quotes when necessary.
- (true): always quotes.
{
    "stringQuote": null
}datapack enable vanilla
datapack enable "vanilla"
datapack enable "file/xxx.zip"{
    "stringQuote": ["warning", false]
}datapack enable vanilla
datapack enable "file/xxx.zip"datapack enable "vanilla"{
    "stringQuote": ["warning", true]
}datapack enable "vanilla"
datapack enable "file/xxx.zip"datapack enable vanillaThis rule was introduced in DHP 2.0.0.