Skip to content

Change no-array-push-push to prefer-single-call in eslint.config.mjs - #7300

Merged
FreeTubeBot merged 1 commit into
FreeTubeApp:developmentfrom
absidue:eslint-config
Apr 28, 2025
Merged

FreeTubeBot merged 1 commit into
FreeTubeApp:developmentfrom
absidue:eslint-config

Conversation

@absidue

@absidue absidue commented Apr 28, 2025

Copy link
Copy Markdown
Member

Change no-array-push-push to prefer-single-call in eslint.config.mjs

Pull Request Type

  • Other

Related issue

Description

In the recent update to the eslint-plugin-unicorn package, they renamed the no-array-push-push rule to prefer-single-call, as it now handles other similar situations too, such as .classList.add().

https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/pull/2617

Desktop

  • OS: Windows
  • OS Version: 10
  • FreeTube version: b67d5ff

@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) April 28, 2025 20:54
@github-actions github-actions Bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Apr 28, 2025

@PikachuEXE PikachuEXE left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No more push push?
image

@FreeTubeBot
FreeTubeBot merged commit f37cfd7 into FreeTubeApp:development Apr 28, 2025
@github-actions github-actions Bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Apr 28, 2025
@absidue
absidue deleted the eslint-config branch April 28, 2025 22:02
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Apr 29, 2025
* development:
  Change no-array-push-push to prefer-single-call in eslint.config.mjs (FreeTubeApp#7300)
  Translated using Weblate (Portuguese (Brazil))
  Bump electron-builder from 26.0.13 to 26.0.14 (FreeTubeApp#7290)
  Translated using Weblate (Norwegian Bokmål)
  Bump electron from 35.2.0 to 35.2.1 (FreeTubeApp#7296)
  Bump webpack from 5.99.6 to 5.99.7 (FreeTubeApp#7294)
  Bump sass from 1.86.3 to 1.87.0 (FreeTubeApp#7297)
  Bump autolinker from 4.1.0 to 4.1.1 (FreeTubeApp#7295)
  Bump lefthook from 1.11.10 to 1.11.12 (FreeTubeApp#7293)
  Bump marked from 15.0.8 to 15.0.11 (FreeTubeApp#7292)
  Bump shaka-player from 4.14.8 to 4.14.9 (FreeTubeApp#7291)
  Bump the eslint group with 5 updates (FreeTubeApp#7288)
  Bump stylelint from 16.18.0 to 16.19.1 in the stylelint group (FreeTubeApp#7289)
  Migrate the FtTooltip component to the composition API (FreeTubeApp#7282)
  Translated using Weblate (Hebrew)
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Apr 29, 2025
* development: (203 commits)
  Change no-array-push-push to prefer-single-call in eslint.config.mjs (FreeTubeApp#7300)
  Translated using Weblate (Portuguese (Brazil))
  Bump electron-builder from 26.0.13 to 26.0.14 (FreeTubeApp#7290)
  Translated using Weblate (Norwegian Bokmål)
  Bump electron from 35.2.0 to 35.2.1 (FreeTubeApp#7296)
  Bump webpack from 5.99.6 to 5.99.7 (FreeTubeApp#7294)
  Bump sass from 1.86.3 to 1.87.0 (FreeTubeApp#7297)
  Bump autolinker from 4.1.0 to 4.1.1 (FreeTubeApp#7295)
  Bump lefthook from 1.11.10 to 1.11.12 (FreeTubeApp#7293)
  Bump marked from 15.0.8 to 15.0.11 (FreeTubeApp#7292)
  Bump shaka-player from 4.14.8 to 4.14.9 (FreeTubeApp#7291)
  Bump the eslint group with 5 updates (FreeTubeApp#7288)
  Bump stylelint from 16.18.0 to 16.19.1 in the stylelint group (FreeTubeApp#7289)
  Migrate the FtTooltip component to the composition API (FreeTubeApp#7282)
  Translated using Weblate (Hebrew)
  Ensure there is at most one power save blocker per open window (FreeTubeApp#7247)
  Change author name (FreeTubeApp#7216)
  Migrate ExternalPlayerSettings and SponsorBlockSettings to the composition API (FreeTubeApp#7267)
  Migrate the FtButton component to the composition API (FreeTubeApp#7266)
  Cleanup event listener pass-through inline handlers (FreeTubeApp#7268)
  ...

# Conflicts:
#	package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants