Skip to content

strictMotiveCheck

SPGoding edited this page Apr 26, 2020 · 1 revision

Rule Details

⚠️ Diagnostic: this is a diagnostic rule used by the diagnostic feature.

Show diagnostics for painting motives that don't exist in the registry.

  • ("always"): show diagnostics for all unknown IDs
  • ("only-default-namespace"): only show diagnostics for unknown IDs that are under the default namespace (minecraft).

Examples

Default

{
    "strictMotiveCheck": ["warning", "only-default-namespace"]
}

Disabled

{
    "strictMotiveCheck": null
}

History

This rule was introduced in DHP 2.0.0.

Clone this wiki locally