Handle "missing key" errors separately

This commit is contained in:
Misode
2024-10-24 18:39:13 +02:00
parent a3faa4a3c9
commit f49202c160
3 changed files with 27 additions and 7 deletions

View File

@@ -197,6 +197,13 @@ export class SpyglassService {
},
lint: {
idOmitDefaultNamespace: false,
undeclaredSymbol: [
{
if: { category: ['bossbar', 'objective', 'team'] },
then: { declare: 'block' },
},
...core.VanillaConfig.lint.undeclaredSymbol as any[],
],
},
}),
initializers: [mcdoc.initialize, initialize],