Skip to content

Webstorm Config

Simon Frank edited this page May 2, 2024 · 1 revision

If you want to use Webstorm as IDE for this project you may set several settings (if Webstorm does not apply them automatically with the checked-in files) so that several actions are automatically executed on save.

  1. Go to your settings (top right corner / Strg + Alt + S)
  2. Navigate to Language & Frameworks > JavaScript > Prettier
  3. Select Automatic Prettier configuration
  4. Navigate to Languages & Framework > JavaScript > Code Quality Tools > ESLint
  5. Select Automatic ESLint configuration
  6. Navigate or Search to Tools / Actions on Save
  7. Activate:
  • Reformat Code
  • Optimize Imports
  • Run code cleanup
  • Run eslint --fix
  • Run Prettier
  1. Click on Apply and Ok

Now you activated automatic Prettier and eslint formatting on save and you're good to go

Clone this wiki locally