Created
          January 5, 2018 17:42 
        
      - 
      
- 
        Save bhongy/3817b9b8fad85096039df78e339deae4 to your computer and use it in GitHub Desktop. 
    VSCode Workspace Settings for Flow Projects
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | { | |
| // from: https://gist.github.com/bhongy/3817b9b8fad85096039df78e339deae4 | |
| /* | |
| Suggested VSCode Extensions | |
| - mgmcdermott.vscode-language-babel | |
| - dbaeumer.vscode-eslint | |
| - flowtype.flow-for-vscode | |
| - esbenp.prettier-vscode | |
| Known issues: | |
| - confusing type information when hover on an identifier | |
| due to Typescript leak over. VSCode currently doesn't | |
| support completely disabling Typescript | |
| `typescript.validate.enable` is not enough | |
| https://github.com/Microsoft/vscode/issues/17068 | |
| */ | |
| /* Flow */ | |
| // disable Javascript validation and use flow instead | |
| "javascript.validate.enable": false, | |
| // disable Typescript validation and use flow instead | |
| "typescript.validate.enable": false, | |
| "typescript.disableAutomaticTypeAcquisition": true, | |
| "flow.useNPMPackagedFlow": true | |
| /* Prettier */ | |
| "editor.formatOnSave": false, | |
| // disable Javascript formatting and use prettier-eslint instead | |
| "javascript.format.enable": false, | |
| "prettier.eslintIntegration": true, | |
| /* Flow + Prettier */ | |
| "prettier.parser": "flow", | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment