Skip to content

Fix CI: migrate ESLint to v9 with neostandard flat config#49

Merged
shishi merged 3 commits into
masterfrom
dependabot/npm_and_yarn/multi-39488ece05
May 28, 2026
Merged

Fix CI: migrate ESLint to v9 with neostandard flat config#49
shishi merged 3 commits into
masterfrom
dependabot/npm_and_yarn/multi-39488ece05

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 27, 2026

npm ci was failing because Dependabot bumped eslint to ^10.4.0, but eslint-plugin-import@2.32.0 only peers up to ESLint 9, and the legacy eslint-config-standard@14 + eslint-plugin-node@11 stack uses APIs removed in ESLint 9+ (context.getScope()).

Changes

  • ESLint version: ^8.57.1^9.39.4 (highest version compatible with current plugin peer ranges)
  • Config migration: .eslintrc.jsoneslint.config.js (flat config, required from ESLint 9)
  • Plugin stack replaced: eslint-config-standard@14, eslint-plugin-node@11 (deprecated), eslint-plugin-standard@4 (deprecated), eslint-plugin-import, eslint-plugin-promise all removed in favour of neostandard — the official ESLint-9 successor maintained by the standard team

New eslint.config.js:

"use strict";

const neostandard = require("neostandard");

module.exports = neostandard({
  globals: { test: true, expect: true },
  noStyle: true,
});

Preserves the same lint behaviour: Standard rules, Jest globals, all style rules disabled.

Removes [tmp](https://github.com/raszi/node-tmp). It's no longer used after updating ancestor dependencies [tmp](https://github.com/raszi/node-tmp), [eslint](https://github.com/eslint/eslint) and [rewire](https://github.com/jhnns/rewire). These dependencies need to be updated together.


Removes `tmp`

Updates `eslint` from 6.8.0 to 10.4.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v6.8.0...v10.4.0)

Updates `rewire` from 5.0.0 to 9.0.1
- [Release notes](https://github.com/jhnns/rewire/releases)
- [Changelog](https://github.com/jhnns/rewire/blob/master/CHANGELOG.md)
- [Commits](jhnns/rewire@v5.0.0...v9.0.1)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version:
  dependency-type: indirect
- dependency-name: eslint
  dependency-version: 10.4.0
  dependency-type: direct:development
- dependency-name: rewire
  dependency-version: 9.0.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 27, 2026
Copilot AI changed the title Bump tmp, eslint and rewire Fix CI: migrate ESLint to v9 with neostandard flat config May 28, 2026
Copilot finished work on behalf of shishi May 28, 2026 10:55
Copilot finished work on behalf of shishi May 28, 2026 11:55
Copilot finished work on behalf of shishi May 28, 2026 11:59
Copilot finished work on behalf of shishi May 28, 2026 12:03
@shishi shishi merged commit 9b35a85 into master May 28, 2026
5 checks passed
@shishi shishi deleted the dependabot/npm_and_yarn/multi-39488ece05 branch May 28, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants