Skip to content

Change Request: Consolidate update-readme script across repositories #200

Open
@lumirlumir

Description

@lumirlumir

Which packages would you like to change?

  • @eslint/compat
  • @eslint/config-array
  • @eslint/config-helpers
  • @eslint/core
  • @eslint/migrate-config
  • @eslint/object-schema
  • @eslint/plugin-kit

What problem do you want to solve?

Hello,

I couldn’t find the appropriate repository to open this issue, so I’m writing it here!

Currently, the update-readme.js script—typically located in the tools directory of various repositories—performs essentially the same function across multiple projects.

For example:

To improve maintainability and reduce duplication, I’d like to suggest extracting this script into a standalone CLI package that can be reused across the ESLint repositories.

What do you think is the correct solution?

Let's make the update-readme script a separate CLI package to improve reusability across repositories.

Additionally, I suggest dropping the got package and replacing it with the native fetch method in Node.js. Since fetch has been supported natively since Node.js v18.0.0, it would be a good fit for ESLint repositories and help reduce the overall dependency footprint. (https://nodejs.org/docs/latest/api/globals.html#fetch)

Participation

  • I am willing to submit a pull request for this change.

Additional comments

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Evaluating

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions