Skip to content

Setting up VS Code

TJ Silver edited this page Jul 8, 2019 · 10 revisions

VS Code can do inline flow and eslint checks and it's the bees knees and it'll make your life more joyous:

screenshot 2019-02-13 at 10 15 51 am

Extensions

Get eslint, flow language support and jump to alias file from the extension marketplace.

Configuration

Use this workspace.json file to get eslint and flow type checking as you save, while preventing VS Code from auto formatting code wrongly.

{
  "javascript.format.enable": false,
  "eslint.autoFixOnSave": true,
  "eslint.alwaysShowStatus": true,
  "flow.useNPMPackagedFlow": true,
  "flow.runOnAllFiles": true,
  "typescript.format.enable": false,
  "typescript.validate.enable": false,
  "javascript.validate.enable": false,
  "jumpToAliasFile.alias": {
    "react": "preact-compat",
    "react-dom": "preact-compat",
    "ophan": "ophan-tracker-js/build/ophan.support"
  }
}

πŸ™‹β€β™€οΈ General Information

🎨 Client-side 101

βš›οΈ React+Redux

πŸ’° Payment methods

πŸŽ› Deployment & Testing

πŸ“Š AB Testing

🚧 Helper Components

πŸ“š Other Reference

1️⃣ Quickstarts

πŸ›€οΈ Tracking

Clone this wiki locally