[@player-tools/json-language-service] DuplicateIdPlugin: Template Support #91
Labels
bug
Something isn't working
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
patch
Increment the patch version when merged
Is your feature request related to a problem? Please describe.
The existing
DuplicateIdPlugin
only errors for IDs that are hardcoded the same, content templates, or nested templates, may produce duplicate IDs in assets if the_indexN_
replacement is not used in the identifier.Describe the solution you'd like
The
DuplicateIdPlugin
should throw errors if an ID in a template does not use the_indexN_
replacement in identifiers for template content.Additional context
For nested templates, may need to ensure the ID contains the
_indexN_
replacement for all the template levels above itThe text was updated successfully, but these errors were encountered: