SPFX Pretty

Home › How to fix › Defaults

DEF001Auto-fix

Default property value is a raw name

Why it matters

preconfiguredEntries.properties are the values every new web part starts with - "HelloWorld" shows on the page straight away.

How to fix

  1. Apply the suggested value, or set a sensible default in the manifest.
BEFORE
"description": "HelloWorld"
AFTER
"description": "Hello World"
In VS Code: right-click the finding → Apply Fix…, or use ▶ Fix step by step in the report.