Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/diplodoc-platform/lint


https://github.com/diplodoc-platform/lint

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

[![NPM version](https://img.shields.io/npm/v/@diplodoc/lint.svg?style=flat)](https://www.npmjs.org/package/@diplodoc/lint)

# @diplodoc/lint

Diplodoc platform internal utility set for linting

## Install

```
npm install --save-dev @diplodoc/lint
```

## Usage

Add initial configuration

```sh
npx @diplodoc/lint init
git add --all && git commit -m 'chore: init lint'
```

Run lint

```sh
npm run lint
```

Run lint in fix mode

```sh
npm run lint:fix
```