Skip to content

Development Environment

Fernando Dodino edited this page Aug 21, 2021 · 17 revisions

Base development environment

IDE

Visual Studio Code (most recent version) with these extensions

  • Auto Import, steoates
  • ESLint, Dirk Baeumer
  • Import Cost, Wix
  • Move TS, tnrich

Must confirm which of these extension should we use:

  • Jest, Orta
  • Jest Runner, firsttris
  • Test Explorer UI, Holger Benl

Must confirm if we should add Prettier as a formatter for VSCode:

  • Prettier - Code Formatter, Prettier
  • Prettier ESLint, Rebecca Vest

Additional extensions recommended:

  • Local History, xyz
  • GitLens - Git supercharged, Eric Amodio
  • Git History, Don Jayamanne
  • Git Graph, mhutchie
  • TabNine, TabNine

Node

Make sure you are using the right version of node by running this command:

nvm use

This should show something like:

Found '/home/.../wollok-linter/.nvmrc' with version <v15.4.0>
Now using node v15.4.0 (npm v7.0.15)

Project

  • Clone this repo locally
  • Go to root folder and download dependencies
npm i

Running linter locally

Just use the Run menu inside Visual Studio Code:

wollok-linter

Clone this wiki locally