Skip to content

Commit

Permalink
chore(vscode): ease flow usage (#4569)
Browse files Browse the repository at this point in the history
* chore(vscode): ease flow usage

Following https://github.com/flowtype/flow-for-vscode#setup they recommend setting `"javascript.validate.enable": false` in workspace settings, otherwise I get errors like "... can only be used in a .ts file".

As I am new to flow and vscode I might be wrong, let me know vscode users contributing to Jest how it works for you today?

* Update settings.json
  • Loading branch information
vvo authored and cpojer committed Sep 30, 2017
1 parent e81f1fb commit cfe1a9a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
{
"jest.pathToJest": "yarn jest --",
"editor.rulers": [80],
"files.exclude": {
"**/.git": true,
"**/node_modules": true,
"**/build": true
},
"editor.formatOnSave": true,
"flow.useNPMPackagedFlow": true,
"javascript.validate.enable": false,
"jest.pathToJest": "yarn jest --",
"prettier.eslintIntegration": true,
"prettier.parser": "flow",
"prettier.printWidth": 80,
"prettier.singleQuote": true,
"prettier.trailingComma": "all",
"prettier.semi": true,
"editor.formatOnSave": true,
"prettier.eslintIntegration": true
"prettier.singleQuote": true,
"prettier.trailingComma": "all"
}

0 comments on commit cfe1a9a

Please sign in to comment.