Includes CRA (React + Jest) Eslint Prettier Flow Styled Components React-Router
VS Code Install the following
- Eslint
- Prettier-Eslint
- Flow Language Support,
- Babel ES6/ES7
Use the following config
{
"editor.fontSize": 13,
"editor.tabSize": 2,
"editor.renderIndentGuides": true,
"eslint.autoFixOnSave": true,
"editor.formatOnSave": true,
"editor.cursorBlinking": "phase",
"window.openFilesInNewWindow": "on",
"explorer.openEditors.visible": 0,
"javascript.validate.enable": false,
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true
// "**/node_modules": true
},
"git.confirmSync": false,
"window.zoomLevel": 0,
"flow.useNPMPackagedFlow": true, // use node_module flow
"javascript.format.enable": false,
"typescript.check.npmIsInstalled": false, // prettier
"prettier.semi": false,
"prettier.singleQuote": true
}