all_linters: Create a linter configuration based on all available linters

View source: R/with.R

all_lintersR Documentation

Create a linter configuration based on all available linters

Description

Create a linter configuration based on all available linters

Usage

all_linters(..., packages = "lintr")

Arguments

...

Arguments of elements to change. If unnamed, the argument is automatically named. If the named argument already exists in the list of linters, it is replaced by the new element. If it does not exist, it is added. If the value is NULL, the linter is removed.

packages

A character vector of packages to search for linters.

See Also

  • linters_with_defaults for basing off lintr's set of default linters.

  • linters_with_tags for basing off tags attached to linters, possibly across multiple packages.

  • available_linters to get a data frame of available linters.

  • linters for a complete list of linters available in lintr.

Examples

names(all_linters())


r-lib/lintr documentation built on Dec. 20, 2024, 7:24 p.m.