-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add large_include_file
lint
#8727
Conversation
r? @xFrednet (rust-highfive has picked a reviewer for you, use r? to override) |
275005c
to
9d4e8ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This version already looks good to me. A few small NITs that should all be simple to fix 🙃
9d4e8ca
to
a85dc87
Compare
LGTM, thank you for this lint! @bors r+ |
📌 Commit a85dc87 has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Hi folks, is this a lint that can be moved to restriction rather than pedantic? It seems similar in spirit to the restriction lints in that there is nothing inherently wrong with using include str and include bytes with large contents, but for certain cases or project types you may wish to lint. |
Moving it to the |
The lint is already restriction 🤔 |
You're right, I didn't look up what group it currently is in. 😅 |
Oh, it is in restriction. Sorry I didn't look at the code that closely. The linked ticket mentioned pedantic. Thanks folks! |
changelog: Add [
large_include_file
] lintcloses #7005