-
Notifications
You must be signed in to change notification settings - Fork 24.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Format code-workspace file, clarify use of .vscode/ dir (#44874)
Summary: Pull Request resolved: #44874 While reviewing facebook/react#29830, I noticed this file was committed with tab indentation in React Native. I have also used the `.gitignore` entry to clarify how `react-native.code-workspace` interacts with an optional user `.vscode/` config directory. Note: The `json-stringify` parser can be used with Prettier 3+ only, so we use `json` instead. Changelog: [Internal] Reviewed By: vzaidman Differential Revision: D58413581 fbshipit-source-id: 58c14db6648fed10736062b1f055475154aa74a4
- Loading branch information
1 parent
8597727
commit 53dda9e
Showing
3 changed files
with
29 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"path": "." | ||
} | ||
], | ||
"extensions": { | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint", | ||
"editorconfig.editorconfig", | ||
"esbenp.prettier-vscode", | ||
"flowtype.flow-for-vscode" | ||
], | ||
}, | ||
"settings": { | ||
"editor.formatOnSave": true, | ||
"flow.pathToFlow": "${workspaceFolder}/node_modules/.bin/flow", | ||
"javascript.validate.enable": false | ||
} | ||
"folders": [ | ||
{ | ||
"path": "." | ||
} | ||
], | ||
"extensions": { | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint", | ||
"editorconfig.editorconfig", | ||
"esbenp.prettier-vscode", | ||
"flowtype.flow-for-vscode" | ||
] | ||
}, | ||
"settings": { | ||
"editor.formatOnSave": true, | ||
"flow.pathToFlow": "${workspaceFolder}/node_modules/.bin/flow", | ||
"javascript.validate.enable": false | ||
} | ||
} |