ruff icon indicating copy to clipboard operation
ruff copied to clipboard

`ruff server`: Editor settings are used by default if no file-based configuration exists

Open snowsignal opened this issue 9 months ago • 1 comments

Summary

Fixes https://github.com/astral-sh/ruff/issues/11258.

This PR fixes the settings resolver to match the expected behavior when file-based configuration is not available.

Test Plan

In a workspace with no file-based configuration, set a setting in your editor and confirm that this setting is used instead of the default.

snowsignal avatar May 03 '24 17:05 snowsignal

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

github-actions[bot] avatar May 03 '24 17:05 github-actions[bot]