Repository navigation
add use_lintr() - #1120
add use_lintr()#1120
Conversation
|
Based against #1117 for now, so the documentation links won't need updating. |
|
should we add this to usethis? or at least offer to |
|
They don't want it: r-lib/usethis#1580 |
MichaelChirico
left a comment
There was a problem hiding this comment.
thanks! mostly minor stuff
|
The failure on test-coverage is something I saw locally as well, but the message "produced warnings" is super unhelpful. Failure on devel is related to updates to parser error messages. Will create an issue for that. |
|
Found the test-coverage problem: |
|
oh, just noticed this merged into a branch? was that intentional @AshesITR 🤔 |
😃 |
* deprecate with_defaults -> linters_with_defaults - rename the core function to modify_defaults - add deprecation test for with_defaults() - update documentation to refer to linters_with_defaults() instead of with_defaults() where appropriate. * add use_lintr() (#1120) * add use_lintr() * document `type` * add tests, fix minor issues * normalize both paths in test * add more comments to DCF file * test type = "full" as well * reference use_lintr() in vignette and fix broken code * avoid \" * incorporate feedback * document() * reference vignette * split expect_silent() tests and prevent unintentional line breaks Co-authored-by: Michael Chirico <[email protected]> * implicit->explicit integers * tidyverse style long lines * rename `default` to `defaults` in new functions * document `default` as well Co-authored-by: Michael Chirico <[email protected]> Co-authored-by: Michael Chirico <[email protected]>
Fixes #902
Currenty, one of two minimal configuration files can be generated.
LMK what you think.