# @giact/eslint-formatter-github-annotations

> An ESLint formatter to report as GitHub Checks annotations

Latest version **0.1.2** (published 2022-07-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @giact/eslint-formatter-github-annotations
pnpm add @giact/eslint-formatter-github-annotations
yarn add @giact/eslint-formatter-github-annotations
bun add @giact/eslint-formatter-github-annotations
```

Provides the command `prettier-formatter-github`.

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2022-07-07 |
| First published | 2022-07-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 12.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | engineering@able.co |
| Maintainers | giact |
| Keywords | eslint, eslint-formatter, eslintformatter, prettier-formatter, github-actions |

## Links

- npm: https://www.npmjs.com/package/@giact/eslint-formatter-github-annotations
- Repository: https://github.com/giact/eslint-formatter-github-annotations
- Homepage: https://github.com/giact/eslint-formatter-github-annotations#readme
- Issues: https://github.com/giact/eslint-formatter-github-annotations/issues
- npm.io page: https://npm.io/package/@giact/eslint-formatter-github-annotations

## 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

- 0.1.2 (latest) — 2022-07-07
- 0.1.1 — 2022-07-06
- 0.1.0 — 2022-07-06

## README

# @giact/eslint-formatter-github-annotations

An [ESLint](https://eslint.org/) formatter to report as GitHub Checks annotations with a bonus command line tool to format [Prettier](https://prettier.io/) output as GitHub Checks annotations.

## Usage

1. Add `@giact/eslint-formatter-github-annotations` to your dependencies:

   ```shell
   npm install --save-dev @giact/eslint-formatter-github-annotations
   ```

2. Create a GitHub action workflow with this formatter:

   ```yaml
   name: Lint
   on:
     pull_request:
   jobs:
     eslint:
       runs-on: ubuntu-latest
       steps:
         - uses: actions/checkout@v3
         - uses: actions/setup-node@v3
           with:
             node-version: 18
             cache: npm
         - run: npm ci
         - name: Prettier
           run: npx prettier --list-different . | npx prettier-formatter-github
         - name: ESLint
           if: always()
           run: npx eslint -f @giact/eslint-formatter-github-annotations .
   ```

## Testing

```shell
npm run test
```

## Contributing

Contributions are welcome. Please check out the [Contributing guide](CONTRIBUTING.md) for the guidelines you need to follow.

Please read our [Code of Conduct](CODE_OF_CONDUCT.md) so that you can understand the kind of respectful behavior we expect of all participants.

## License

Open Source Project is released under the MIT license. See [LICENSE](LICENSE) for the full license text.

---
_Source: https://npm.io/package/@giact/eslint-formatter-github-annotations · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
