Skip to content

Getting started

Installation

Prerequisites

  • Node.js version 18 or higher.
  • One of many of the supported linters
  • A package manager: e.g. npm, pnpm, ...
sh
$ npm add -D @ogs-gmbh/linter
sh
$ pnpm add -D @ogs-gmbh/linter
sh
$ yarn add -D @ogs-gmbh/linter
sh
$ bun add -D @ogs-gmbh/linter

The linter gets configured after the command has been run successfully.

Configure

Each preset requires a given set of dependencies to supply rules to their linter, before getting it to work.

Check out our setup guides. They provide step-by-step instructions on how to configure each linter for specific tasks.