Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "4.2.2"
".": "5.0.0"
}
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down