The following issues are linted by default by this linter (and each can be turned off optionally):

## Usage

paste_linter(allow_empty_sep = FALSE, allow_to_string = FALSE)

## Arguments

allow_empty_sep

Logical, default FALSE. If TRUE, usage of paste() with sep = "" is not linted.

allow_to_string

Logical, default FALSE. If TRUE, usage of paste() and paste0() with collapse = ", " is not linted.

## Details

1. Block usage of paste() with sep = "". paste0() is a faster, more concise alternative.

2. Block usage of paste() or paste0() with collapse = ", ". toString() is a direct wrapper for this, and alternatives like glue::glue_collapse() might give better messages for humans.

3. Block usage of paste0() that supplies sep= -- this is not a formal argument to paste0, and is likely to be a mistake.