Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kuy/acot-reporter-slack

A Slack reporter for acot.
https://github.com/kuy/acot-reporter-slack

a11y accessibility acot audit

Last synced: 16 days ago
JSON representation

A Slack reporter for acot.

Awesome Lists containing this project

README

        

# acot-reporter-slack

NPM Status
[![CI](https://github.com/kuy/acot-reporter-slack/actions/workflows/ci.yml/badge.svg)](https://github.com/kuy/acot-reporter-slack/actions/workflows/ci.yml)

A Slack reporter for [acot](https://github.com/acot-a11y/acot).

## Usage

### Installation

Install via npm:

```bash
$ npm install --save acot-reporter-slack
```

Install via yarn:

```bash
$ yarn add acot-reporter-slack
```

### Configuration

```javascript
module.exports = {
reporter: {
use: "slack",
with: {
url: "https://hooks.slack.com/services/XXX/XXX/XXX",
},
},
};
```

- `url`: URL of Slack's incoming webhook **(Required)**

## Development

### TODOs

- [x] Minimum notification
- [x] Provide option to configure Slack's incoming webhook URL
- [x] Report summary by rules
- [ ] Decorate notification using [Block Kit](https://api.slack.com/block-kit)
- [ ] Options to specify events of notification

### Release

1. Bump version in `package.json`
2. Commit with message `Release x.x.x` and push to `main` branch
3. GitHub Actions publishes new version to NPM automatically