Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List configuration values can now be extended instead of replaced #8944

Merged
merged 1 commit into from
Jun 6, 2022

Conversation

xFrednet
Copy link
Member

@xFrednet xFrednet commented Jun 4, 2022

I've seen some clippy.toml files, that have a few additions to the default list of a configuration and then a copy of our default. The list will therefore not be updated, when we add new names. This change should make it simple for new users to append values instead of replacing them.

I'm uncertain if the documentation of the ".." is apparent. Any suggestions are welcome. I've also check that the lint list displays the examples correctly.

Lint list screenshots

image

image


changelog: enhancement: [doc_markdown]: Users can now indicate, that the doc-valid-idents should extend the default and not replace it
changelog: enhancement: [blacklisted-name]: Users can now indicate, that the blacklisted-names should extend the default and not replace it

Closes: #8877

That's it. Have a fantastic weekend to everyone reading this. Here is a cookie 🍪

@rust-highfive
Copy link

r? @Manishearth

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jun 4, 2022
@Manishearth
Copy link
Member

@bors r+

neat!

@bors
Copy link
Collaborator

bors commented Jun 6, 2022

📌 Commit c31b4a9 has been approved by Manishearth

@bors
Copy link
Collaborator

bors commented Jun 6, 2022

⌛ Testing commit c31b4a9 with merge ad70bff...

@bors
Copy link
Collaborator

bors commented Jun 6, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: Manishearth
Pushing ad70bff to master...

@bors bors merged commit ad70bff into rust-lang:master Jun 6, 2022
@xFrednet xFrednet deleted the 8877-append-doc-idents branch July 9, 2024 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adapt doc-valid-idents config to support list expansion instead of replacement
4 participants