Improve README

It seemed at first like it didn't work at all, but this is the steps to reproduce a working set: 1. Using VSCode 1.5x.x (User setup), (in a custom Vue project) 2. Installed extension Prettier ESLint 3.0.2 by Rebecca Vest 3. Installed extension ESLint 2.1.20 by Dirk Baeumer 4. Installed extension Prettier 6.4.0 by Prettier 5. Closed all VSCode processes 6. Installed the @Latest dev dependencies @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint, prettier, prettier-eslint, typescript 7. (optional) Installed eslint-plugin-vue because my project uses Vue (Insert your ESLint dependencies for your frameworks/libraries here, if any) 8. Ran eslint --init to create the .eslintrc.json 9. Started VSCode 10. Opened a .ts file in the src/ folder 11. Changed default formatter to Prettier ESLint 12. It is now reporting linting errors in file and formatter runs autofix when formatting.

Error: Cannot find module

  1. Quit and restart Visual Studio Code
  2. If restarting did not work:
    • Make sure you have eslint@6.8 and prettier@1.9.1` installed locally (global installations don't work sometimes)
    • Repeat Step 1.

Installation Steps

The Prettier extension is not required.

  1. In your project, install eslint@6.8.0 and prettier@1.9.1
  2. If your projects uses Typescript, install @typescript-eslint/parser
  3. If your projects uses Vue, install vue-eslint-parser
  4. Install the extension
  5. To have lint errors show install the ESLint extension.
  6. Quit VS Code
  7. Restart VS Code

Once installed, open a JavaScript file. Press SHIFT + OPTION + F (macOS) or SHIFT + ALT + F (Windows/Linux) to format a file.

Edited by Rebecca Vest