Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Coding Guidelines

Table of contents

Extensions Installation

Download extensions-0.0.1 from MIM UI Teams and install them from VSIX file:

Unbenannt.JPG

Set Pre-Commit Hook

  • If we already have Dev Environment we should:
    1. Download Coding Guidelines File from Teams
    2. Copy .prettierrc, package.json files in UI Customisation Project
    3. Execute yarn in UI Customisation Project
  • If we are setting up new Dev Environment we don’t have to do the steps above - just dont forget to execute yarn in UI Customisation Project!

Set Format OnSave

Add these lines to setting.json: ` “editor.defaultFormatter”: “esbenp.prettier-vscode”, “editor.formatOnSave”: true`

image.png