From c18cf5bd0397940f79171c5fa2fa937fc2fe583c Mon Sep 17 00:00:00 2001 From: Adam Weeden Date: Thu, 20 Jul 2023 10:22:47 -0400 Subject: [PATCH 1/8] [DA-3]: Update to Node 16 + all dependencies --- .nvmrc | 2 +- package.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.nvmrc b/.nvmrc index 8351c19..b6a7d89 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14 +16 diff --git a/package.json b/package.json index 80026f8..d1997d8 100644 --- a/package.json +++ b/package.json @@ -9,11 +9,11 @@ "Jon Cursi " ], "dependencies": { - "@actinc/eslint-config": "3.4.1", - "@commitlint/cli": "15.0.0", - "@commitlint/config-conventional": "15.0.0", - "@testing-library/jest-dom": "^5.16.1", - "@testing-library/react": "^12.1.2", + "@actinc/eslint-config": "^4.0.0", + "@commitlint/cli": "^17.6.7", + "@commitlint/config-conventional": "^17.6.7", + "@testing-library/jest-dom": "^5.17.0", + "@testing-library/react": "^12.1.5", "@typescript-eslint/eslint-plugin": "5.4.0", "@typescript-eslint/parser": "5.4.0", "@typescript-eslint/typescript-estree": "5.4.0", From 7505d0340e7412e01a51f376d2cac09a51955a14 Mon Sep 17 00:00:00 2001 From: Adam Weeden Date: Thu, 20 Jul 2023 10:24:03 -0400 Subject: [PATCH 2/8] [DA-3]: Update version to 1.3.0 --- CHANGELOG.md | 11 +++++++++++ package.json | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c342b5b..1849e06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [1.3.0](https://github.com/nrccus/eslint-config/compare/1.2.5...1.3.0) (2023-07-20) + + +### Changes + +* [DA-3]: Update to Node 16 + all dependencies ([c18cf5b](https://github.com/nrccus/eslint-config/commit/c18cf5bd0397940f79171c5fa2fa937fc2fe583c)) +* Merge pull request #25 from nrccua/joncursi-patch-1 ([06a6c13](https://github.com/nrccus/eslint-config/commit/06a6c13a83c9dc5fb4819ebc3b59b8110e9eadd2)), closes [#25](https://github.com/nrccus/eslint-config/issues/25) +* Update README.md ([f3029ba](https://github.com/nrccus/eslint-config/commit/f3029baf8ba0b140303d35b4b19edffaa758a4f1)) +* Merge pull request #24 from nrccua/update/dependencies_202202 ([3ff4c35](https://github.com/nrccus/eslint-config/commit/3ff4c35342e1be6a6b91141f1fdd38f0174fa08e)), closes [#24](https://github.com/nrccus/eslint-config/issues/24) +* [E4E-0]: 1.2.5 ([eb0e6a3](https://github.com/nrccus/eslint-config/commit/eb0e6a3946bb6c990514af2235573eb5402627f7)) + ### [1.2.5](https://github.com/nrccus/eslint-config/compare/1.2.4...1.2.5) (2022-02-08) diff --git a/package.json b/package.json index d1997d8..57bdf81 100644 --- a/package.json +++ b/package.json @@ -123,5 +123,5 @@ "update:version:major": "standard-version --release-as major", "update:version:minor": "standard-version --release-as minor" }, - "version": "1.2.5" + "version": "1.3.0" } From a7165c5d24a095445dda1f7800619a449323d328 Mon Sep 17 00:00:00 2001 From: Adam Weeden Date: Thu, 20 Jul 2023 10:27:30 -0400 Subject: [PATCH 3/8] [DA-3]: Update node version in GitHub action --- .github/workflows/pr-testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-testing.yml b/.github/workflows/pr-testing.yml index c63cb80..5b77d1c 100644 --- a/.github/workflows/pr-testing.yml +++ b/.github/workflows/pr-testing.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: ["14"] + node: ["16"] steps: - uses: actions/checkout@v2 with: From 34bb52bc0cb32b1e4a47664a7e283ffedb0cb100 Mon Sep 17 00:00:00 2001 From: Adam Weeden Date: Thu, 20 Jul 2023 10:34:44 -0400 Subject: [PATCH 4/8] [DA-3]: Remove tsc tests + add json to prettier --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 783a4f6..81ac97b 100644 --- a/package.json +++ b/package.json @@ -89,8 +89,7 @@ "test": "concurrently -m 1 npm:test:*", "test:lint:js": "eslint . --ext .js --fix --quiet", "test:lint:md": "markdownlint README.md --config markdownlint.config.json", - "test:prettier": "prettier --write './**/*.js'", - "test:tsconfig": "tsc --project ./tsconfig.json; rm -rf ./tsconfig.tsbuildinfo", + "test:prettier": "prettier --write './**/*.js' './**/*.json'", "update:dependencies": "npm outdated --long | grep -v devDependencies | awk '{print $1}' | tail -n +2 | xargs -I {} npm i -E {}@latest && npm outdated --long | grep devDependencies | awk '{print $1}' | xargs -I {} npm i -E -D {}@latest", "update:version": "standard-version", "update:version:major": "standard-version --release-as major", From 4cffd16ca9226cc94120b361522e9d9b0f480049 Mon Sep 17 00:00:00 2001 From: Adam Weeden Date: Thu, 20 Jul 2023 10:37:49 -0400 Subject: [PATCH 5/8] [DA-3]: Update Chnagelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1849e06..f729b37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ All notable changes to this project will be documented in this file. See [standa ### Changes +* [DA-3]: Remove tsc tests + add json to prettier ([34bb52b](https://github.com/nrccus/eslint-config/commit/34bb52bc0cb32b1e4a47664a7e283ffedb0cb100)) +* Merge remote-tracking branch 'origin/main' into updatedependencies_202307 ([888ea04](https://github.com/nrccus/eslint-config/commit/888ea04756d791b32c8148670b560ca530a7ac19)) +* [DA-3]: Update node version in GitHub action ([a7165c5](https://github.com/nrccus/eslint-config/commit/a7165c5d24a095445dda1f7800619a449323d328)) +* Merge pull request #26 from nrccua/feature/package-refresh ([5c6157d](https://github.com/nrccus/eslint-config/commit/5c6157d757b52b7f265bc5d5d88c1ac64d54f855)), closes [#26](https://github.com/nrccus/eslint-config/issues/26) +* [DA-3]: Update version to 1.3.0 ([7505d03](https://github.com/nrccus/eslint-config/commit/7505d0340e7412e01a51f376d2cac09a51955a14)) * [DA-3]: Update to Node 16 + all dependencies ([c18cf5b](https://github.com/nrccus/eslint-config/commit/c18cf5bd0397940f79171c5fa2fa937fc2fe583c)) * Merge pull request #25 from nrccua/joncursi-patch-1 ([06a6c13](https://github.com/nrccus/eslint-config/commit/06a6c13a83c9dc5fb4819ebc3b59b8110e9eadd2)), closes [#25](https://github.com/nrccus/eslint-config/issues/25) * Update README.md ([f3029ba](https://github.com/nrccus/eslint-config/commit/f3029baf8ba0b140303d35b4b19edffaa758a4f1)) From 00d9227dac0fb8a8755ab9b4645c7226925d3cca Mon Sep 17 00:00:00 2001 From: Adam Weeden Date: Thu, 20 Jul 2023 10:39:21 -0400 Subject: [PATCH 6/8] [DA-3]: Fix bad version # in changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f729b37..29d9d7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. -## [1.3.0](https://github.com/nrccus/eslint-config/compare/1.2.5...1.3.0) (2023-07-20) +## [1.3.1](https://github.com/nrccus/eslint-config/compare/1.2.5...1.3.1) (2023-07-20) ### Changes From 5f6e7837d3f58d6a1087eb6813b6de6ec8df7b62 Mon Sep 17 00:00:00 2001 From: Adam Weeden Date: Thu, 20 Jul 2023 11:05:05 -0400 Subject: [PATCH 7/8] [DA-3]: Remove unused rule; replace with TS compiler option --- index.js | 1 - tsconfig.json | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index b1cc091..1a2a3b4 100644 --- a/index.js +++ b/index.js @@ -86,7 +86,6 @@ const tsConfig = { '@typescript-eslint/no-confusing-non-null-assertion': 'error', '@typescript-eslint/no-explicit-any': 'error', '@typescript-eslint/no-extraneous-class': 'error', - '@typescript-eslint/no-implicit-any-catch': 'error', '@typescript-eslint/no-invalid-void-type': 'error', '@typescript-eslint/no-shadow': ['error', { ignoreTypeValueShadow: true }], '@typescript-eslint/no-throw-literal': 'error', diff --git a/tsconfig.json b/tsconfig.json index fd9a0b5..8fdc74c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,8 @@ "ts-node": { "transpileOnly": false, "compilerOptions": { - "module": "commonjs" + "module": "commonjs", + "useUnknownInCatchVariables": true } } } From 82c1ee568283c81c0e35823059fe510e20aaa761 Mon Sep 17 00:00:00 2001 From: Adam Weeden Date: Thu, 20 Jul 2023 11:27:02 -0400 Subject: [PATCH 8/8] [DA-3]: 1.3.2 --- CHANGELOG.md | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 29d9d7e..d3378c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,14 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. -## [1.3.1](https://github.com/nrccus/eslint-config/compare/1.2.5...1.3.1) (2023-07-20) +### [1.3.2](https://github.com/nrccus/eslint-config/compare/1.2.5...1.3.2) (2023-07-20) ### Changes +* [DA-3]: Remove unused rule; replace with TS compiler option ([5f6e783](https://github.com/nrccus/eslint-config/commit/5f6e7837d3f58d6a1087eb6813b6de6ec8df7b62)) +* [DA-3]: Fix bad version # in changelog ([00d9227](https://github.com/nrccus/eslint-config/commit/00d9227dac0fb8a8755ab9b4645c7226925d3cca)) +* [DA-3]: Update Chnagelog ([4cffd16](https://github.com/nrccus/eslint-config/commit/4cffd16ca9226cc94120b361522e9d9b0f480049)) * [DA-3]: Remove tsc tests + add json to prettier ([34bb52b](https://github.com/nrccus/eslint-config/commit/34bb52bc0cb32b1e4a47664a7e283ffedb0cb100)) * Merge remote-tracking branch 'origin/main' into updatedependencies_202307 ([888ea04](https://github.com/nrccus/eslint-config/commit/888ea04756d791b32c8148670b560ca530a7ac19)) * [DA-3]: Update node version in GitHub action ([a7165c5](https://github.com/nrccus/eslint-config/commit/a7165c5d24a095445dda1f7800619a449323d328)) diff --git a/package.json b/package.json index 81ac97b..8386673 100644 --- a/package.json +++ b/package.json @@ -95,5 +95,5 @@ "update:version:major": "standard-version --release-as major", "update:version:minor": "standard-version --release-as minor" }, - "version": "1.3.0" + "version": "1.3.2" }