Skip to content

Development Environment

Fernando Dodino edited this page Oct 29, 2023 · 17 revisions

Base development environment

IDE

Visual Studio Code (most recent version) with these extensions

  • Auto Import, steoates
  • ESLint, Microsoft
  • Import Cost, Wix
  • Move TS, tnrich

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

  • (Optional, not needed) Prettier - Code Formatter, Prettier
  • Prettier ESLint, Rebecca Vest

Additional recommended extensions:

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

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 <vXX.YY.ZZ>
Now using node vXX.YY.ZZ

Project

  • Clone this repo locally
  • Go to root folder and download dependencies
npm install
npm run compile # needed before tests
npm test

Running linter locally

Just use the Run menu inside Visual Studio Code (Ctrl + F5):

wollok-linter

Clone this wiki locally