valid-config
💼 This rule is enabled in the following configs: ✅ recommended, 📦 recommended-publishable.
The rule checks that, if present, the config property is an object.
Examples
Section titled “Examples”{ "config": "config.json"}{ "config": { "name": "foo", "port": "8080" }}Related Rules
Section titled “Related Rules”require-config- Enforces that theconfigproperty is present.