I am trying out VSCode on an existing project that uses npm and has a package.json file with a corresponding \"name:\" key that reads \"SpecPro-File-Management-UI\". VSCode is o
This behavior is by design to enforce NPM conventions for the package.json file (to paraphrase, "lower-case only"). I agree it is a nuisance, especially since the project name is often pre-filled, e.g. by "create-react-app". As you point out, it is possible to create a custom schema to ignore this, but it's really not recommended. There isn't any alternative at this time. Myself, I just change the value to lower-case.
Use name field value in lowercase separated by hyphen (-).