diff --git a/.codeclimate.yml b/.codeclimate.yml deleted file mode 100644 index 49aeb95..0000000 --- a/.codeclimate.yml +++ /dev/null @@ -1,22 +0,0 @@ -version: "2" -checks: - argument-count: - enabled: false - complex-logic: - enabled: false - file-lines: - enabled: false - method-complexity: - enabled: false - method-count: - enabled: false - method-lines: - enabled: false - nested-control-flow: - enabled: false - return-statements: - enabled: false - similar-code: - enabled: false - identical-code: - enabled: false diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml index 0a81a67..dab0fad 100644 --- a/.github/workflows/contributors.yml +++ b/.github/workflows/contributors.yml @@ -6,9 +6,12 @@ on: jobs: contrib-readme-job: runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write name: A job to automate contrib in readme steps: - name: Contribute List - uses: akhilmhdh/contributors-readme-action@v2.0.2 + uses: akhilmhdh/contributors-readme-action@v2.3.11 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index 35c8697..4d510a0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PINGMAN [](https://github.com/dopecodez/pingman/actions) [](https://github.com/dopecodez/pingman/issues) [](https://badge.fury.io/js/pingman) [](https://codeclimate.com/github/dopecodez/pingman/test_coverage) +# PINGMAN [](https://github.com/dopecodez/pingman/actions) [](https://github.com/dopecodez/pingman/issues) [](https://badge.fury.io/js/pingman) [](https://codecov.io/github/dopecodez/pingman) Human-friendly node wrapper for ping utility across platforms. @@ -143,7 +143,7 @@ Before opening a pull request please make sure your changes follow the The project would not be the way it is without these rockstars. - +
| diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..35d6cca --- /dev/null +++ b/codecov.yml @@ -0,0 +1,16 @@ +codecov: + require_ci_to_pass: yes + +coverage: + precision: 2 + round: down + range: "70...100" + +fixes: + - "dist/src/::src/" # Map dist/src/ to src/ + - "dist/test/::test/" # Map dist/test/ to test/ + +comment: + layout: "reach,diff,flags,files,footer" + behavior: default + require_changes: no diff --git a/tsconfig.json b/tsconfig.json index 3b56959..8fa59ab 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,6 +16,7 @@ "resolveJsonModule": true, "esModuleInterop": true, "declaration": true, + "sourceMap": true, "useUnknownInCatchVariables": false }, "include": [ |