diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 132ec75..32dbe0e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.2.2" + ".": "5.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index f5a0a17..cee366b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## [5.0.0](https://github.com/HubSpotWebTeam/wt-eslint-node/compare/v4.2.2...v5.0.0) (2026-08-24) + + +### ⚠ BREAKING CHANGES + +* configs.recommended now includes 'hs-web-team/no-reduce-accumulator-copy' at 'error' severity. Any project using configs.recommended that spreads or concats the accumulator inside a reduce/reduceRight callback will receive a lint error on the next version bump. Refactor to a for...of loop with in-place mutation, or use flatMap/Object.groupBy. + +### Features + +* add max-params rule (warn at 4+ parameters) ([6c10ada](https://github.com/HubSpotWebTeam/wt-eslint-node/commit/6c10adac401f8436cffe335d43ee58c17b7fb36b)) +* add max-params rule (warn at 4+ parameters) ([#60](https://github.com/HubSpotWebTeam/wt-eslint-node/issues/60)) ([58ef761](https://github.com/HubSpotWebTeam/wt-eslint-node/commit/58ef761c103a475bc65f2b5ab9c6eace131efe6a)) +* add no-reduce-accumulator-copy rule ([#62](https://github.com/HubSpotWebTeam/wt-eslint-node/issues/62)) ([c70cab7](https://github.com/HubSpotWebTeam/wt-eslint-node/commit/c70cab74eef4dfe9acdc3c74454aa7f5c024ab42)) +* mark no-reduce-accumulator-copy as breaking change ([2fb61d5](https://github.com/HubSpotWebTeam/wt-eslint-node/commit/2fb61d554f1fdbf270115762be94f3849705b1c0)) + + +### Bug Fixes + +* allow modifier classes inside :is()/:not()/:where() with a base class ([#49](https://github.com/HubSpotWebTeam/wt-eslint-node/issues/49)) ([c56993c](https://github.com/HubSpotWebTeam/wt-eslint-node/commit/c56993cbdfa3d7cb32dfe98c16132f4b5a64feac)) +* return null from getRootDir when hubspot.config.yml is not found ([#51](https://github.com/HubSpotWebTeam/wt-eslint-node/issues/51)) ([8ea3295](https://github.com/HubSpotWebTeam/wt-eslint-node/commit/8ea32956ee6fde0d99a6b4d8ad1db046514fd9f8)) + ## [4.2.2](https://github.com/HubSpotWebTeam/wt-eslint-node/compare/v4.2.1...v4.2.2) (2026-06-18) diff --git a/package-lock.json b/package-lock.json index b5cc26a..32b53a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@hs-web-team/eslint-config-node", - "version": "4.2.2", + "version": "5.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@hs-web-team/eslint-config-node", - "version": "4.2.2", + "version": "5.0.0", "hasInstallScript": true, "license": "ISC", "dependencies": { diff --git a/package.json b/package.json index 61bf4ac..a91ebcc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hs-web-team/eslint-config-node", - "version": "4.2.2", + "version": "5.0.0", "description": "HubSpot Marketing WebTeam shared configurations for ESLint, Prettier, Stylelint, and Cypress", "files": [ ".prettierrc.json",