# `linters_with_defaults()` and `linters_with_tags("default")` are the same:
all.equal(linters_with_defaults(), linters_with_tags("default"))
# Get all linters useful for package development
linters <- linters_with_tags(tags = c("package_development", "style"))
names(linters)
# Get all linters tagged as "default" from lintr and mypkg
if (FALSE) {
linters_with_tags("default", packages = c("lintr", "mypkg"))
}
Run the code above in your browser using DataLab