https://github.com/diplodoc-platform/lint
https://github.com/diplodoc-platform/lint
Last synced: 3 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 (10 months ago)
- Default Branch: master
- Last Pushed: 2025-01-29T16:56:07.000Z (4 months ago)
- Last Synced: 2025-01-29T17:35:57.788Z (4 months ago)
- Language: JavaScript
- Size: 445 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
[](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
```