Comments (4)
@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?
from vscode-react-native.
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.
from vscode-react-native.
In tsconfig.json add this line or set its value to false.
This worked for me.
"forceConsistentCasingInFileNames": false, // Fix for name regex pattern
from vscode-react-native.
Closing as this is an external issue related to the schema - it can be ignored or renamed as appropriate.
from vscode-react-native.
Related Issues (20)
- Remove all Experimental tags for Hermes debugging
- [Feature] Move telematry disable feature to vscode settings HOT 1
- [Feature] Support .cjs metro config file HOT 2
- [Bug] Reload and Show dev menu commands not working on Expo project HOT 1
- Skip extra commas for getting workspace settings HOT 9
- Is it possible to specify arguments to expo start command when debugging? HOT 3
- Fix security vulnerabilities - Bump JSON5 packages
- [Feature] Support react-native and expo doctor in command palette
- [Bug] Breakpoints Aren't Stopping for Expo Dev Client Development Builds in VS Code HOT 4
- Local Variable values not displaying when debugging React Native Windows app in VS Code HOT 7
- Port conflict when debugging with Expo-go HOT 3
- Prepare for 1.13.0
- Debug Android and iOS not working with custom scheme and configuration (iOS) and falvors (android) HOT 7
- [Feature] Add command for expo prebuild directories clean up
- [Feature] Integrate expo prebuild to generate react-native app for android and ios platform
- [Bug] LogCat not Detecting adb correctly on MAC HOT 1
- [Feature] Verify system typescript version for react-native when start RN packager
- [Feature] Add command to reopen QR code in webview for expo application
- [Bug] Cannot find module @react-native-community/cli-platform-ios/build/config/findXcodeProject in react-native 0.74.0 while debugging iOS
- [Bug] An error occurred while launching the application. Not all success pattern were matched while launching iOS for react-native 0.74.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-react-native.