Skip to content

fix(cli): search config from target path#231

Open
yslpn wants to merge 2 commits into
feature-sliced:masterfrom
yslpn:fix/search-config-from-target-path
Open

fix(cli): search config from target path#231
yslpn wants to merge 2 commits into
feature-sliced:masterfrom
yslpn:fix/search-config-from-target-path

Conversation

@yslpn

@yslpn yslpn commented Apr 18, 2026

Copy link
Copy Markdown
Contributor

Search Steiger config from the target path instead of the current working directory.

Closes #62

ESLint is moving in the same direction as I understand: config lookup from the file being linted becomes the default in v10.

Reference:
https://eslint.org/blog/2025/10/whats-coming-in-eslint-10.0.0/#new-configuration-file-lookup-algorithm

P.S: Technically, this is a breaking change, but I would consider it a minor one, since in most cases everything will remain as before. Plus, this package is in its early stages, and we don't guarantee compatibility.

@changeset-bot

changeset-bot Bot commented Apr 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b04e64e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
steiger Minor
@steiger/integration-tests Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@yslpn yslpn changed the title Fix/search config from target path fix(cli): search config from target path Apr 18, 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.

Steiger looses the context of its config when called from a subfolder

1 participant