Skip to content

Drop neostandard in favour of only pulling in the dev dependencies that we actually use#8724

Merged
FreeTubeBot merged 2 commits intoFreeTubeApp:developmentfrom
absidue:drop-neostandard
Mar 6, 2026
Merged

Drop neostandard in favour of only pulling in the dev dependencies that we actually use#8724
FreeTubeBot merged 2 commits intoFreeTubeApp:developmentfrom
absidue:drop-neostandard

Conversation

@absidue
Copy link
Member

@absidue absidue commented Feb 27, 2026

Pull Request Type

  • Other

Description

This pull request drops the neostandard development dependency, which pulls in a lot of development dependencies that we don't use (typescript stuff and eslint-plugin-react's polyfill dependency hell), in favour of directly depending on the ESLint plugins that we do use @stylistic/eslint-plugin, eslint-plugin-import-x, eslint-plugin-n and eslint-plugin-promise and copies the relevant neostandard configurations into our ESLint configuration file.

I also updated the four ESLint plugins to their latest versions and updated the configs where necessary (the version of @stylistic/eslint-plugin that neostandard was using was quite outdated). I merged the modernizations configs directly into the base and style configs as it didn't make sense to have two configs that directly overwrite each other, I also removed the rules that are already configured identically in the @eslint/js config.

As an added bonus this also unblocks the ESLint dependabot updates e.g. #8717 (we will still need to deal with the breaking changes in that pull request but it will no longer error inside of outdated dependencies).

Testing

  1. yarn install
  2. yarn eslint-lint
  3. yarn lint-json
  4. yarn lint-yml

Desktop

  • OS: Windows
  • OS Version: 11

@github-actions github-actions bot added PR: dependencies Pull requests that update a dependency file PR: waiting for review For PRs that are complete, tested, and ready for review labels Feb 27, 2026
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) February 27, 2026 23:57
PikachuEXE
PikachuEXE previously approved these changes Mar 1, 2026
@github-actions github-actions bot added PR: merge conflicts / rebase needed and removed PR: waiting for review For PRs that are complete, tested, and ready for review labels Mar 5, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

Conflicts have been resolved. A maintainer will review the pull request shortly.

@absidue absidue added the PR: waiting for review For PRs that are complete, tested, and ready for review label Mar 5, 2026
@FreeTubeBot FreeTubeBot merged commit 0d3d59b into FreeTubeApp:development Mar 6, 2026
5 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Mar 6, 2026
@absidue absidue deleted the drop-neostandard branch March 6, 2026 07:34
Pillowytuba pushed a commit to Pillowytuba/FreeTube that referenced this pull request Mar 19, 2026
…at we actually use (FreeTubeApp#8724)

* Drop neostandard in favour of only pulling in the dev dependencies that we actually use

* Remove rules that are already listed in the @eslint/js recommended config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants