# auto-git-lint

> 1. install global ```sh yarn add global auto-git-lint #yarn npm install auto-git-lint -g #npm ```

Latest version **1.0.12** (published 2022-05-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install auto-git-lint
pnpm add auto-git-lint
yarn add auto-git-lint
bun add auto-git-lint
```

Provides the command `auto-lint`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.12 |
| Published | 2022-05-21 |
| First published | 2022-04-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 16 |
| Unpacked size | 12.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | gang |
| Maintainers | wuyonggang100 |
| Keywords | auto, lint, husky |

## Links

- npm: https://www.npmjs.com/package/auto-git-lint
- Repository: https://github.com/wuyonggang100/auto-lint
- Homepage: https://github.com/wuyonggang100/auto-lint#readme
- Issues: https://github.com/wuyonggang100/auto-lint/issues
- npm.io page: https://npm.io/package/auto-git-lint

## Dependencies (16)

- [ora](https://npm.io/package/ora.md) ^5.1.1
- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [husky](https://npm.io/package/husky.md) ^7.0.4
- [eslint](https://npm.io/package/eslint.md) ^7.1.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^10.0.0
- [prettier](https://npm.io/package/prettier.md) ^2.6.2
- [commander](https://npm.io/package/commander.md) ^9.0.0
- [typescript](https://npm.io/package/typescript.md) ^4.5.4
- [lint-staged](https://npm.io/package/lint-staged.md) ^12.3.7
- [@commitlint/cli](https://npm.io/package/@commitlint/cli.md) ^16.2.3
- [eslint-plugin-vue](https://npm.io/package/eslint-plugin-vue.md) ^8.6.0
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.5.0
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^4.0.0
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^5.18.0
- [@commitlint/config-conventional](https://npm.io/package/@commitlint/config-conventional.md) ^16.2.1
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^5.18.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 1.0.12 (latest) — 2022-05-21
- 1.0.11 — 2022-05-20
- 1.0.10 — 2022-04-19
- 1.0.9 — 2022-04-10
- 1.0.8 — 2022-04-10
- 1.0.7 — 2022-04-08
- 1.0.6 — 2022-04-08
- 1.0.5 — 2022-04-08
- 1.0.4 — 2022-04-07
- 1.0.3 — 2022-04-07
- 1.0.2 — 2022-04-07
- 1.0.1 — 2022-04-07
- 1.0.0 — 2022-04-07

## README

## install
1. install global
```sh
yarn add global auto-git-lint #yarn
npm install auto-git-lint -g #npm
```

2. install in your project
```sh
yarn add auto-git-lint -D #yarn
npm install add auto-git-lint -D #npm
```

## use in your project
```sh
auto-lint
```



支持 ts， js， jsx 

说明：

- eslint：ESLint的核心代码库；
- @typescript-eslint/parser：解析器，让ESLint拥有规范TypeScript代码的能力；

- @typescript-eslint/eslint-plugin：插件，包含一系列TypeScript的ESint规则。

  

- prettier：Prettier的核心代码库；

- eslint-config-prettier：用于禁用与Prettier有冲突的ESLint规则；

- eslint-plugin-prettier：将Prettier作为ESLint的规则来运行。这样就可以通过ESLint的`--fix`来自动修复代码了

---
_Source: https://npm.io/package/auto-git-lint · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
