Skip to content

Commit c278e82

Browse files
0.0.10 Release
* chore(release): prepare next release * npm: bump @typescript-eslint/eslint-plugin from 3.4.0 to 3.5.0 Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 3.4.0 to 3.5.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.5.0/packages/eslint-plugin) Signed-off-by: dependabot[bot] <[email protected]> * npm: bump @typescript-eslint/parser from 3.4.0 to 3.5.0 Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.4.0 to 3.5.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.5.0/packages/parser) Signed-off-by: dependabot[bot] <[email protected]> * npm: bump typescript from 3.9.5 to 3.9.6 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.5 to 3.9.6. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/commits) Signed-off-by: dependabot[bot] <[email protected]> * npm: bump eslint from 7.3.1 to 7.4.0 Bumps [eslint](https://github.com/eslint/eslint) from 7.3.1 to 7.4.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](eslint/eslint@v7.3.1...v7.4.0) Signed-off-by: dependabot[bot] <[email protected]> * npm: bump eslint-plugin-jest from 23.17.1 to 23.18.0 Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 23.17.1 to 23.18.0. - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md) - [Commits](jest-community/eslint-plugin-jest@v23.17.1...v23.18.0) Signed-off-by: dependabot[bot] <[email protected]> * npm: bump @typescript-eslint/parser from 3.5.0 to 3.6.0 Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.5.0 to 3.6.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.6.0/packages/parser) Signed-off-by: dependabot[bot] <[email protected]> * npm: bump @types/jest from 26.0.3 to 26.0.4 Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.3 to 26.0.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) Signed-off-by: dependabot[bot] <[email protected]> * npm: bump @types/node from 14.0.14 to 14.0.18 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.14 to 14.0.18. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] <[email protected]> * npm: bump @typescript-eslint/eslint-plugin from 3.5.0 to 3.6.0 Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 3.5.0 to 3.6.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.6.0/packages/eslint-plugin) Signed-off-by: dependabot[bot] <[email protected]> * npm: bump @types/node from 14.0.18 to 14.0.19 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.18 to 14.0.19. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] <[email protected]> * npm: bump @types/node from 14.0.19 to 14.0.20 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.19 to 14.0.20. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] <[email protected]> * refactor(build): use correct env variable * refactor(dependencies): dependencies check weekly * npm: bump @types/node from 14.0.20 to 14.0.23 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.20 to 14.0.23. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] <[email protected]> * npm: bump @typescript-eslint/parser from 3.6.0 to 3.6.1 Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.6.0 to 3.6.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.6.1/packages/parser) Signed-off-by: dependabot[bot] <[email protected]> * npm: bump @typescript-eslint/eslint-plugin from 3.6.0 to 3.6.1 Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 3.6.0 to 3.6.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.6.1/packages/eslint-plugin) Signed-off-by: dependabot[bot] <[email protected]> * npm: bump typescript from 3.9.6 to 3.9.7 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.6 to 3.9.7. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v3.9.6...v3.9.7) Signed-off-by: dependabot[bot] <[email protected]> * npm: bump ts-jest from 26.1.1 to 26.1.3 Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.1.1 to 26.1.3. - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md) - [Commits](kulshekhar/ts-jest@v26.1.1...v26.1.3) Signed-off-by: dependabot[bot] <[email protected]> * chore(dependencies): update dependencies * chore(quality): add codacy config * chore(quality): add code climate * refactor(vscode): refactor visual code config * refactor(docs): refactor documentation * refactor(build): refactor Github CI * chore(git): add test path to ignored files * chore(release): 0.0.8 Release * docs(CHANGELOG): update changelog * docs(README): add codacy badge * chore(quality): add codacy CI task * chore(release): 0.0.9 * docs(CHANGELOG): update changelog * refactor(docs): remove email * chore(release): 0.0.10 * docs(CHANGELOG): update * refactor(quality): fix unicorn issue Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 2c6cae0 commit c278e82

File tree

6 files changed

+20
-98
lines changed

6 files changed

+20
-98
lines changed

CHANGELOG.md

Lines changed: 7 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
#### 0.0.9 (2020-07-19)
1+
#### 0.0.10 (2020-07-20)
22

33
##### Chores
44

55
- **release:**
6-
- 0.0.9 ([3ca641ba](https://github.com/gregoranders/nodejs-project-info/commit/3ca641ba2daea536df92d3896f34cad6fd3943dd))
7-
- 0.0.9 ([8d280ca2](https://github.com/gregoranders/nodejs-project-info/commit/8d280ca22455e391a2ef394d504900344ce8383e))
8-
- 0.0.8 Release ([43aa2709](https://github.com/gregoranders/nodejs-project-info/commit/43aa27095dc34279a46b5692ab40fc5fee4bac67))
9-
- prepare next release ([2c7da3b7](https://github.com/gregoranders/nodejs-project-info/commit/2c7da3b72866bd29b3d5ae6492b86e9365dc953e))
6+
- 0.0.10 ([89a9cb9f](https://github.com/gregoranders/nodejs-project-info/commit/89a9cb9fd9f954275ec1267ae8e2cabad6887fb3))
107
- **quality:**
118
- add codacy CI task ([6c52c9de](https://github.com/gregoranders/nodejs-project-info/commit/6c52c9de11ba57757446f273922c7ff0b5121fd5))
129
- add code climate ([780a170c](https://github.com/gregoranders/nodejs-project-info/commit/780a170ccd3497e5fd3c4de5e55836f4e47d7d0d))
@@ -16,8 +13,9 @@
1613

1714
##### Documentation Changes
1815

16+
- **CHANGELOG:**
17+
- update changelog ([c15cf000](https://github.com/gregoranders/nodejs-project-info/commit/c15cf0003a4ab2cf9243dd04a8ba637d53aaf07b))
1918
- **README:** add codacy badge ([bc167d8d](https://github.com/gregoranders/nodejs-project-info/commit/bc167d8da072c2d5f18b4a885f61acfc35666ab4))
20-
- **CHANGELOG:** update changelog ([c15cf000](https://github.com/gregoranders/nodejs-project-info/commit/c15cf0003a4ab2cf9243dd04a8ba637d53aaf07b))
2119

2220
##### Other Changes
2321

@@ -40,86 +38,11 @@
4038

4139
##### Refactors
4240

41+
- **docs:**
42+
- remove email ([819406f4](https://github.com/gregoranders/nodejs-project-info/commit/819406f480f11ec92858daa3be5a184d48b1c88c))
43+
- refactor documentation ([95424f53](https://github.com/gregoranders/nodejs-project-info/commit/95424f53d935a82949b44866e8ccdbaf7fcf05d0))
4344
- **build:**
4445
- refactor Github CI ([caa0446f](https://github.com/gregoranders/nodejs-project-info/commit/caa0446f8fea6fc46f8b5112b833ea122a82c3ae))
4546
- use correct env variable ([4b62afc0](https://github.com/gregoranders/nodejs-project-info/commit/4b62afc0f0dc623b3c15afbd7b30e6915a812a43))
46-
- **docs:** refactor documentation ([95424f53](https://github.com/gregoranders/nodejs-project-info/commit/95424f53d935a82949b44866e8ccdbaf7fcf05d0))
4747
- **vscode:** refactor visual code config ([ab9c95b2](https://github.com/gregoranders/nodejs-project-info/commit/ab9c95b2c5415db2db39fe55d7ee8accfc015bb0))
4848
- **dependencies:** dependencies check weekly ([f450540c](https://github.com/gregoranders/nodejs-project-info/commit/f450540c42ac8dc8764a346976977f8ef2b48e48))
49-
50-
#### 0.0.8 (2020-07-19)
51-
52-
##### Chores
53-
54-
- **release:**
55-
- 0.0.8 Release ([43aa2709](https://github.com/gregoranders/nodejs-project-info/commit/43aa27095dc34279a46b5692ab40fc5fee4bac67))
56-
- prepare next release ([2c7da3b7](https://github.com/gregoranders/nodejs-project-info/commit/2c7da3b72866bd29b3d5ae6492b86e9365dc953e))
57-
- **git:** add test path to ignored files ([89b0a42f](https://github.com/gregoranders/nodejs-project-info/commit/89b0a42f2bda1b3e2a4bf08e153d923784dfd06a))
58-
- **quality:**
59-
- add code climate ([780a170c](https://github.com/gregoranders/nodejs-project-info/commit/780a170ccd3497e5fd3c4de5e55836f4e47d7d0d))
60-
- add codacy config ([41ddb1bf](https://github.com/gregoranders/nodejs-project-info/commit/41ddb1bf10e169084cd54251eac351f7a1cd7fc5))
61-
- **dependencies:** update dependencies ([56c21252](https://github.com/gregoranders/nodejs-project-info/commit/56c212526391a6a32614f0f44f956b3d43d131e2))
62-
63-
##### Other Changes
64-
65-
- bump ts-jest from 26.1.1 to 26.1.3 ([1d583886](https://github.com/gregoranders/nodejs-project-info/commit/1d583886f9457abedd9e49c0836ebcfa5ae4ffde))
66-
- bump typescript from 3.9.6 to 3.9.7 ([4e2b71e5](https://github.com/gregoranders/nodejs-project-info/commit/4e2b71e5b256b30cecfa1bdab46a35141aa42ea3))
67-
- bump @typescript-eslint/eslint-plugin from 3.6.0 to 3.6.1 ([fed83bc9](https://github.com/gregoranders/nodejs-project-info/commit/fed83bc9a2ccc778330017422b76dac67368e9f7))
68-
- bump @typescript-eslint/parser from 3.6.0 to 3.6.1 ([e4e5b6e1](https://github.com/gregoranders/nodejs-project-info/commit/e4e5b6e1f3b068d2158faaaff82c1e4466d13f3b))
69-
- bump @types/node from 14.0.20 to 14.0.23 ([8dce5018](https://github.com/gregoranders/nodejs-project-info/commit/8dce5018a6763908938f0fd96c2a5a320679653c))
70-
- bump @types/node from 14.0.19 to 14.0.20 ([dda925f5](https://github.com/gregoranders/nodejs-project-info/commit/dda925f5c26efbefbe4499431bea23e7d37df55a))
71-
- bump @types/node from 14.0.18 to 14.0.19 ([c2254aed](https://github.com/gregoranders/nodejs-project-info/commit/c2254aedd9d2f0ee8aa9cc3f3ab89657bedbad50))
72-
- bump @typescript-eslint/eslint-plugin from 3.5.0 to 3.6.0 ([40551701](https://github.com/gregoranders/nodejs-project-info/commit/4055170182cd810ce9a4332bd32f6ab7a7caf1b7))
73-
- bump @types/node from 14.0.14 to 14.0.18 ([ec3fa318](https://github.com/gregoranders/nodejs-project-info/commit/ec3fa3187c2080be2656c574930590cc70dd2277))
74-
- bump @types/jest from 26.0.3 to 26.0.4 ([e0c9df22](https://github.com/gregoranders/nodejs-project-info/commit/e0c9df227a8725cd70580f51c7b10ca2ff77e0fe))
75-
- bump @typescript-eslint/parser from 3.5.0 to 3.6.0 ([246cda6f](https://github.com/gregoranders/nodejs-project-info/commit/246cda6f3d4f0ace419a8a12fa226ff072bcfba8))
76-
- bump eslint-plugin-jest from 23.17.1 to 23.18.0 ([936814f1](https://github.com/gregoranders/nodejs-project-info/commit/936814f1f5156b1f1f49bee623266e7e7a15dcbe))
77-
- bump eslint from 7.3.1 to 7.4.0 ([18e43ffd](https://github.com/gregoranders/nodejs-project-info/commit/18e43ffde32c7c7b8247160d2782842663e49534))
78-
- bump typescript from 3.9.5 to 3.9.6 ([2fa230e6](https://github.com/gregoranders/nodejs-project-info/commit/2fa230e6fc8290e890a657676b2e94286fe6a312))
79-
- bump @typescript-eslint/parser from 3.4.0 to 3.5.0 ([eb853c87](https://github.com/gregoranders/nodejs-project-info/commit/eb853c8720c1ed17bc174726a8de417f5786a20e))
80-
- bump @typescript-eslint/eslint-plugin from 3.4.0 to 3.5.0 ([859f8c1f](https://github.com/gregoranders/nodejs-project-info/commit/859f8c1f6203fa7e80bdc3e237ff24e9d94f6896))
81-
82-
##### Refactors
83-
84-
- **build:**
85-
- refactor Github CI ([caa0446f](https://github.com/gregoranders/nodejs-project-info/commit/caa0446f8fea6fc46f8b5112b833ea122a82c3ae))
86-
- use correct env variable ([4b62afc0](https://github.com/gregoranders/nodejs-project-info/commit/4b62afc0f0dc623b3c15afbd7b30e6915a812a43))
87-
- **docs:** refactor documentation ([95424f53](https://github.com/gregoranders/nodejs-project-info/commit/95424f53d935a82949b44866e8ccdbaf7fcf05d0))
88-
- **vscode:** refactor visual code config ([ab9c95b2](https://github.com/gregoranders/nodejs-project-info/commit/ab9c95b2c5415db2db39fe55d7ee8accfc015bb0))
89-
- **dependencies:** dependencies check weekly ([f450540c](https://github.com/gregoranders/nodejs-project-info/commit/f450540c42ac8dc8764a346976977f8ef2b48e48))
90-
91-
#### 0.0.7 (2020-06-26)
92-
93-
##### Build System / Dependencies
94-
95-
- **release:** add new packaged version ([16af6552](https://github.com/gregoranders/nodejs-project-info/commit/16af6552d66e71f91376a8af65cb898ae264960c))
96-
97-
##### Chores
98-
99-
- **ghpages:** change theme ([fcbeb034](https://github.com/gregoranders/nodejs-project-info/commit/fcbeb0345b3f339ec132d2acbefce80270bbfa9b))
100-
- **dependencies:** update dependencies ([1d8f4df5](https://github.com/gregoranders/nodejs-project-info/commit/1d8f4df5b3641dd22f4a9377ff41d1e10200238a))
101-
102-
##### Documentation Changes
103-
104-
- **CHANGELOG:** add changelog ([f8658f77](https://github.com/gregoranders/nodejs-project-info/commit/f8658f7789d8e4cd083495d0b2a6753b902ce3d1))
105-
- **SECURITY:** add SECURITY.md ([d38f874a](https://github.com/gregoranders/nodejs-project-info/commit/d38f874a1dc6f64a93a9f9cdacf4bb63cbec3827))
106-
107-
##### New Features
108-
109-
- **docs:** add GitHub related files ([08428ab7](https://github.com/gregoranders/nodejs-project-info/commit/08428ab7f8df0f345fb83d2277f0c27262a7d68a))
110-
- **CHANGELOG:** add CHANGELOG.md ([c78402f2](https://github.com/gregoranders/nodejs-project-info/commit/c78402f2cbe1304ea3c378840e8d3858f1ef8e8f))
111-
- **eslint:** add jest and unicorn plugin ([fd5b2357](https://github.com/gregoranders/nodejs-project-info/commit/fd5b2357258eac6dc8d23aa91f7932a308aeefb1))
112-
113-
##### Bug Fixes
114-
115-
- **package:** replace changelog generation package ([aa73861c](https://github.com/gregoranders/nodejs-project-info/commit/aa73861c69e7a0a7ae0136202cc6fd6ae53fad7c))
116-
117-
##### Other Changes
118-
119-
- **prettier:** move configuration fiel ([293e4262](https://github.com/gregoranders/nodejs-project-info/commit/293e426218d12f93e0745009f12b611a6e88debe))
120-
121-
##### Refactors
122-
123-
- **test:** rename tests ([f85c05d3](https://github.com/gregoranders/nodejs-project-info/commit/f85c05d31340b1a41489ca431ec46cfb619559a1))
124-
- **build:** use latest version of node on linux ([f6d5e17d](https://github.com/gregoranders/nodejs-project-info/commit/f6d5e17d1bac3aa0e09d57e237465246a75b0875))
125-
- **package:** add lint-staged ([1d65b2cb](https://github.com/gregoranders/nodejs-project-info/commit/1d65b2cb7dcabb8758eddff4f741256a4dd475f5))

CODE_OF_CONDUCT.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ further defined and clarified by project maintainers.
5555
## Enforcement
5656

5757
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at [email protected]. All
59-
complaints will be reviewed and investigated and will result in a response that
60-
is deemed necessary and appropriate to the circumstances. The project team is
61-
obligated to maintain confidentiality with regard to the reporter of an incident.
62-
Further details of specific enforcement policies may be posted separately.
58+
reported by contacting the project team. All complaints will be reviewed and
59+
investigated and will result in a response that is deemed necessary and
60+
appropriate to the circumstances. The project team is obligated to maintain
61+
confidentiality with regard to the reporter of an incident. Further details of
62+
specific enforcement policies may be posted separately.
6363

6464
Project maintainers who do not follow or enforce the Code of Conduct in good
6565
faith may face temporary or permanent repercussions as determined by other

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ This action provides the _name_ and _version_ and the content of **package.json*
2525
...
2626
- name: nodejs project information
2727
id: projectinfo
28-
uses: gregoranders/[email protected].9
28+
uses: gregoranders/[email protected].10
2929
- name: create release action
3030
id: createrelease
31-
uses: gregoranders/[email protected].9
31+
uses: gregoranders/[email protected].10
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434
PACKAGE_JSON: ${{ steps.projectinfo.outputs.context }}

SECURITY.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
66
| Version | Supported |
77
| ------- | ------------------ |
8-
| 0.0.9 | :white_check_mark: |
9-
| 0.0.8 | :x: |
10-
| 0.0.7 | :x: |
11-
| 0.0.6 | :x: |
8+
| 0.0.10 | :white_check_mark: |
129
1310

1411
## Reporting a Vulnerability

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodejs-project-info",
3-
"version": "0.0.9",
3+
"version": "0.0.10",
44
"description": "NodeJS Project Information",
55
"main": "./dist/index.js",
66
"scripts": {
@@ -97,8 +97,8 @@
9797
"devDependencies": {
9898
"@types/jest": "26.0.5",
9999
"@types/node": "14.0.23",
100-
"@typescript-eslint/eslint-plugin": "3.6.1",
101-
"@typescript-eslint/parser": "3.6.1",
100+
"@typescript-eslint/eslint-plugin": "3.7.0",
101+
"@typescript-eslint/parser": "3.7.0",
102102
"@zeit/ncc": "0.22.3",
103103
"generate-changelog": "1.8.0",
104104
"eslint": "7.5.0",

src/action.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { PackageJSON } from './package-json';
1010

1111
const readfile = async (path: string) => {
1212
return new Promise<string>((resolve, reject) => {
13+
// eslint-disable-next-line unicorn/no-null
1314
readFile(path, (error: NodeJS.ErrnoException | null, buffer: Buffer) => {
1415
if (error) {
1516
reject(error);
@@ -22,6 +23,7 @@ const readfile = async (path: string) => {
2223

2324
const resolvePath = (path: string) => {
2425
return new Promise<string>((resolve, reject) => {
26+
// eslint-disable-next-line unicorn/no-null
2527
realpath(path, (error: NodeJS.ErrnoException | null, resolved: string) => {
2628
if (error) {
2729
reject(error);

0 commit comments

Comments
 (0)