Skip to content

build: delete legacy ESLint config and obsolete helpers (gh54 part VIII)#10974

Draft
Planeshifter wants to merge 1 commit intophilipp/gh54-switch-to-flat-configfrom
philipp/gh54-delete-legacy-config
Draft

build: delete legacy ESLint config and obsolete helpers (gh54 part VIII)#10974
Planeshifter wants to merge 1 commit intophilipp/gh54-switch-to-flat-configfrom
philipp/gh54-delete-legacy-config

Conversation

@Planeshifter
Copy link
Member

@Planeshifter Planeshifter commented Mar 15, 2026

Resolves stdlib-js/metr-issue-tracker#54.

Description

What is the purpose of this pull request?

This pull request:

  • Deletes legacy ESLint configuration files superseded by eslint.config.cjs (PR 12 of the migration plan).
  • Removes .eslintrc.js, .eslintignore, per-target configs (benchmarks, examples, tests), and the overrides module.
  • Inlines the restricted syntax config directly in eslint.config.cjs.
  • Keeps etc/eslint/.eslintrc.js (consumed by typescript.js for base rule definitions), .eslintrc.markdown.js (consumed by remark plugin), and .eslintrc.typescript*.js files for now.

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

Stacked on #10973.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

This PR was written primarily by Claude Code.


@stdlib-js/reviewers

Remove legacy ESLint configuration files that are superseded by
`eslint.config.cjs` (flat config):

Deleted files:
- `.eslintrc.js` (root entry point)
- `.eslintignore` (ignores are in flat config)
- `etc/eslint/.eslintrc.overrides.js`
- `etc/eslint/.eslintrc.benchmarks.js`
- `etc/eslint/.eslintrc.examples.js`
- `etc/eslint/.eslintrc.tests.js`
- `etc/eslint/overrides/index.js`
- `etc/eslint/overrides/repl_namespace.js`

Updated files:
- `eslint.config.cjs`: inline restricted syntax config (was imported
  from the now-deleted overrides module); remove overrides import
- `etc/eslint/.eslintrc.js`: remove overrides import (kept for now
  as `typescript.js` depends on it for base rule definitions)

Kept for now:
- `etc/eslint/.eslintrc.js` (consumed by `typescript.js`)
- `etc/eslint/.eslintrc.typescript.js` (consumed by remark plugin)
- `etc/eslint/.eslintrc.typescript.tests.js`
- `etc/eslint/.eslintrc.markdown.js` (consumed by remark plugin)
- `etc/eslint/env/`, `parser-options/`, `plugins/`, `rules/`

Ref: stdlib-js/metr-issue-tracker#54
@Planeshifter Planeshifter changed the title build: delete legacy ESLint config and obsolete helpers build: delete legacy ESLint config and obsolete helpers (gh54 part VIII) Mar 15, 2026
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.

1 participant