Skip to content

Commit

Permalink
docs: add code coverage calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-io committed Jul 21, 2024
1 parent dfdead4 commit e58e758
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,8 @@ jobs:

- name: Test
run: pnpm test:unit

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 4 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
width="160"
/>

[![Version](https://img.shields.io/npm/v/eslint-plugin-perfectionist.svg?color=4a32c3)](https://www.npmjs.com/package/eslint-plugin-perfectionist)
[![GitHub license](https://img.shields.io/badge/license-MIT-4a32c3.svg)](https://github.com/azat-io/eslint-plugin-perfectionist/blob/main/license)
[![Version](https://img.shields.io/npm/v/eslint-plugin-perfectionist.svg?color=4a32c3&labelColor=1f0067)](https://npmjs.com/package/eslint-plugin-perfectionist)
[![Monthly Download](https://img.shields.io/npm/dm/eslint-plugin-perfectionist.svg?color=4a32c3&labelColor=1f0067)](https://npmjs.com/package/eslint-plugin-perfectionist)
[![Code Coverage](https://img.shields.io/codecov/c/github/azat-io/eslint-plugin-perfectionist.svg?color=4a32c3&labelColor=1f0067)](https://npmjs.com/package/eslint-plugin-perfectionist)
[![GitHub License](https://img.shields.io/badge/license-MIT-232428.svg?color=4a32c3&labelColor=1f0067)](https://github.com/azat-io/eslint-plugin-perfectionist/blob/main/license)

ESLint plugin that sets rules to format your code and make it consistent.

Expand Down

0 comments on commit e58e758

Please sign in to comment.