Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diplodoc-platform/lint
https://github.com/diplodoc-platform/lint
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/diplodoc-platform/lint
- Owner: diplodoc-platform
- License: mit
- Created: 2024-08-10T21:55:39.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-09-17T11:09:58.000Z (3 months ago)
- Last Synced: 2024-09-17T13:57:50.304Z (3 months ago)
- Language: JavaScript
- Size: 376 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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
```