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/lintersh
$ pnpm add -D @ogs-gmbh/lintersh
$ yarn add -D @ogs-gmbh/lintersh
$ bun add -D @ogs-gmbh/linterThe 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.