Is there an existing issue for this?
This is a CLI Docs Enhancement, not another kind of Docs Enhancement.
Description of Problem
In the "Files" section, prefix is used as an example of parameter that can be set in the for places mentioned above.
However, trying to set the prefix parameter in the per-project (/path/to/my/project/.npmrc) config file will result in an error from the cli, and will be ignored.
Potential Solution
The cli seems to have an explicit check for the exact combination of per-project config and this particular parameter, so picking a different parameter that doesn't have this kind of restriction would be the easiest.
Docs URL
https://docs.npmjs.com/cli/v10/configuring-npm/npmrc