# textlint-formatter-codecov

> textlint formatter for codecov json

Latest version **1.0.2** (published 2016-01-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install textlint-formatter-codecov
pnpm add textlint-formatter-codecov
yarn add textlint-formatter-codecov
bun add textlint-formatter-codecov
```

## 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.2 |
| Published | 2016-01-05 |
| First published | 2016-01-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | azu |
| Maintainers | azu |
| Keywords | textlint, formatter |

## Links

- npm: https://www.npmjs.com/package/textlint-formatter-codecov
- Repository: https://github.com/azu/textlint-formatter-codecov
- Issues: https://github.com/azu/textlint-formatter-codecov/issues
- npm.io page: https://npm.io/package/textlint-formatter-codecov

## Dependencies (2)

- [lodash.range](https://npm.io/package/lodash.range.md) ^3.0.1
- [lodash.groupby](https://npm.io/package/lodash.groupby.md) ^3.1.1

## 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
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2016-01-05
- 1.0.1 — 2016-01-05

## README

# textlint-formatter-codecov [![Build Status](https://travis-ci.org/azu/textlint-formatter-codecov.svg?branch=master)](https://travis-ci.org/azu/textlint-formatter-codecov)

[textlint](https://github.com/textlint/textlint "textlint") formatter for [Codecov](https://codecov.io/ "Codecov - Code Coverage").

## What is Codecov format?

See [Codecov JSON](https://gist.github.com/codecov-io/96e1addb96856a9034c2 "Codecov JSON example").

```json
{
  "coverage": {
    "path/to/file.py": [null, 1, 0, null, true, 0, 0, 1, 1],
    "path/to/other.py": [null, 0, 1, 1, "1/3", null]
  },
  "messages": {
    "path/to/other.py": {
      "1": "custom message for line 1"
    }
  }
}
```

## Installation

    npm install textlint-formatter-codecov

## Usage

    # In Travis CI | Circle CI...
    npm install codecov.io textlint textlint-formatter-codecov -D
    textlint -f codecov | codecov.io

See [Example](example/) and [Result](https://codecov.io/github/azu/textlint-formatter-codecov).

- [![codecov.io](https://codecov.io/github/azu/textlint-formatter-codecov/coverage.svg?branch=master)](https://codecov.io/github/azu/textlint-formatter-codecov?branch=master)

```
1: # Example [![codecov.io](https://codecov.io/github/azu/textlint-formatter-codecov/coverage.svg?branch=master)](https://codecov.io/github/azu/textlint-formatter-codecov?branch=master)
2: 
3(✔textlint error): - [ ] TODO 
4:
5(✔textlint error): jQuerl is not jQuery.
6: 
7: Here.
```

- 5 Hit(line)
- 2 Missed(line)

=> 1 - (2/7) = 71.42% = Text Coverage!

## Tests

    npm test

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## License

MIT

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