Intellisense for package.json is showing a warning for the name of my project that it does not match some Regex pattern that is required.
Expected:
The package name should not have warnings
By default, vscode uses the json schema from http://json.schemastore.org/package for validating package.json files. The validation specified there states that package names must not include capital letters, which is why it is complaining.
If you want to override the schema that vscode uses for validation, you can refer to https://code.visualstudio.com/Docs/languages/json#_json-schemas-settings for how to override the default schema.
@MSLaguana Maybe we should have the extension override the schema. A lot of users are going to run into this behavior, if we want to support React-Native inside VS Code we shouldn't show an error on that file if there isn't one. What do you think?
Closing as this is an external issue related to the schema - it can be ignored or renamed as appropriate.
Most helpful comment
By default, vscode uses the json schema from http://json.schemastore.org/package for validating package.json files. The validation specified there states that package names must not include capital letters, which is why it is complaining.
If you want to override the schema that vscode uses for validation, you can refer to https://code.visualstudio.com/Docs/languages/json#_json-schemas-settings for how to override the default schema.