valid-libc
💼 This rule is enabled in the following configs: ✅ recommended, 📦 recommended-publishable.
The rule checks that, if present, the libc property is a string or an Array of strings.
Examples
Section titled “Examples”{ "libc": { "glibc": true }}{ "libc": ["glibc", "musl"]}{ "libc": "glibc"}Related Rules
Section titled “Related Rules”require-libc- Enforces that thelibcproperty is present.