Skip to content

mortnod/mittnord

Repository files navigation

Getting started

  1. Clone project
  2. Run yarn
  3. Copy the .env.local.template to .env.local
  4. Run yarn dev to spin up a local web server

Setting up linting

This repo uses Prettier to automatically improve the formatting of files when you save a file. The setup is a bit different for every editor, so see Prettier's Editor Integration to get instructions on how to activate it for your favorite editor.

Visual Studio Code:

Create .vscode/settings.json and paste the following:

{
  // Activate auto-formatting for all supported files
  "editor.formatOnSave": true,

  // Make sure Prettier is set as default formatter
  "editor.defaultFormatter": "esbenp.prettier-vscode",

  // Fix ESLint, Stylelint and TSLint errors on save
  "editor.codeActionsOnSave": {
    // For ESLint
    "source.fixAll.eslint": true,
    // For TSLint
    "source.fixAll.tslint": true
  },

  // Don't use built in CSS validation.
  // Stylelint will handle the validation.
  "css.validate": false,
  "javascript.validate.enable": false
}

Releases

No releases published

Packages

No packages published