Skip to content

Add configurable Ruff lint fixes and fix global line width - #22

Open
apcamargo wants to merge 3 commits into
dprint:mainfrom
apcamargo:lint-error-fixes
Open

apcamargo wants to merge 3 commits into
dprint:mainfrom
apcamargo:lint-error-fixes

Conversation

@apcamargo

@apcamargo apcamargo commented Sep 11, 2026

Copy link
Copy Markdown
  • Fix global lineWidth so valid values are preserved and oversized values clamp safely.
  • Add opt-in fixLintErrors configuration to fix:
    • Unused imports
    • Import sorting
    • Required imports

This fixes issues #2 and #5

@apcamargo

Copy link
Copy Markdown
Author

I'll merge the updates to main and resolve conflicts once the PR is reviewed. Ruff gets updated very frequently, so it's probably best to make sure the PR will be merged before I resolve any conflicts.

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