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

Implement implicit_assignment_linter() #1814

Merged
merged 18 commits into from
Dec 8, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
description
  • Loading branch information
IndrajeetPatil committed Dec 8, 2022
commit 33cfc45e5a90035932028563ba1f63c1ac478e93
3 changes: 3 additions & 0 deletions R/implicit_assignment_linter.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#' Avoid implicit assignment in function calls
#'
#' Assigning inside function calls makes the code difficult to read, and should
#' be avoided, except for functions that capture side-effects (e.g. [capture.output()]).
#'
#' @examples
#' # will produce lints
#' lint(
Expand Down
3 changes: 2 additions & 1 deletion man/implicit_assignment_linter.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.