From 76dc6e80986f5ecd6a3d4a977351e52ea5dd16ce Mon Sep 17 00:00:00 2001 From: Vitali Zaidman Date: Mon, 10 Jun 2024 15:33:59 +0100 Subject: [PATCH] created a vscode workspace file for the repo --- .prettierrc.js | 6 ++++++ react.code-workspace | 30 ++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 react.code-workspace diff --git a/.prettierrc.js b/.prettierrc.js index 6342f131a0cf6..43f9b6671c326 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -14,6 +14,12 @@ module.exports = { parser: 'flow', arrowParens: 'avoid', overrides: [ + { + files: ['*.code-workspace'], + options: { + parser: 'json-stringify', + }, + }, { files: esNextPaths, options: { diff --git a/react.code-workspace b/react.code-workspace new file mode 100644 index 0000000000000..16ff05dce9ef2 --- /dev/null +++ b/react.code-workspace @@ -0,0 +1,30 @@ +{ + "folders": [ + { + "path": "." + } + ], + "extensions": { + "recommendations": [ + "dbaeumer.vscode-eslint", + "editorconfig.editorconfig", + "esbenp.prettier-vscode", + "flowtype.flow-for-vscode" + ] + }, + "settings": { + "search.exclude": { + "**/dist/**": true, + "**/build/**": true, + "**/out/**": true, + "*.map": true, + "*.log": true + }, + "javascript.validate.enable": false, + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "flow.pathToFlow": "${workspaceFolder}/node_modules/.bin/flow", + "prettier.configPath": "", + "prettier.ignorePath": "" + } +}