Skip to content

Improve display of rules in --show-settings - #11003

Merged
zanieb merged 1 commit into
mainfrom
zb/show-rule-code
Apr 17, 2024
Merged

zanieb merged 1 commit into
mainfrom
zb/show-rule-code

Conversation

@zanieb

@zanieb zanieb commented Apr 17, 2024 •

Copy link
Copy Markdown
Member

Closes #11002

@zanieb zanieb added the linter Related to the Ruff linter label Apr 17, 2024
@zanieb zanieb mentioned this pull request Apr 17, 2024
@zanieb
zanieb force-pushed the zb/show-rule-code branch from bd5f848 to 15bc064 Compare April 17, 2024 19:58
Comment thread crates/ruff_linter/src/registry/rule_set.rs
@zanieb
zanieb force-pushed the zb/show-rule-code branch from 15bc064 to 9f71f79 Compare April 17, 2024 20:10
@zanieb zanieb changed the title Display rule codes in --show-settings Improve display of rules in --show-settings Apr 17, 2024

@charliermarsh charliermarsh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet!

@zanieb
zanieb enabled auto-merge (squash) April 17, 2024 20:12
@zanieb
zanieb merged commit 16cc9bd into main Apr 17, 2024
@zanieb
zanieb deleted the zb/show-rule-code branch April 17, 2024 20:18
@github-actions

Copy link
Copy Markdown
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linter Related to the Ruff linter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display enabled rules

2 participants