diff --git a/doc/files/package.json.md b/doc/files/package.json.md index dd6492af08430..730a33eb9bcd8 100644 --- a/doc/files/package.json.md +++ b/doc/files/package.json.md @@ -23,7 +23,8 @@ Some rules: * The name must be less than or equal to 214 characters. This includes the scope for scoped packages. -* The name can't start with a dot or an underscore. +* The name can't start with a dot or an underscore if the package name does not + include a scope. * New packages must not have uppercase letters in the name. * The name ends up being part of a URL, an argument on the command line, and a folder name. Therefore, the name can't contain any non-URL-safe characters.